joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411940
Capabilities:
Hash data with md5
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1084
call fcn.00439ea0
mov eax, dword [0x468400]
xor eax, esp
mov dword [esp + 0x107c], eax
push ebx
push ebp
push esi
push edi
push 2
mov edi, edx
push 0
push edi
mov ebx, ecx
mov dword [esp + 0x24], edi
call fcn.00437470
push edi
call fcn.00437378
push 0
mov esi, eax
push ebx
push edi
sub esi, ebx
call fcn.00437470
xor ebx, ebx
add esp, 0x1c
cmp esi, 0x1000
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jle 0x411ac1
lea eax, [esi - 0x1001]
shr eax, 0xc
inc eax
mov dword [esp + 0x14], eax
imul eax, eax, 0xfffff000
add esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4119e0
push edi
push 1
lea eax, [esp + 0x90]
push 0x1000
push eax
call fcn.00437141
mov esi, ebx
shr esi, 3
add ebx, 0x8000
add esp, 0x10
and esi, 0x3f
lea ebp, [esp + 0x88]
mov edi, 0x1000
mov dword [esp + 0x20], ebx
cmp ebx, 0x8000
jae 0x411a22
inc dword [esp + 0x24]
test esi, esi
je 0x411a76
lea ecx, [esi + 0x1000]
cmp ecx, 0x40
jbe 0x411a3a
mov ebx, 0x40
sub ebx, esi
jmp 0x411a3c
mov ebx, edi
push ebx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + esi + 0x40]
push eax
call fcn.00441a00
lea ecx, [ebx + esi]
add esp, 0xc
cmp ecx, 0x40
jb 0x411aaa
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
lea ebp, [esp + ebx + 0x8c]
sub edi, ebx
call fcn.00408e00
cmp edi, 0x40
jb 0x411a97
mov esi, edi
shr esi, 6
jmp 0x411a80
lea eax, [esp + 0x20]
push eax
mov eax, ebp
call fcn.00408e00
add ebp, 0x40
sub edi, 0x40
sub esi, 1
jne 0x411a80
test edi, edi
je 0x411aaa
push edi
lea ecx, [esp + 0x3c]
push ebp
push ecx
call fcn.00441a00
add esp, 0xc
sub dword [esp + 0x14], 1
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
jne 0x4119e0
mov esi, dword [esp + 0x1c]
push edi
push 1
lea edx, [esp + 0x90]
push esi
push edx
call fcn.00437141
add esp, 0x10
test esi, esi
jbe 0x411afb
shr ebx, 3
and ebx, 0x3f
push ebx
push esi
lea ecx, [esp + 0x28]
push ecx
lea eax, [esi*8]
mov ecx, esi
lea edx, [esp + 0x94]
call fcn.00409550
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x24]
call fcn.004095f0
lea esi, [esp + 0x78]
call fcn.00409760
push edi
call fcn.004375bd
mov ecx, dword [esp + 0x1090]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x46d3f8
call fcn.00436724
add esp, 0x1084
ret

Function at 0x411c60
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareShangyooXGAME
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x411c8d
xor al, al
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411c92
mov ecx, dword [esp]
push ebx
sub eax, edx
push eax
push esi
push 1
push 0
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
test eax, eax
push edx
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop ecx
ret
Function at 0x411cd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareShangyooXGAME
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x411d01
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push ebx
lea ecx, [esp + 8]
push ecx
push 0x46c7f8
push 0
push 0
push str.Path
push edx
mov dword [esp + 0x20], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 4]
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
neg eax
sbb eax, eax
and eax, 0x46c7f8
pop ebx
add esp, 8
ret
Function at 0x4171d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor ecx, ecx
cmp ebx, ecx
push ebp
push edi
je 0x4171df
mov dword [ebx], ecx
mov edi, dword [esp + 0x14]
cmp edi, ecx
je 0x417390
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov dword [edi + 0x13c4], ecx
je 0x417390
mov ebp, dword [esp + 0x1c]
cmp ebp, ecx
jl 0x417390
cmp byte [edi + 0x1390], cl
je 0x41722d
cmp ebx, ecx
je 0x41721b
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0x10
cmp ebp, ecx
jne 0x417245
cmp ebx, ecx
je 0x417237
mov dword [ebx], ecx
mov dword [edi + 0x13c4], ecx
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0x10
mov dword [edi + 0x13a4], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 0x13a8], ebp
call fcn.0043942b
add esp, 4
test eax, eax
jne 0x417300
cmp dword [edi + 0x1398], 0
jne 0x4172b3
mov esi, dword [edi]
call fcn.00416e00
test al, al
jne 0x4172b3
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.00437141
mov edx, dword [edi]
push edx
mov ebp, eax
call fcn.0043942b
add esp, 0x14
test eax, eax
jne 0x417300
mov dword [edi + 0x138c], ebp
mov dword [edi + 0x1398], ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 0x1394], esi
lea eax, [edi + 0x1394]
push eax
call fcn.00417060
test eax, eax
jne 0x41731d
mov esi, dword [edi]
call fcn.00416e00
test al, al
je 0x4172e0
cmp dword [edi + 0x1398], 0
jne 0x4172e0
cmp dword [edi + 0x13a8], 0
ja 0x417356
cmp dword [edi + 0x13a8], 0
je 0x417373
mov ecx, dword [edi]
push ecx
call fcn.0043942b
add esp, 4
test eax, eax
je 0x417265
test ebx, ebx
je 0x41730a
mov dword [ebx], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0x10
cmp eax, 4
jne 0x417341
test ebx, ebx
je 0x417328
mov dword [ebx], eax
mov eax, ebp
sub eax, dword [edi + 0x13a8]
pop esi
mov dword [edi + 0x13c4], 4
pop edi
pop ebp
pop ebx
ret 0x10
test ebx, ebx
je 0x417347
mov dword [ebx], eax
pop esi
mov dword [edi + 0x13c4], eax
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0x10
test ebx, ebx
je 0x417360
mov dword [ebx], 0xfffffff9
pop esi
mov dword [edi + 0x13c4], 0xfffffff9
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0x10
test ebx, ebx
je 0x41737d
mov dword [ebx], 0
pop esi
mov dword [edi + 0x13c4], 0
pop edi
mov eax, ebp
pop ebp
pop ebx
ret 0x10
cmp ebx, ecx
je 0x41739a
mov dword [ebx], 0xfffffffe
cmp edi, ecx
je 0x4173a8
mov dword [edi + 0x13c4], 0xfffffffe
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x41c11f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41c143
cmp dword [edi + 0x54], 0
jne 0x41c143
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041ce0f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041c0e0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4225ab
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 0x4225f2
call fcn.0041ce0f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4225f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42260e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00422125
mov esi, eax
test edi, edi
je 0x42260c
test ebx, ebx
je 0x42260c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x422e02
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x450d99
call fcn.0043bcec
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x422e27
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x422e6d
lea ecx, [ebp - 0x10]
call fcn.004116a0
mov ecx, dword [esi + 0x50]
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.00422641
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00411680
mov eax, esi
call fcn.0043bdc4
ret 8
Function at 0x424f1a
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 0x424f62
call fcn.0041ce0f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x424f62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x424fa5
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 0x424f8e
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 0x424f8e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x424fa2
mov ecx, dword [esi + 0x4c]
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 0x436724
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468400]
jne 0x43672e
repz ret
jmp fcn.0043daf3
Function at 0x44cf4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00440c3d
and dword [ebp - 4], 0
cmp dword [0x46c4a8], 0
mov ebx, eax
jne 0x44cffd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44d0ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45a254
push edi
call esi
test eax, eax
je 0x44d0ae
push eax
call fcn.00440bcb
mov dword [esp], 0x45a244
push edi
mov dword [0x46c4a8], eax
call esi
push eax
call fcn.00440bcb
mov dword [esp], 0x45a230
push edi
mov dword [0x46c4ac], eax
call esi
push eax
call fcn.00440bcb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46c4b0], eax
call esi
push eax
call fcn.00440bcb
pop ecx
mov dword [0x46c4b8], eax
test eax, eax
je 0x44cffd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00440bcb
pop ecx
mov dword [0x46c4b4], eax
mov eax, dword [0x46c4b4]
cmp eax, ebx
je 0x44d055
cmp dword [0x46c4b8], ebx
je 0x44d055
push eax
call fcn.00440c46
push dword [0x46c4b8]
mov esi, eax
call fcn.00440c46
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44d055
test edi, edi
je 0x44d055
call esi
test eax, eax
je 0x44d04c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44d04c
test byte [ebp - 0xc], 1
jne 0x44d055
or dword [ebp + 0x10], 0x200000
jmp 0x44d08e
mov eax, dword [0x46c4ac]
cmp eax, ebx
je 0x44d08e
push eax
call fcn.00440c46
pop ecx
test eax, eax
je 0x44d08e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44d08e
mov eax, dword [0x46c4b0]
cmp eax, ebx
je 0x44d08e
push eax
call fcn.00440c46
pop ecx
test eax, eax
je 0x44d08e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46c4a8]
call fcn.00440c46
pop ecx
test eax, eax
je 0x44d0ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44d0b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423450
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x714a28]
xor edx, edx
cmp eax, edx
jne 0x423476
xor eax, eax
mov byte [eax + 0x714928], al
inc eax
cmp eax, 0x100
jl 0x42345e
mov dword [0x714a28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x714928
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423507
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4234da
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4234a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x423580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4235d3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4235ba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x427a91
cmp eax, 8
jg 0x427a91
cmp dword [esp + 0x8c], 2
jl 0x427a91
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x427a91
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x427a91
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4278f7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x427a7a
mov ebp, dword [0x49f56c]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x427929
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x427a61
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x427949
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x49f55c]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x427988
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x49f560]
lea ecx, [esp + 0x28]
push ecx
call dword [0x49f614]
test eax, eax
jne 0x427a48
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00426e80
cmp eax, 1
jne 0x427a72
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00427730
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x42793d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x427a7a
jmp 0x427914
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00426a80
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x42a470
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42a608
cmp ebp, ebx
jle 0x42a608
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42a4ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x42a4d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42a4e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42a4eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0048ac27
add esp, 4
cmp eax, ebx
je 0x42a50c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0048ac27
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42a5fe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42a5e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42a5d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42a5c6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42a5d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42a5d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42a570
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42a561
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x431bc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49ae68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00432740
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x49f4c8]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x49f614]
test eax, eax
je 0x431c69
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00431850
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x49f56c]
push edi
lea ecx, [esp + 0x4c]
call fcn.00491b5a
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00441000
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x49f130]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x49f640]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x49f560]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00491bcc
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14