joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a1b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5db5bc
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 0xc]
call fcn.00403b10
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00403b10
lea ecx, [esi + 0x1c]
call fcn.00403b10
lea ecx, [esi + 0x28]
call fcn.00403b10
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov byte [esp + 0x1c], 3
mov dword [esi + 4], ecx
push 0x61a670
lea ecx, [esi + 0xc]
mov dword [esi], eax
mov dword [esi + 8], edx
call fcn.00406f90
push 0x61a670
lea ecx, [esi + 0x10]
call fcn.00406f90
xor edi, edi
push 0x61a670
lea ecx, [esi + 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.00406f90
push 0x61a670
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.00406f90
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4a8940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e3208
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], edx
call fcn.004035d0
push 0xffffff
mov dword [esp + 0x48], 0
call fcn.00434460
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.004ba92d
lea ecx, [esp + 0xc]
call fcn.00403630
mov ecx, dword [esi + 0x9c]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0042edb0
mov eax, dword [esi + 0x5dc]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004345e0
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00434640
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
lea edx, [esi + 0x5bc]
mov dword [eax + 0xc], ecx
push edx
lea ecx, [esi + 0x98]
call fcn.0043c250
mov ecx, dword [esi + 0x700]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004345e0
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00434640
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00434640
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esi + 0x6e0]
push eax
lea ecx, [esi + 0x98]
call fcn.0043c250
mov ecx, dword [esi + 0x3fc]
push 1
push 0
push ecx
call fcn.00433650
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.004035a0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b6c8b
add esp, 0x40
ret 4
Function at 0x4aba40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4aba47
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4abb1d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x61d598]
add ecx, 8
sub edx, 8
dec esi
jne 0x4aba60
pop edi
test edx, edx
je 0x4abb3a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x61d598]
inc ecx
dec edx
jne 0x4abb21
not eax
pop esi
ret

Function at 0x4abb40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x61d598]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x61d598]
mov dword [edx + 8], ecx
ret
Function at 0x4ace50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
cmp ebp, ebx
jne 0x4ace6a
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [ebp + 0x18], ebx
je 0x4ace5f
cmp dword [ebp + 0x7c], ebx
je 0x4ace7d
mov ebx, ebp
call fcn.004ad210
xor ebx, ebx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.004acc80
add esp, 0x10
test eax, eax
je 0x4acea4
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.005b77c8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4acee5
push 0x4000
call fcn.005b77c8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x4acef1
push esi
call fcn.005b785c
add esp, 4
pop esi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [ebp + 0x3c]
xor eax, eax
cmp dword [ebp + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [ebp + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [ebp]
mov dword [esi + 0x60], ecx
mov edx, dword [ebp + 0xc]
push edi
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x4acf3b
lea edi, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004abdc0
test eax, eax
jne 0x4acf3b
mov dword [esi + 0x40], 1
mov eax, dword [ebp + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [ebp + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [ebp + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [ebp + 0x30]
shr eax, 3
test al, 1
je 0x4acf65
mov cl, byte [ebp + 0x39]
mov byte [esi + 0x80], cl
jmp 0x4acf6e
mov dl, byte [ebp + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
mov edi, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp edi, ebx
je 0x4acfae
jmp 0x4acfa0
mov cl, byte [edi]
cmp cl, bl
je 0x4acfae
call fcn.004abb40
inc edi
jne 0x4acfa0
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
pop edi
mov dword [ebp + 0x7c], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4aeef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dc608
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
mov edi, ecx
call fcn.00411f00
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.004af4f0
add esp, 8
test al, al
jne 0x4aef5e
lea edi, [esp + 0x10]
call fcn.00406490
xor al, al
jmp 0x4aef84
mov ecx, dword [esi]
push ebp
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov edx, ebx
call fcn.004af790
add esp, 0xc
lea edi, [esp + 0x10]
test al, al
je 0x4aef55
call fcn.00406490
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005b6c8b
add esp, 0x30
ret
Function at 0x4afa50
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x5e2fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebp
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x58]
mov edi, 1
mov eax, edi
mov byte [esp + 0x13], 0
call fcn.004af060
push eax
push 0x62ffb4
lea ecx, [esp + 0x1c]
call fcn.00419700
add esp, 4
mov ecx, eax
mov dword [esp + 0x54], 0
call fcn.0040a620
sub esp, 0x1c
mov esi, eax
mov eax, esp
mov dword [esp + 0x3c], esp
call fcn.004069b0
mov ecx, edi
mov esi, ebp
call fcn.004aedf0
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call fcn.0040a610
cmp byte [ebp], 0
je 0x4afbd2
push 0x62ff14
lea ecx, [esp + 0x18]
call fcn.00419700
mov esi, eax
mov dword [esp + 0x54], edi
push 0
lea edi, [esp + 0x30]
call fcn.004af080
add esp, 8
mov edi, eax
push 0x4883000
mov ecx, esi
mov byte [esp + 0x54], 2
call fcn.0040a620
push eax
push 0x62663c
mov eax, edi
call fcn.00408c50
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0042df30
add esp, 0x14
lea edi, [esp + 0x28]
mov esi, eax
call fcn.00406490
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call fcn.0040a610
test esi, esi
je 0x4afbc9
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edi, 4
push esi
mov dword [esp + 0x30], edi
call fcn.0042dfa0
or dword [esp + 0x24], 0x180
lea eax, [esp + 0x24]
push eax
push 0x1f
push esi
call fcn.0042de60
push 0
push 0
push 0
push 0
push esi
call fcn.0042ddf0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x50]
push edx
push 0x20000013
push esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], edi
call fcn.0042d5f0
add esp, 0x3c
cmp dword [esp + 0x20], 0xc8
jne 0x4afbc9
mov byte [esp + 0x13], 1
push esi
call fcn.0042d660
add esp, 4
mov esi, ebp
call fcn.004aeec0
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005b6c8b
add esp, 0x44
ret 4

Function at 0x4afe20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5debb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x24], 1
xor esi, esi
push 0x20019
lea eax, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.00408c50
push eax
push SysReAllocString
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x4afea6
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x50]
mov dword [esp + 0x20], 4
call fcn.00408c50
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042d4e0
add esp, 0x14
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00431490
mov esi, dword [esp + 0x14]
add esp, 4
lea edi, [esp + 0x28]
call fcn.00406490
lea edi, [esp + 0x44]
call fcn.00406490
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4b99db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004c3a82
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4b9a14
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004b9618
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4c1a0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4c1a51
call fcn.004c3a82
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c1a51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4c1a6d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004c150a
mov esi, eax
test edi, edi
je 0x4c1a6b
test ebx, ebx
je 0x4c1a6b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c2901
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5d1299
call fcn.005ba88f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4c2926
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4c2978
call fcn.004b81f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00403ad0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005b76fb
push eax
call fcn.00406ac0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403b30
mov eax, esi
call fcn.005ba967
ret 8

Function at 0x4c3e61
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.004c3b05
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c3eab
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0049af60
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408630
jmp 0x4c3eb6
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004cc92d
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4c3ebc
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.004c21ef
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c3ef9
call fcn.004c3b05
mov dword [esi + 0xc], 1
jmp 0x4c3efe
call fcn.004c3b05
cmp dword [esi], 0
je 0x4c3f47
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4c3f1f
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0049af60
jmp 0x4c3f31
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004039c0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408630
jmp 0x4c3f6b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c3f6b
push dword [esi]
push dword [ebp + 8]
call fcn.004cc92d
pop esi
pop ebp
ret 0xc

Function at 0x4c6d85
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x65fde0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4c6dca
push 0x5f3268
push 4
push eax
call fcn.005b7eaf
push eax
call fcn.00406ac0
add esp, 0x10
jmp 0x4c6de0
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c6e60
push edi
call fcn.005baa27
mov edi, dword [eax]
call fcn.005baa27
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005b87aa
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005baa27
cmp dword [eax], 0
je 0x4c6e34
call fcn.005baa27
push dword [eax]
call fcn.004b88b2
pop ecx
jmp 0x4c6e3b
call fcn.005baa27
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4c6e60
cmp dword [ebp - 0x234], esi
jae 0x4c6e60
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4c6e62
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b6c8b
leave
ret
Function at 0x4c7307
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x65fde0]
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.004bcefc
pop ecx
cmp eax, esi
je 0x4c73f1
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4c73f1
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.005baaa0
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 0x4c73f1
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4c73f1
cmp esi, 0x14
jge 0x4c73f1
push 0x10
push 0
push edi
call fcn.005bc883
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4c73e0
call fcn.005baa27
cmp dword [eax], 0x22
je 0x4c73e0
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.005ba403
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4c73b6
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 [0x6630fc], 0
jne 0x4c747c
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4c74a5
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004c6d85
pop ecx
pop ecx
test eax, eax
jne 0x4c74a7
inc edi
cmp edi, esi
jl 0x4c7482
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b6c8b
leave
ret 8
Function at 0x4c8141
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 0x4c8189
call fcn.004c3a82
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c8189
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4c81cc
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 0x4c81b5
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 0x4c81b5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4c81c9
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 0x4cf209
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x65fde0]
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 0x4cf23e
xor eax, eax
jmp 0x4cf291
lea eax, [ebp - 0x210]
push eax
call fcn.005ba403
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4cf26f
push 0x61abd0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005ba088
add esp, 0xc
test eax, eax
jne 0x4cf23a
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005ba088
add esp, 0xc
test eax, eax
jne 0x4cf23a
lea eax, [ebp - 0x210]
push eax
call fcn.004bcefc
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b6c8b
leave
ret
Function at 0x4de134
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00517059
call fcn.004c349f
cmp dword [eax + 0x14], 0
jne 0x4de151
mov ecx, esi
pop esi
jmp fcn.004ddc39
pop esi
ret

Function at 0x4e18e3
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0056ee3c
call fcn.004c349f
cmp dword [eax + 0x14], 0
jne 0x4e1900
mov ecx, esi
pop esi
jmp fcn.004e12b6
pop esi
ret

Function at 0x51aabb
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 0x51aad5
call fcn.004c3a82
mov esi, dword [eax + 0xc]
push dword [0x664da8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x51aaf3
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 0x51aaeb
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x51ab20
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x51aaed
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0051a9e9
mov esi, eax
jmp 0x51ab12

Function at 0x59c80b
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 0x59c823
mov edi, dword [esi + 0xc]
jmp 0x59c863
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x59c83c
call fcn.004b9e31
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x59c851
call fcn.004b9e31
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x59c863
call fcn.004b9e31
call fcn.004c3a82
cmp dword [eax + 0x3c], 0
je 0x59c878
push edi
mov ecx, ebx
call fcn.0059b635
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0059c725
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x59c896
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x59c8a2
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 0x5b6c8b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65fde0]
jne 0x5b6c95
repz ret
jmp fcn.005bf1c3