joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aaae0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
movzx r9d, dl
movabs r14, 0xcbf29ce484222325
xor r9, r14
movabs rsi, 0x100000001b3
imul r9, rsi
movzx eax, byte [rbp + 0x29]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2a]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2b]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2c]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2d]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2e]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2f]
xor r9, rax
imul r9, rsi
mov rcx, qword [rcx + 0x50]
and rcx, r9
shl rcx, 4
add rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 8]
mov r9, qword [rbx + 0x28]
cmp rax, r9
je 0x1400aaba1
mov rcx, qword [rcx]
cmp rdx, qword [rax + 0x10]
je 0x1400aaba3
nop
cmp rax, rcx
je 0x1400aaba1
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x1400aab90
jmp 0x1400aaba3
xor eax, eax
test rax, rax
cmove rax, r9
cmp rax, r9
je 0x1400aabf6
lea rbx, [rax + 0x18]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400aabd2
mov rdx, r8
mov rcx, rax
call fcn.14009f380
add qword [rbx + 8], 0xa8
jmp 0x1400aabdd
mov rdx, rax
mov rcx, rbx
call fcn.14009c310
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14009c310
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x30]
lea rcx, [rbx + 0x20]
call fcn.1400a8b60
mov r8, qword [rbp + 0x28]
movzx edx, r8b
xor rdx, r14
imul rdx, rsi
movzx eax, byte [rbp + 0x29]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2a]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2b]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2c]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2d]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2e]
xor rdx, rax
imul rdx, rsi
movzx eax, byte [rbp + 0x2f]
xor rdx, rax
imul rdx, rsi
mov rcx, qword [rbx + 0x50]
and rcx, rdx
shl rcx, 4
add rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 8]
cmp rax, qword [rbx + 0x28]
je 0x1400aad57
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x1400aacc3
nop dword [rax + rax]
cmp rax, rcx
je 0x1400aad57
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x1400aacb0
lea r14, [rax + 0x18]
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x1400aad49
mov rbx, rdi
mov rsi, qword [rbp - 0x18]
cmp rdi, rsi
je 0x1400aacf4
nop dword [rax]
mov rcx, rbx
call fcn.14009f920
add rbx, 0xa8
cmp rbx, rsi
jne 0x1400aace0
mov rcx, qword [rbp - 0x10]
sub rcx, rdi
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0xa8
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400aad41
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aad51
mov rcx, rdi
call fcn.140094f90
mov rax, r14
jmp 0x1400aabe0
call fcn.140071810
nop
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1400c51c4
int3
Function at 0x1400ad1b0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x1400ad264
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x1400ad266
cmp rbx, rcx
je 0x1400ad264
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x1400ad253
jmp 0x1400ad266
xor ebx, ebx
test rbx, rbx
je 0x1400ad311
mov rax, qword [rdx]
mov qword [rsp + 0x38], rdi
cmp r11, rbx
jne 0x1400ad294
cmp rax, rbx
jne 0x1400ad28a
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x1400ad29f
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x1400ad29f
cmp rax, rbx
jne 0x1400ad29f
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400ad2f4
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400ad2ef
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400ad2ef
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
mov rsi, qword [rsp + 0x30]
mov edx, 0x28
mov rcx, rbx
call fcn.140094f90
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400af8e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1400af9d7
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x1400af968
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x1400af940
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400af160
mov dword [r14], eax
test eax, eax
jne 0x1400afa02
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.1400ba790
mov dword [r14], eax
test eax, eax
jne 0x1400afa02
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400af620
test eax, eax
je 0x1400af9d7
mov ecx, dword [rsi]
test eax, ecx
jne 0x1400af9fb
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.1400b07d0
cmp al, 2
jne 0x1400af9d7
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x1400af920
mov eax, 0x1a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov eax, 0x37
jmp 0x1400af9dc
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.1400b07d0
cmp al, 2
jne 0x1400afa75
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x1400afa75
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x1400afa5d
lea rax, [rsp + 0x20]
sub r11, rax
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x1400afa33
lea rcx, [rsp + 0x20]
call fcn.1400af620
cmp eax, 0x10
jne 0x1400afa75
or dword [rsi], eax
xor eax, eax
jmp 0x1400af9dc
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1400af9dc
Function at 0x1400b1df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x1400b1e43
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x1400b1e37
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x1400b1e21
test rdi, rdi
jne 0x1400b1e6f
xor eax, eax
jmp 0x1400b1ef2
mov rdx, rcx
test r8, r8
je 0x1400b1e37
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1400b1e6a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x1400b1e50
jmp 0x1400b1e37
mov ecx, send
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x1400b1eea
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x1400b1ed9
cmp dword [rbx + 0x14], ebp
jne 0x1400b1ed9
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x1400b1eca
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140097e60
test eax, eax
je 0x1400b1ee1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400b1eb1
test rbx, rbx
je 0x1400b1eea
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc0e0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x14017f588], 0
jne 0x1400bc1c4
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.1400bb4b0
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x14017f4f0], xmm0
movaps xmmword [0x14017f500], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x14017f520], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x14017f540], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x14017f510], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x14017f530], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x14017f550], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x14017f560], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x14017f570], xmm0
movsd qword [0x14017f580], xmm1
mov dword [0x14017f588], 1
lea rax, [0x14017f4f0]
add rsp, 0xf0
pop rbp
ret

Function at 0x1400bc420
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14017f58c]
nop
test eax, eax
jne 0x1400bc487
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x14017f590], rax
mov eax, 1
xchg dword [0x14017f58c], eax
mov rax, qword [0x14017f590]
add rsp, 0x58
ret

Function at 0x1400bc600
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, r8b
mov rax, rdx
shr rax, 6
mov r10, rcx
lea rax, [rcx + rax*8]
mov r8, 0xffffffffffffffff
movzx ecx, dl
and cl, 0x3f
lea rdx, [r9 - 1]
xor rdx, qword [rax]
shl r8, cl
and r8, rdx
jne 0x1400bc63d
nop
add rax, 8
lea r8, [r9 - 1]
xor r8, qword [rax]
je 0x1400bc630
sub rax, r10
sar rax, 3
bsf rcx, r8
shl rax, 6
add rax, rcx
ret
Function at 0x1400c4784
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c4808
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140100cf0]
cmp byte [rcx + rax], 0
je 0x1400c4808
dec r8
sub rdx, 1
jne 0x1400c47ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400cad24
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14008bb8c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14008bb8c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400cae74
cmp rax, 0xffffffffffffffff
je 0x1400cae74
xor edi, edi
test rbp, rbp
jle 0x1400cae1f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400846c4
mov rbx, rax
test rax, rax
jne 0x1400cadac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400cae15
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c6e88
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140087c0c
cmp eax, 0xffffffff
je 0x1400cadf5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400cadbc
mov edx, r15d
mov ecx, r14d
call fcn.1400c6e88
jmp 0x1400cae15
cmp byte [rsi + 0x38], dil
je 0x1400cae0c
cmp dword [rsi + 0x34], 5
jne 0x1400cae0c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
cmp byte [rsi + 0x30], dil
je 0x1400cae15
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140080794
jmp 0x1400cae88
jns 0x1400cae88
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14008bb8c
cmp rax, 0xffffffffffffffff
jne 0x1400cae40
cmp byte [rsi + 0x30], dil
je 0x1400cae88
mov edi, dword [rsi + 0x2c]
jmp 0x1400cae88
mov ecx, r14d
call fcn.1400906dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400cae88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
jmp 0x1400cae88
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400cae81
mov eax, dword [rsi + 0x2c]
jmp 0x1400cae86
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14008bb8c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400caf60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400caf88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400caf88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4d0e90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d1892
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d192a
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d190e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d1902
cmp qword [rbp - 0x10], 0
je 0x2fc4d1902
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d18c8
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d192b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d1a30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d1a58
mov eax, 0
jmp 0x2fc4d1aa6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d1a81
mov eax, 0
jmp 0x2fc4d1aa6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d1aa1
mov eax, 0
jmp 0x2fc4d1aa6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d1aac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d1b2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d1b21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d1b21
mov rax, qword [rbp - 8]
jmp 0x2fc4d1b3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d1af4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14062b160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14062b2e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14062b191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062b177
add dl, dl
jne 0x14062b19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062b1fe
xor eax, eax
add dl, dl
jne 0x14062b1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062b2b5
add dl, dl
jne 0x14062b1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062b1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062b1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062b1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14062b1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062b186
mov eax, 1
add dl, dl
jne 0x14062b20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062b21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062b203
sub eax, ebx
mov ebx, 1
jne 0x14062b254
mov ecx, 1
add dl, dl
jne 0x14062b236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062b243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062b22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062b186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14062b270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062b27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062b265
cmp eax, 0x7d00
jae 0x14062b2a3
cmp eax, 0x500
jb 0x14062b29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062b186
cmp eax, 0x7f
ja 0x14062b2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062b186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14062b2da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14062b186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400032d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xdf8], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x140003311
mov r8d, 0x5b8
lea rdx, str.C:UsersSKRYDesktopLASoimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x37b1], 0
mov rbp, qword [rbx + 0xdf8]
je 0x1400034e0
movss xmm1, dword [0x1400cf9e4]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140003365
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14000335e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14000335c
je 0x14000335e
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x14000338a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003383
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003381
je 0x140003383
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x3e48]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x1400033e1
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x1400033c7
mov r8d, 0x70b
lea rdx, str.C:UsersSKRYDesktopLASoimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140003477
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x1400033a8
movsd xmm0, qword [rbp + 0xe08]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x14000341f
jne 0x14000341f
ucomiss xmm1, xmm7
jp 0x14000341f
je 0x1400034d8
mov eax, dword [rbp + 0x3e6c]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x3e6c], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x3e68]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x1400034ad
inc ecx
test r8d, r8d
je 0x140003499
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000349e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x1400033f4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.14001edc0
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret