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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5945
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x645300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.0047f580
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47e4da
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x47e62f
cmp dword [ebx + 8], 0xaaaaaaa
je 0x47e645
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x28], 0
call fcn.00543bf7
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5fe160]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x5fe160]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x47e5e2
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.005a5f30
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.005a93d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x47e5c4
cmp eax, 0x200
jae 0x47e5c2
shl eax, 3
cmp eax, ecx
jae 0x47e5c4
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0047ecf0
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047f580
mov edx, dword [eax]
jmp 0x47e5e5
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x47e610
mov dword [ecx + eax*8], esi
jmp 0x47e622
cmp ebx, edx
jne 0x47e619
mov dword [ecx + eax*8], esi
jmp 0x47e626
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x47e626
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0051f220
int3
Function at 0x47ecf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x47ee4a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004736e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x47ee1d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x47eda3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x47ee13
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x47eddd
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x47edd5
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x47ee10
cmp edi, edx
je 0x47eded
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x47ee26
cmp edi, edx
jne 0x47ede1
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x47ed52
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x47ee10
push str.invalid_hash_bucket_count
call fcn.0051f220
int3
Function at 0x47f2c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x47f414
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.00543bbf
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x47f379
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x47f337
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x47f40a
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x47f38d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x47f390
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x47f40a
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x18]
and eax, dword [ebx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.00543bbf
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x47f41b
cmp esi, eax
jne 0x47f3e5
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x47f3a0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x487620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x808]
push eax
mov dword [ebp - 0x80c], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x487670
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x4876a5
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x5e1c70
mov dword [esi + 0x14], 0
call fcn.004060e0
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 8
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x80c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x80c]
test eax, eax
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [eax]
jne 0x4876f7
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x5e1c70
jmp 0x48770d
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call fcn.004160c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 8
Function at 0x490530
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6ff4
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x645300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x38
call fcn.00543bf7
mov esi, eax
mov dword [ebp + 8], esi
push 0x38
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00546d20
add esp, 0x10
mov ecx, esi
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SNativeWnd::constructor_void_]
mov ecx, edi
mov dword [esi], vtable.SOUI::SShellTrayMsgWnd.1.0
neg ecx
mov dword [esi + 4], vtable.SOUI::SShellTrayMsgWnd.0
lea eax, [edi + 0x24c]
sbb ecx, ecx
and ecx, eax
push str.TaskbarCreated
mov dword [esi + 0x30], ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5eebb0
push esi
mov dword [esi + 0x34], eax
call dword [sym.imp.soui4.dll_public_virtual:_struct_HWND______stdcall_SOUI::SNativeWnd::CreateNative_wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HWND_____int__void__]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x638]
mov dword [edi + 0x634], esi
cmp eax, dword [edi + 0x254]
jl 0x4905ef
mov dword [edi + 0x638], 0
lea ecx, [edi + 0x260]
call dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
cmp dword [edi + 0x254], 0
mov ebx, eax
jne 0x490625
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
mov ecx, dword [eax + 0xc]
add eax, 0xc
push 0
push 0
push 0x10
push str.ICON_LOGO
push eax
call dword [ecx + 0x20]
mov ecx, eax
jmp 0x490634
mov ecx, dword [edi + 0x638]
mov eax, dword [edi + 0x250]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0x634]
lea esi, [edi + 0x278]
push ebx
push 0x80
mov eax, dword [eax + 0x20]
mov dword [edi + 0x27c], eax
lea eax, [edi + 0x290]
push eax
mov dword [esi], 0x3bc
mov dword [edi + 0x280], 0x64
mov dword [edi + 0x288], 0x857
mov dword [edi + 0x284], 7
mov dword [edi + 0x28c], ecx
call fcn.005851d8
add esp, 0xc
cmp dword [esi], 0x3bc
jne 0x490699
push esi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x491670
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x49177c
test esi, esi
je 0x49177c
push 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0xc
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x424], 0
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x49177c
lea eax, [ebp - 0x484]
mov dword [ebp - 0x410], 0
push eax
mov dword [ebp - 0x484], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], eax
xor eax, eax
push edi
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x40c]
push str.cmd.exe__C__s
push eax
mov dword [ebp - 0x458], 0x101
call fcn.0049d360
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x491790
push dword [ebp - 0x418]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x414]
call esi
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0xc
push 0xffffffffffffffff
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x434]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x438]
call edi
push dword [ebp - 0x418]
call edi
push 0
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
push eax
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x414]
test eax, eax
jne 0x491812
call edi
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0xc
call edi
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0x10]
jae 0x49177c
mov ecx, dword [ebp - 8]
mov byte [esi + eax], 0
xor ecx, ebp
pop edi
mov al, 1
pop esi
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49d380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
xorps xmm0, xmm0
mov word [ebp - 0xe], ax
mov ax, word [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
movlpd qword [ebp - 0x4c], xmm0
cmp bx, ax
movlpd qword [ebp - 0x44], xmm0
mov esi, 0x8000000
movlpd qword [ebp - 0x3c], xmm0
cmovne esi, edi
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x1e], xmm0
movlpd qword [ebp - 0x16], xmm0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], ax
cmp dword [ecx + 0x10], ebx
jne 0x49d3f0
xor ecx, ecx
jmp 0x49d3f8
cmp dword [ecx + 0x14], 7
jbe 0x49d3f8
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 7
jbe 0x49d400
mov edx, dword [edx]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push ecx
push 0
push esi
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x49d443
cmp byte [ebp + 0x14], bl
je 0x49d431
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
test edi, edi
mov ecx, dword [ebp - 4]
setne al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00543bb1
mov esp, ebp
pop ebp
ret
Function at 0x4a02b0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b92c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov esi, dword [ebx + 0xc]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4a0325
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a043f
cmp dword [esi + 0x14], 7
jbe 0x4a033c
mov esi, dword [esi]
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.004635c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x4a040f
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x15c]
cmova eax, dword [ebp - 0x44]
push 3
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x160]
push eax
call fcn.00413b10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x160]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0390
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004294a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x160]
cmp eax, ecx
je 0x4a03c6
push eax
call fcn.00560701
add esp, 4
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmova eax, edx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
cmova ecx, edx
mov eax, dword [ebp - 0x1c]
cmova edi, edx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x4c], eax
cmp edi, eax
je 0x4a040c
mov esi, dword [ebp - 0x50]
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.0056463a
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x4c]
jne 0x4a03f4
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4a043f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a0435
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a0486
push ecx
push edx
call fcn.00543bbf
add esp, 8
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00560663
int3
Function at 0x543167
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00585d4d
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5431aa
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x5431aa
sub eax, 1
je 0x5431a5
sub eax, 1
je 0x5431a1
xor eax, eax
leave
ret
push 3
jmp 0x5431ac
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x544edc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x544f1b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x544f1b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x544f1b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x544f1b
cmp dword [ecx + 0x74], 0xe
jbe 0x544f1b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5817a8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.005451d0
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0058eccc
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5817ea
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x581946
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.005a8bf0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x652300]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00593286
mov ecx, dword [esi*4 + 0x652300]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x58193f
cmp eax, dword [edi + ecx + 0x24]
jne 0x58193f
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x58193f
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00593286
add esp, 0x14
test edx, edx
jl 0x58193f
jg 0x5818b5
test eax, eax
jb 0x58193f
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x58193f
jl 0x5818cf
cmp dword [ebp - 0x1008], eax
ja 0x58193f
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5818ed
test ebx, ebx
je 0x581926
cmp ecx, edi
jae 0x581926
mov al, byte [ecx]
cmp al, 0xd
jne 0x581907
lea eax, [edi - 1]
cmp ecx, eax
jae 0x581913
cmp byte [ecx + 1], 0xa
jne 0x581913
inc ecx
jmp 0x581913
movzx eax, al
movsx eax, byte [eax + 0x6455c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5818ed
cmp edx, ebx
jne 0x5818ed
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x581944
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00543bb1
leave
ret
Function at 0x5913c9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5db484
push 0x5db47c
push str.FlsAlloc
push 0x1e
call fcn.00591099
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5913fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x5ca64c]
call esi
jmp 0x591403
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x591447
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5db494
push 0x5db48c
push str.FlsGetValue
push 0x20
call fcn.00591099
mov esi, eax
add esp, 0x10
test esi, esi
je 0x59147e
push dword [ebp + 8]
mov ecx, esi
call dword [0x5ca64c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x591f71
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00591b51

Function at 0x591f7c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00591ce0