joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4074cb
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447749
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x457064]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x457064]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 7
push connect
push eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x407535
xor eax, eax
jmp 0x40761f
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x48
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.0042c4d0
mov eax, dword [0x4596a4]
add esp, 0xc
mov ecx, 0x4596a4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov edi, 0x1000
push edi
lea esi, [esp + 0x1c]
mov dword [esp + 0x94], ebx
call fcn.004071e6
mov esi, dword [esp + 0x18]
cmp dword [esi - 8], edi
mov dword [esp + 0x1c], eax
jge 0x4075b7
push 0x80070057
call fcn.00402180
push ebx
lea ecx, [esp + 0x14]
push ecx
mov dword [esi - 0xc], edi
push edi
mov byte [esi + 0x1000], bl
mov dword [esp + 0x1c], ebx
push eax
jmp 0x4075ef
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4075fd
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.00407c79
pop ecx
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push dword [esp + 0x28]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4075ce
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x24]
call fcn.00407d20
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
call fcn.00402012
xor eax, eax
inc eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0042c46d
mov esp, ebp
pop ebp
ret

Function at 0x408534
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40854e
test al, 0x10
jne 0x40854e
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a2cc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push esi
lea eax, [ebx - 1]
cmp eax, 7
push edi
mov esi, ecx
jbe 0x40a2e8
mov dword [esi + 0x6afa4], str.bad_pack_level
xor edi, edi
lea ecx, [esi + 0x6af70]
cmp dword [ecx], edi
lea eax, [esi + 0x6af78]
mov dword [eax], edi
jne 0x40a308
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0042c4d0
mov eax, ebx
shl eax, 3
movzx ecx, word [eax + 0x4508b2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x4508b0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x4508b4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x4508b6]
add esp, 0xc
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x40a36a
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x40a376
cmp ebx, 8
jl 0x40a376
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x6af90], eax
je 0x40a3de
cmp eax, 0xffffffff
je 0x40a3de
cmp eax, 0x106
mov dword [esi + 0x6af8c], edi
jae 0x40a3b6
call fcn.0040a577
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
inc edi
cmp edi, 2
mov dword [esi + 0x6af7c], eax
jb 0x40a3bc
jmp 0x40a3ee
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40a697
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x6af90], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
je 0x40a894
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x40a711
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x40a754
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x40a754
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x40a739
mov dword [eax], ecx
push dword [ebp - 4]
mov ecx, esi
call fcn.0040a3f3
mov ebx, eax
mov eax, dword [esi + 0x6af90]
add esp, 4
cmp ebx, eax
jbe 0x40a754
mov ebx, eax
cmp ebx, 3
jb 0x40a814
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.00409d3a
sub dword [esi + 0x6af90], ebx
cmp ebx, dword [esi + 0x6af98]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
ja 0x40a7e2
cmp eax, 3
jb 0x40a7e2
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x40a790
jmp 0x40a834
add dword [esi + 0x6af84], ebx
mov eax, dword [esi + 0x6af84]
lea edx, [eax + esi]
movzx ecx, byte [edx + 0x1af70]
lea eax, [esi + 0x6af7c]
mov dword [eax], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [eax], edx
jmp 0x40a83a
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.00409d3a
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x40a875
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
jl 0x40a853
lea edx, [ecx + esi + 0x1af70]
jmp 0x40a855
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.00409b4c
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x40a886
call fcn.0040a577
cmp dword [esi + 0x6af90], 0
jne 0x40a6c1
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
jl 0x40a8a7
lea edx, [ecx + esi + 0x1af70]
jmp 0x40a8a9
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.00409b4c
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x40b451
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x40b45c
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x40b50e
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
sub eax, 8
dec edi
jne 0x40b473
pop edi
test eax, eax
je 0x40b527
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x450900]
inc ecx
dec eax
jne 0x40b512
mov eax, esi
pop ebx
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x450900]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x450900]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x40b6d2
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x40b6f7
mov eax, 0x200
jmp 0x40b877
mov ecx, dword [ebp - 0x4c]
xor eax, eax
xor ebx, ebx
mov edx, ecx
inc eax
and edx, eax
mov dword [ebp - 8], ebx
je 0x40b70b
mov dword [ebp - 8], eax
test cl, 2
je 0x40b714
or dword [ebp - 8], 2
test cl, 4
je 0x40b71d
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x40b728
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x40b731
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x40b73e
or dword [ebp - 8], 0x40000000
jmp 0x40b745
or dword [ebp - 8], 0x80000000
or dword [ebp - 8], 0x1000000
cmp edx, ebx
jne 0x40b757
or dword [ebp - 8], 0x800000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x28
mov dword [ebp - 0x10], eax
jbe 0x40b7f5
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call edi
cmp word [ebp - 4], 0x54ad
jne 0x40b7f5
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x40b7f5
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x40b7ee
cmp eax, 0x454e
je 0x40b7ee
cmp eax, 0x454c
je 0x40b7ee
cmp eax, 0x4550
jne 0x40b7f5
or dword [ebp - 8], 0x400000
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40b801
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x40b80d
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x40b849
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0040b651
push dword [ebp - 0x34]
mov dword [esi], eax
push dword [ebp - 0x38]
mov dword [esi + 4], edx
call fcn.0040b651
push dword [ebp - 0x44]
mov dword [esi + 8], eax
push dword [ebp - 0x48]
mov dword [esi + 0xc], edx
call fcn.0040b651
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x40b875
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0040b675
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b89f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x40b914
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x40b8cb
cmp dword [esi + 0x40], edi
jae 0x40b8cb
push eax
call fcn.0042c47c
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x40b8e0
lea eax, [edi + edi]
push eax
call fcn.0042d164
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.0042cb00
add esp, 0xc
test edi, edi
jbe 0x40b911
lea ecx, [esi + 0x30]
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
call fcn.0040b571
mov edx, dword [esi + 0x3c]
add esp, 4
mov byte [ebx + edx], al
inc ebx
cmp ebx, edi
jb 0x40b8f6
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40b943
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x40b92f
mov dword [esi + 0x14], 0x30000
jmp 0x40b965
push edi
push edx
add eax, ecx
push eax
call fcn.0042cb00
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x40b967
mov eax, dword [esi + 4]
test eax, eax
je 0x40b95e
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x40b967
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40bba9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x84]
test ecx, ecx
push edi
je 0x40bbfa
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x40bc22
sub edi, eax
cmp edi, dword [ebp + 8]
jbe 0x40bbd1
mov edi, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.0042cb00
add esp, 0xc
add dword [esi + 0x8c], edi
mov edx, dword [esi + 0x78]
add dword [esi + 0x74], edi
mov eax, edi
mov ecx, ebx
call fcn.0040b451
mov dword [esi + 0x78], eax
mov eax, edi
jmp 0x40bc24
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x40bc1b
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40bc22
mov edi, dword [ebp + 8]
jmp 0x40bbe4
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x40c572
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x448646
call fcn.004465d1
mov eax, dword [0x4596a4]
mov edi, 0x4596a4
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00419a8f
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push str._skdumpcfg.dat
push eax
call fcn.00401e56
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00402012
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push str.tryno
push 0x4510fc
call esi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x40c622
lea ecx, [ebp - 0x18]
call fcn.00419a8f
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_ressrcchsuplive.svr
push eax
call fcn.00401e56
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00402012
push dword [ebp - 0x10]
push ebx
push str.TryNo
push str.Common
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x4596a4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0x450e5c
push eax
mov byte [ebp - 4], 3
call fcn.00401e56
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, edi
call fcn.00407939
lea eax, [edi - 0x10]
call fcn.00402012
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402012
xor eax, eax
inc eax
call fcn.004466a9
ret

Function at 0x40c7bf
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x457064]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push ebx
push esi
push edi
push 0x206
lea eax, [ebp - 0x20a]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.0042c4d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x214], eax
movzx eax, si
push eax
push 0x450e5c
mov eax, 0x104
lea edi, [ebp - 0x20c]
call fcn.0040c673
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop ecx
pop ecx
push dword [ebx]
mov eax, edi
push eax
push str.SystemDefaultUILanguage
mov ebx, str.SystemInfo
push ebx
call esi
movzx eax, word [ebp - 0x214]
push eax
push 0x450e5c
mov eax, 0x104
call fcn.0040c673
mov eax, dword [ebp - 0x210]
pop ecx
pop ecx
push dword [eax]
mov eax, edi
push eax
push str.UserDefaultUILanguage
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c46d
leave
ret
Function at 0x40c881
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x457064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x254]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x214], esi
call fcn.0042c4d0
push 0x206
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 0x258], 0x40
mov word [ebp - 0x210], di
call fcn.0042c4d0
add esp, 0x18
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x24c]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0x248]
shr ecx, 0x14
mov ecx, dword [ebp - 0x244]
shrd eax, ecx, 0x14
push eax
push str._d_MB____d_MB__free_total_
mov eax, 0x104
lea edi, [ebp - 0x210]
shr ecx, 0x14
call fcn.0040c673
add esp, 0xc
push dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, edi
push eax
push str.global_physical_memory
mov ebx, str.SystemInfo
push ebx
call esi
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0x238]
shr ecx, 0x14
mov ecx, dword [ebp - 0x234]
shrd eax, ecx, 0x14
push eax
push str._d_MB____d_MB__free_total_
mov eax, 0x104
shr ecx, 0x14
call fcn.0040c673
mov eax, dword [ebp - 0x214]
add esp, 0xc
push dword [eax]
mov eax, edi
push eax
push str.global_pageFile_memory
push ebx
call esi
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0x228]
shr ecx, 0x14
mov ecx, dword [ebp - 0x224]
shrd eax, ecx, 0x14
push eax
push str._d_MB____d_MB__free_total_
mov eax, 0x104
shr ecx, 0x14
call fcn.0040c673
mov eax, dword [ebp - 0x214]
add esp, 0xc
push dword [eax]
mov eax, edi
push eax
push str.global_virtual_memory
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c46d
leave
ret
Function at 0x40cb84
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1428
call fcn.00430720
mov eax, dword [0x457064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x428]
push eax
push 0x1000
lea eax, [ebp - 0x1428]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40ccc9
mov eax, dword [ebp - 0x428]
shr eax, 2
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], 0
je 0x40ccc9
push ebx
push esi
push edi
mov ebx, dword [ebp - 0x418]
lea ebx, [ebp + ebx*4 - 0x1428]
cmp dword [ebx], 0
je 0x40ccb4
push 5
pop ecx
push 0x1f4
lea eax, [ebp - 0x400]
push 0
mov esi, str._unknown_
lea edi, [ebp - 0x414]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042c4d0
add esp, 0xc
push dword [ebx]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x424], eax
je 0x40ccae
mov edi, 0x104
push edi
lea ecx, [ebp - 0x414]
push ecx
xor esi, esi
push esi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x40cca2
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.0042c4d0
push dword [ebx]
mov eax, edi
push str.running_process__d
lea edi, [ebp - 0x20c]
call fcn.0040c673
mov eax, dword [ebp - 0x420]
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x414]
push eax
mov eax, edi
push eax
push str.SystemInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
inc dword [ebp - 0x418]
cmp dword [ebp - 0x418], eax
jb 0x40cbe6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c46d
leave
ret 4

Function at 0x40cd32
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
je 0x40cdf4
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
je 0x40cdf4
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x40cdf4
cmp ebx, esi
je 0x40cdf4
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [edi], esi
mov dword [ecx], esi
mov dword [ebx], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x40cdf4
push eax
call fcn.0042caf2
cmp eax, esi
pop ecx
mov dword [ebp - 0x10], eax
je 0x40cdf4
push eax
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40cdeb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x44fd68
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40cdeb
cmp dword [ebp - 8], esi
jbe 0x40cde4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edi], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edx], ecx
mov dword [ebx], eax
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call fcn.0042ce65
pop ecx
mov eax, dword [ebp - 0x14]
pop esi
leave
ret
Function at 0x40e9d9
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [edi + 0xa0], ebx
push esi
jne 0x40eb0b
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40eb0b
lea esi, [edi + 0xbc]
call fcn.00407939
push ebx
push ebx
push 3
push ebx
push ebx
push 0x120089
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [edi + 0xd8], eax
je 0x40eb0b
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [edi + 0xdc], eax
je 0x40eb0b
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [edi + 0xe0], eax
je 0x40eb0b
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0xf
push eax
xor esi, esi
mov byte [ebp + 0xb], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call sub.dbghelp.dll_MiniDumpReadDumpStream
test eax, eax
je 0x40ea93
mov eax, dword [ebp - 4]
test byte [eax + 4], 1
je 0x40ea8f
mov esi, dword [eax + 8]
mov byte [ebp + 0xb], 1
cmp esi, ebx
movzx eax, byte [ebp + 0xb]
mov dword [edi + 0xa4], eax
je 0x40eaa5
mov dword [edi], esi
jmp 0x40eab2
inc dword [0x459910]
mov eax, dword [0x459910]
mov dword [edi], eax
mov eax, edi
call fcn.0040ee02
movzx eax, al
push edi
mov dword [edi + 0xa8], eax
call fcn.0040eee7
movzx eax, al
push edi
mov dword [edi + 0xb0], eax
call fcn.0040f2d6
movzx eax, al
push edi
mov dword [edi + 0xb8], eax
call fcn.0040f1e5
movzx eax, al
mov esi, edi
mov dword [edi + 0xb4], eax
call fcn.0040ee7b
movzx eax, al
mov dword [edi + 0xac], eax
mov dword [edi + 0xa0], 1
mov bl, 1
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x40ee02
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 7
push dword [esi + 0xe0]
xor bl, bl
call sub.dbghelp.dll_MiniDumpReadDumpStream
test eax, eax
je 0x40ee75
mov eax, dword [ebp - 4]
mov cx, word [eax]
mov word [esi + 4], cx
mov cl, byte [eax + 6]
mov byte [esi + 6], cl
mov cl, byte [eax + 7]
mov byte [esi + 7], cl
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0xe0]
mov eax, dword [eax + 0x18]
lea eax, [eax + ecx + 4]
add esi, 0x14
call fcn.00407939
inc bl
pop esi
mov al, bl
pop ebx
leave
ret