joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4287a0
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x59bad0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00422d8a
pop ecx
cmp eax, esi
je 0x42888a
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x42888a
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0051f1a0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x42888a
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x42888a
cmp esi, 0x14
jge 0x42888a
push 0x10
push 0
push edi
call fcn.00520a08
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x428879
call fcn.0051f09e
cmp dword [eax], 0x22
je 0x428879
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0051e70e
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x42884f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x59f1ac], 0
jne 0x428915
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x42893e
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004286b0
pop ecx
pop ecx
test eax, eax
jne 0x428940
inc edi
cmp edi, esi
jl 0x42891b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051c462
leave
ret 8

Function at 0x42c367
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042bf7b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42c3b1
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00425b2e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041b810
jmp 0x42c3bc
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042f4db
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42c3c2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041deee
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42c3ff
call fcn.0042bf7b
mov dword [esi + 0xc], 1
jmp 0x42c404
call fcn.0042bf7b
cmp dword [esi], 0
je 0x42c44d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x42c425
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00425b2e
jmp 0x42c437
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004045d0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041b810
jmp 0x42c471
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42c471
push dword [esi]
push dword [ebp + 8]
call fcn.0042f4db
pop esi
pop ebp
ret 0xc

Function at 0x43e6f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43e73b
call fcn.0042e79f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43e73b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43e77e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43e767
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43e767
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x43e77b
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x440ffd
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x59bad0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x441032
xor eax, eax
jmp 0x441085
lea eax, [ebp - 0x210]
push eax
call fcn.0051e70e
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x441063
push 0x54f1f4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00522d9c
add esp, 0xc
test eax, eax
jne 0x44102e
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00522d9c
add esp, 0xc
test eax, eax
jne 0x44102e
lea eax, [ebp - 0x210]
push eax
call fcn.00422e10
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051c462
leave
ret
Function at 0x484bc1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x484bdb
call fcn.0042e79f
mov esi, dword [eax + 0xc]
push dword [0x5a0e94]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x484bf9
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x484bf1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x484c26
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x484bf3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00484aef
mov esi, eax
jmp 0x484c18

Function at 0x4fb638
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00425f1e
call fcn.004079e0
cmp eax, esi
pop esi
jne 0x4fb654
mov ecx, 0x59f540
jmp fcn.00441c89
ret

Function at 0x5041c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5041dc
mov edi, dword [esi + 0xc]
jmp 0x50421c
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5041f5
call fcn.0041ed25
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x50420a
call fcn.0041ed25
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x50421c
call fcn.0041ed25
call fcn.0042e79f
cmp dword [eax + 0x3c], 0
je 0x504231
push edi
mov ecx, ebx
call fcn.00503082
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005040de
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x50424f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x50425b
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51c462
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x59bad0]
jne 0x51c46c
repz ret
jmp fcn.005246e4
Function at 0x532d3e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59bad0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0052860a
and dword [ebp - 0x14], 0
cmp dword [0x5a38f4], 0
mov dword [ebp - 0x18], eax
jne 0x532df1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x532e99
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x532e99
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5715b8
push ebx
mov dword [0x5a38f4], eax
call edi
push eax
call esi
push 0x5715a4
push ebx
mov dword [0x5a38f8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5a38fc], eax
call edi
push eax
call esi
mov dword [0x5a3904], eax
test eax, eax
je 0x532df1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5a3900], eax
mov eax, dword [0x5a3900]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x532e4a
cmp dword [0x5a3904], ecx
je 0x532e4a
push eax
call esi
push dword [0x5a3904]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x532e4a
test ebx, ebx
je 0x532e4a
call edi
test eax, eax
je 0x532e41
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x532e41
test byte [ebp - 8], 1
jne 0x532e4a
or dword [ebp + 0x10], 0x200000
jmp 0x532e7d
mov eax, dword [0x5a38f8]
cmp eax, dword [ebp - 0x18]
je 0x532e7d
push eax
call esi
test eax, eax
je 0x532e7d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x532e7d
mov eax, dword [0x5a38fc]
cmp eax, dword [ebp - 0x18]
je 0x532e7d
push eax
call esi
test eax, eax
je 0x532e7d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5a38f4]
call esi
test eax, eax
je 0x532e99
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x532e9b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051c462
leave
ret
Function at 0x5cc760
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8117
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 0x10]
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebx + 0x68]
mov dword [ebx], 0x5f0030
mov dword [esi], 0x698238
call fcn.005cd010
mov dword [ebp - 4], 0
lea edi, [ebx + 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 0x18]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.005cd280
mov eax, dword [esi]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov dword [ebp - 4], 5
mov eax, dword [ebx]
mov dword [ebp - 0x18], edi
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov ecx, ebx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
add edi, 0x28
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [ecx + 0x44], 0
mov dword [edi], 0
mov dword [ecx + 0x48], 0
call fcn.005d40eb
mov esi, eax
push 1
mov byte [ebp - 4], 6
call fcn.005d3859
add esp, 8
mov dword [esi + 4], eax
mov eax, ebx
lea ecx, [eax + 0x2c]
lea edx, [eax + 0x20]
mov dword [eax + 0x4c], esi
lea esi, [eax + 0x1c]
mov dword [eax + 0x24], esi
mov esi, ebx
mov dword [eax + 0x34], ecx
lea ebx, [esi + 0x3c]
mov dword [eax + 0x28], edx
lea eax, [esi + 0x30]
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edi
mov esi, dword [ebp - 0x18]
mov dword [edx], 0
mov dword [eax], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov dword [ebx], 0
pop edi
pop esi
mov dword [ecx + 0x18], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d4b7a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5d4bb9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5d4bb9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5d4bb9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5d4bb9
cmp dword [ecx + 0x74], 0xe
jbe 0x5d4bb9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5dde3c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ec3a0
push 0x5ec398
push str.FlsAlloc
push 0x1f
call fcn.005ddd04
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5dde70
push dword [ebp + 8]
mov ecx, esi
call dword [0x5e9214]
call esi
jmp 0x5dde76
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5ddeba
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ec3b0
push 0x5ec3a8
push str.FlsGetValue
push 0x21
call fcn.005ddd04
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ddef1
push dword [ebp + 8]
mov ecx, esi
call dword [0x5e9214]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5ddef9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ec3b8
push 0x5ec3b0
push str.FlsSetValue
push 0x22
call fcn.005ddd04
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5ddf33
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5e9214]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5e1492
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x5e152f
push ebx
push esi
call fcn.005e145b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.005e01fb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5e14dc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5e152e
push edi
push eax
call fcn.005dd172
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5e14fc
call fcn.005dd1c0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5e152d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005e01fb
add esp, 0x20
test eax, eax
jne 0x5e151b
push edi
call fcn.005dd1c0
jmp 0x5e1523
push ebx
call fcn.005dd1c0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5e3c9f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.005dd584
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5e3d0e
cmp esi, dword [ebp - 4]
je 0x5e3d09
cmp dword [ebp + 0xc], 0
je 0x5e3d09
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5e3ce6
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.005e37f1
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x5e3d10
xor eax, eax
inc eax
jmp 0x5e3d10
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x5e3d75
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x770040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.005dd584
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.005dd584
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x5e3dec
cmp word [ecx], dx
je 0x5e3dec
mov eax, dword [0x5ec9fc]
push edi
dec eax
push eax
push 0x5ec8e8
call fcn.005e3d14
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x5e3e5f
cmp word [eax], dx
je 0x5e3e5f
mov eax, dword [edi]
test eax, eax
je 0x5e3e10
cmp word [eax], dx
je 0x5e3e10
lea eax, [ebp - 0x10]
push eax
call fcn.005e36f7
jmp 0x5e3e19
lea eax, [ebp - 0x10]
push eax
call fcn.005e3792
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x5e3e89
mov eax, dword [0x5ec8e4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5ec5d8
call fcn.005e3d14
add esp, 0xc
test al, al
je 0x5e3e89
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x5e3e54
cmp word [eax], di
je 0x5e3e54
lea eax, [ebp - 0x10]
push eax
call fcn.005e36f7
pop ecx
jmp 0x5e3e8b
lea eax, [ebp - 0x10]
push eax
call fcn.005e3792
jmp 0x5e3e51
mov eax, dword [edi]
test eax, eax
je 0x5e3e76
cmp word [eax], dx
je 0x5e3e76
lea eax, [ebp - 0x10]
push eax
call fcn.005e36ac
pop ecx
jmp 0x5e3e89
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x5e3f54
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.005e3b99
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x5e3f54
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x5e3f54
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x5e3f54
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5e3ee1
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.005de039
test ebx, ebx
je 0x5e3f4f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.005de039
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5e3f54
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5e3f54
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.005e6022
add esp, 0x10
xor eax, eax
inc eax
jmp 0x5e3f56
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005d45f1
leave
ret
Function at 0x5e7c30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5e7c5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5e7c5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5e7d90
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
sub esp, 0x40
lea eax, [esp]
mov ecx, 0x40
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5e7da0
mov eax, dword [esp + 0x44]
lea edx, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
mov ebx, esi
shr ebx, 2
push edi
mov edi, ebx
test edi, edi
je 0x5e7dd4
mov ecx, dword [eax]
add eax, 4
mov dword [edx], ecx
add edx, 4
sub edi, 1
jne 0x5e7dc5
mov edi, esi
and edi, 3
je 0x5e7dee
sub edx, eax
nop dword [eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
sub edi, 1
jne 0x5e7de0
xor edx, edx
test esi, esi
jle 0x5e7e0b
mov cl, byte [esp + edx + 0x10]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x5e7e06
add cl, 0x20
mov byte [esp + edx + 0x10], cl
inc edx
cmp edx, esi
jl 0x5e7df4
mov edi, dword [esp + 0x5c]
mov ebp, esi
lea edx, [esp + 0x10]
cmp esi, 4
jl 0x5e7e44
mov eax, ebx
neg eax
lea esi, [esi + eax*4]
imul ecx, dword [edx], 0x5bd1e995
add edx, 4
imul edi, edi, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor edi, ecx
sub ebx, 1
jne 0x5e7e21
xor ecx, ecx
sub esi, 1
je 0x5e7e65
sub esi, 1
je 0x5e7e5c
sub esi, 1
jne 0x5e7e6a
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul edx, ebp, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, edi, 0x5bd1e995
pop edi
pop esi
pop ebp
pop ebx
xor ecx, eax
mov eax, edx
shr eax, 0x18
xor eax, edx
imul ecx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor ecx, eax
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0x40
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1cb61e6d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x65d255c2
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219