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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 8
pop esi
mov ebp, dword [edi]
test ebp, ebp
je 0x242261b
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x242261b
cmp ebx, esi
jb 0x242261b
cmp ebx, 0x10
jb 0x242261b
mov ecx, dword [esi + ebp]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
lea eax, [edx + 0xc]
add eax, esi
cmp eax, ebx
ja 0x242261b
cmp dword [esi + ebp + 4], 0x54414449
je 0x2422626
mov esi, eax
lea eax, [esi + 8]
cmp eax, ebx
jbe 0x24225d8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esi + ebp]
cmp edx, 5
jb 0x242261b
mov ebp, dword [ecx + 8]
sub edx, 4
add ecx, 0xc
mov al, byte [ecx]
movzx esi, al
cmp esi, edx
ja 0x242261b
test al, al
jne 0x242265d
mov eax, dword [edi + 8]
test eax, eax
je 0x242261b
mov esi, dword [edi + 0xc]
test esi, esi
je 0x242261b
mov dword [esp + 0x10], eax
dec edx
mov dword [esp + 0x14], esi
jmp 0x2422678
lea eax, [ecx + 1]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
lea eax, [esi + 1]
cmp edx, eax
jb 0x242261b
or eax, 0xffffffff
sub eax, esi
add edx, eax
add ecx, esi
and dword [esp + 0x20], 0
lea eax, [ecx + 1]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.02421aed
test eax, eax
je 0x242261b
mov esi, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov ebx, 0x811c9dc5
test esi, esi
je 0x24226b9
movzx eax, byte [edx + ecx]
xor eax, ebx
imul ebx, eax, 0x1000193
inc edx
cmp edx, esi
jb 0x24226a8
cmp ebx, ebp
je 0x24226d8
test ecx, ecx
je 0x24226d1
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x242261e
xor eax, eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], esi
inc eax
jmp 0x242261e

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ecx
lea ecx, [ebp - 0xc]
call fcn.00401090
push 0x63
call fcn.00403051
add esp, 4
push 0x63
push eax
push 0x40
push 0x3000
push 0x63
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push eax
call fcn.0040bbb0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test ecx, ecx
je 0x40106c
mov eax, dword [ebp - 4]
sub eax, ecx
cmp eax, 0x1000
jb 0x401063
test cl, 0x1f
jne 0x401072
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x401077
sub ecx, eax
cmp ecx, 4
jb 0x40107c
cmp ecx, 0x23
ja 0x401081
mov ecx, eax
push ecx
call fcn.00401172
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
call fcn.00403001
call fcn.00403001
call fcn.00403001
call fcn.00403001
int3

Function at 0x405cac
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040596c
Function at 0x418840
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x41888b
jmp 0x418860
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x41888b
add esi, 4
cmp esi, ebx
jne 0x418860
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a310c
mov esp, ebp
pop ebp
ret

Function at 0x419220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6cae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d9320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00419550
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00419550
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x419334
test dl, 0x10
jne 0x419334
mov eax, 1
jmp 0x419336
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.004193d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x41fd20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x41fd51
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x41fd40
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x423880
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a766b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00417210
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x4238d9
cmp eax, 0x6f
jne 0x423908
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x423908
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x423926
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a310c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x423940
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x42395c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x423a6b
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4bb394
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x423a01
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4239f2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407be0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00423aa0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x423a8e
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x423a6b
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x423940
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x42390a
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x425330
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42547a
test edx, edx
jle 0x42547a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00424a30
lea ecx, [ebp - 0x94]
call fcn.00424b00
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00424bd0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4253d8
mov eax, dword [esi]
jmp 0x4253da
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x425427
cmp ecx, 0x10
jb 0x4253ea
mov edx, dword [esi]
jmp 0x4253ec
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x425427
cmp ecx, 0x10
jb 0x425401
mov ecx, dword [esi]
jmp 0x425403
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0041fe00
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a310c
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x425438
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.0041ff50
cmp dword [esi + 0x14], 0x10
jb 0x425442
mov eax, dword [esi]
jmp 0x425444
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x425462
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a310c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004a310c
mov esp, ebp
pop ebp
ret
Function at 0x4261a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a77a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d9320]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4d9320]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x4262d1
cmp byte [esi + 0x45], 0
je 0x4262d1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x426200
xor al, al
jmp 0x4262d3
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00426050
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x426258
dec eax
je 0x42625c
sub eax, 2
je 0x4262b7
xor bl, bl
jmp 0x4262b9
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x426294
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x426254
cmp byte [esi + 0x45], 0
je 0x4262b7
test edi, edi
lea edi, [esi + 0x48]
jne 0x426217
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.004260f0
jmp 0x426214
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4262cd
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x4262d3
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a310c
mov esp, ebp
pop ebp
ret
Function at 0x4264d0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a77ec
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x4d9320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
sar esi, 0x10
push edi
and esi, 0xfff
call ebx
test eax, eax
jne 0x426525
push 1
push esi
call ebx
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xorps xmm0, xmm0
push 0x10
movq qword [ebp - 0x14], xmm0
call esi
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
test ax, ax
mov edx, 4
push 0x11
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
mov edx, 2
test ax, ax
push 0x12
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
test ax, ax
sets cl
or ebx, ecx
cmp edi, 0x10
je 0x4265a5
cmp edi, 0x11
je 0x4265a5
cmp edi, 0x12
je 0x4265a5
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.004265e0
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x18], 1
call fcn.00459f20
test al, al
jne 0x4265a5
mov word [ebp - 0x10], di
jmp 0x4265ab
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x4265c3
lea ecx, [ebp - 0xa0]
call fcn.00459550
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ufile::applicationDir_void_]
add esp, 4
push 0xd
push 0x4bb694
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.00420730
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4bb6e8
push str.overlapX
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x427355
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a310c
mov esp, ebp
pop ebp
ret

Function at 0x427370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ufile::applicationDir_void_]
add esp, 4
push 0xd
push 0x4bb694
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.00420730
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4bb6e8
push str.overlapY
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x427445
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a310c
mov esp, ebp
pop ebp
ret
Function at 0x433bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a9218
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4d9320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4b854c
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00407be0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x3c]
push eax
push 0xffffffffffffffff
call fcn.00431ea0
cmp dword [esp + 0x20], 8
jb 0x433c4d
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438790
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor ebx, ebx
movq qword [ebp - 0x1c], xmm0
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
xor edx, edx
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
mov dword [ebp - 0x40], edx
test eax, eax
je 0x43893a
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
lea esp, [esp]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x50]
mov eax, dword [eax + 0x54]
sub eax, ecx
sar eax, 2
cmp eax, edx
jbe 0x438958
push dword [ecx + edx*4]
lea eax, [ebp - 0x34]
push eax
call fcn.00454b40
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x438855
cmp dword [ebp - 0x20], 8
jb 0x4388f0
push dword [ebp - 0x34]
call edi
add esp, 4
jmp 0x4388f0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 0
push ecx
push eax
mov dword [ebp - 0x44], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x48]
push eax
push 0x456e00
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x20], 8
mov edi, dword [ebp - 0x48]
jb 0x438892
push dword [ebp - 0x34]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4388ea
lea eax, [ebp - 0x38]
cmp eax, esi
jae 0x4388ca
cmp ebx, eax
ja 0x4388ca
mov edi, eax
sub edi, ebx
sar edi, 2
cmp esi, dword [ebp - 0x14]
jne 0x4388bf
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004297c0
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x4388e4
mov eax, dword [ebx + edi*4]
mov dword [esi], eax
jmp 0x4388e4
cmp esi, dword [ebp - 0x14]
jne 0x4388de
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004297c0
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x4388e4
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x18], esi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
inc edx
mov dword [ebp - 0x40], edx
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
cmp edx, eax
jb 0x438800
cmp ebx, esi
je 0x438930
push dword [ebp + 0x14]
mov ecx, dword [ecx + 0x44]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x28]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00437aa0
add esp, 0x10
test ebx, ebx
je 0x43893a
push ebx
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a310c
mov esp, ebp
pop ebp
ret 0x10
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3
Function at 0x43a420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a9218
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4d9320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4b854c
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00407be0
mov dword [esp + 0x30], 0
lea edx, [esp + 0xc]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esp + 0x20], 8
jb 0x43a4a2
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43eee0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x4ea060], ecx
inc eax
cmp eax, 0x100
jb 0x43eee3
cmp eax, 0x800
jae 0x43efb3
nop
mov edx, dword [eax*4 + 0x4e9c60]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4ea060]
mov dword [eax*4 + 0x4ea060], edx
inc eax
cmp eax, 0x800
jb 0x43ef90
mov dword [0x4ec060], 0x440b20
mov dword [0x4ea04c], 0x440b20
mov dword [0x4ec064], 0x440bc0
call fcn.00440dd0
mov ecx, dword [0x4ea04c]
test eax, eax
mov edx, 0x440bc0
cmove ecx, edx
mov dword [0x4ea04c], ecx
pop ecx
ret