joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472220
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x61ff90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov esi, ecx
push 9
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.005eb511
xor ebp, ebp
cmp eax, ebp
jle 0x47227f
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.005e34ce
push eax
mov ecx, edi
mov dword [esp + 0x64], ebp
call fcn.005eb183
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.005eb04a
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.005e6f5c
mov esi, eax
mov eax, dword [esp + 0x68]
neg esi
sbb esi, esi
and esi, eax
je 0x47238c
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebp, ebp
mov eax, 0x69734c
jne 0x4722ba
mov eax, 0x6416c4
push eax
mov ecx, edi
call fcn.005eb426
test byte [esi], 0x10
je 0x4722d3
push str.Alt
mov ecx, edi
call fcn.005eb426
test byte [esi], 8
je 0x4722e4
push str.Ctrl
mov ecx, edi
call fcn.005eb426
test byte [esi], 4
je 0x4722f5
push str.Shift
mov ecx, edi
call fcn.005eb426
test byte [esi], 1
je 0x472358
xor eax, eax
push 0
mov ax, word [esi + 2]
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x40
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005eb0b8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
call fcn.004720a0
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.005eb462
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.005eb04a
jmp 0x472363
mov cl, byte [esi + 2]
push ecx
mov ecx, edi
call fcn.005eb44d
mov ax, word [esi + 4]
mov ebp, 1
test ax, ax
je 0x47238c
and eax, 0xffff
lea edx, [eax*4]
sub edx, eax
neg edx
lea esi, [esi + edx*2]
test esi, esi
jne 0x4722ac
mov ecx, dword [esp + 0x58]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8
Function at 0x472600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0x30]
push esi
push edi
xor edi, edi
test eax, eax
mov esi, ecx
mov dword [esp + 8], edi
jne 0x47261f
lea eax, [esi + 0x30]
lea edi, [esi + 0x28]
mov dword [esp + 8], eax
jmp 0x47263f
cmp eax, 1
jne 0x472630
lea ecx, [esi + 0x54]
lea edi, [esi + 0x4c]
mov dword [esp + 8], ecx
jmp 0x47263f
cmp eax, 2
jne 0x47263f
lea edx, [esi + 0x78]
lea edi, [esi + 0x70]
mov dword [esp + 8], edx
xor eax, eax
test edi, edi
je 0x4726cc
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4726be
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x3c]
sub eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
jmp 0x47266f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
test ecx, ecx
mov ecx, dword [esp + 0x38]
push edi
push ebp
push ecx
push edx
je 0x47269a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + ebx]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00472700
jmp 0x4726ae
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00472770
mov eax, dword [esp + 0x40]
add ebx, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x47266b
pop ebp
pop ebx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4726e7
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.00472950
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x2c
Function at 0x472770
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x61fff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x6331b0
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov dword [esp + 0x2c], ebx
jne 0x4727c0
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x47288e
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push esi
call ebx
push esi
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x34]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
push edx
push ebx
call ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push 0xcc0020
sub eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
sub eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
push edi
push edx
mov edx, dword [esp + 0x4c]
sar eax, 1
neg eax
neg ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call fcn.005f0005
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
jmp 0x47289c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
call fcn.005f0005
mov eax, dword [esi + 0xe8]
test eax, eax
jne 0x4728c4
lea ecx, [ebp + 4]
lea eax, [edi + 4]
mov dword [esi + 0xe8], ebp
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], eax
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x4728e1
push 0xa
push 0
push 0xff
push edi
push ebp
mov ecx, esi
call fcn.005e525b
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 4]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push ecx
and eax, ebp
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x1c]
call fcn.005f0032
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call fcn.005f005c
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x1c
Function at 0x472b70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x620050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov eax, esi
mov edi, ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
call fcn.0046fe90
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call ebx
push eax
lea ecx, [esp + 0x14]
call fcn.005f0005
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0xf0]
mov edx, dword [esp + 0x14]
add eax, ecx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.005f005c
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0xf0]
mov dword [esp + 0x20], edx
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [0x6eb468]
test eax, eax
je 0x472c4b
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
jmp 0x472c50
push 0xffffff
call ebx
push eax
lea ecx, [esp + 0x14]
call fcn.005f0005
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
lea edx, [esp + 0x18]
and eax, ebx
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.005f005c
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.005f005c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x473b30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
push ebx
push ebp
mov ebp, dword [esp + 0x270]
push esi
push edi
mov edi, dword [esp + 0x280]
test edi, edi
mov esi, ecx
jne 0x473b72
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x274]
push eax
push 0
push 0
push ebp
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
jmp 0x473b76
mov ebx, dword [esp + 0x10]
cmp ebx, 0x20
jbe 0x473b84
cmp edi, 1
jne 0x473c68
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
push str..htm
push 0x80000000
mov ecx, esi
call dword [edx + 0xf8]
test eax, eax
jne 0x473c68
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x68]
push str._shellopencommand
push ecx
call edi
mov edx, dword [esi]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x68]
push eax
push ecx
push 0x80000000
mov ecx, esi
call dword [edx + 0xf8]
test eax, eax
jne 0x473c68
lea edx, [esp + 0x68]
push 0x6916c8
push edx
call fcn.00461d87
add esp, 8
test eax, eax
jne 0x473c04
lea eax, [esp + 0x68]
push 0x6916c4
push eax
call fcn.00461d87
add esp, 8
test eax, eax
je 0x473c07
mov byte [eax], 0
lea ecx, [esp + 0x68]
push 0x68f88c
push ecx
call edi
lea edx, [esp + 0x68]
push ebp
push edx
call edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x473c64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret 0x10
mov ebx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x260
ret 0x10
Function at 0x478a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x620698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push 1
lea ecx, [esp + 8]
call fcn.00482c30
mov eax, dword [esp + 8]
mov dword [esp + 0x38], 0
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x48]
push eax
mov edx, dword [esp + ecx + 0xc]
lea esi, [esp + ecx + 0xc]
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004812a0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x478b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x620721
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.0047b7f0
lea ecx, [esp + 0x18]
mov dword [esp + 0xbc], 0
call fcn.0047b7f0
lea ecx, [esp + 0xc]
mov byte [esp + 0xbc], 1
call fcn.0047b7f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 2
call fcn.0047b7f0
mov edi, dword [esp + 0xd0]
lea eax, [esp + 0x30]
push edi
push eax
mov byte [esp + 0xc4], 3
call fcn.004789a0
mov esi, eax
lea ecx, [esp + 0x20]
add esi, edi
push esi
push ecx
call fcn.004789a0
add esi, eax
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.004789a0
add esi, eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004789a0
add esp, 0x20
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
push 1
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00483aa0
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0xc8], 4
mov eax, dword [edx + 0x10]
lea ecx, [esp + eax + 0x54]
call fcn.00483720
and eax, 0xff
lea ecx, [esp + 0x94]
mov esi, eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 5
call fcn.00478fc0
lea eax, [esp + 0x40]
lea edx, [esp + 0x48]
neg eax
sbb eax, eax
mov byte [esp + 0xbc], 3
and eax, edx
lea ecx, [eax + 0x48]
call fcn.00478d10
mov dword [esp + 0xa4], 0x642e1c
mov dword [esp + 0x9c], 0x642e10
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x94], 0x642e00
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e7012
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005e7012
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x24]
push edx
call fcn.005e7012
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.005e7012
mov ecx, dword [esp + 0xc4]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xb8
ret
Function at 0x47d660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x620a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
xor esi, esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.0047b7f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x2c], esi
call fcn.0047d620
mov esi, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047b820
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005e7012
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x47ee80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x620d74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x6430cc
push esi
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
call fcn.0047fbf0
mov dword [esi], 0x642ff8
mov ebx, dword [esp + 0x20]
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], 1
call fcn.0047b820
mov eax, dword [ebx]
lea ecx, [esi + 0x18]
push eax
push 0
mov byte [esp + 0x20], 2
call fcn.0047bfd0
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 3
call fcn.0047b7f0
mov dword [esi], 0x642ebc
mov ecx, dword [edi]
mov dword [esp + 0x18], 4
push ecx
push 0
lea ecx, [esi + 0x30]
call fcn.0047bfd0
mov eax, dword [edi]
mov byte [esp + 0x18], 5
lea eax, [eax + eax*4]
mov dword [esi + 0x3c], eax
lea edx, [eax*4]
push edx
call fcn.005e6fe9
mov dword [esi + 0x40], eax
mov eax, dword [edi]
mov dword [esi], 0x643074
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x40]
push eax
mov eax, dword [esi + 0x34]
push ecx
push edx
push eax
mov byte [esp + 0x2c], 6
call fcn.0047a9d0
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4815f0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x20]
mov dword [eax], 0x67452301
mov edx, dword [ecx + 0x20]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ecx + 0x20]
mov dword [eax + 8], 0x98badcfe
mov edx, dword [ecx + 0x20]
mov dword [edx + 0xc], 0x10325476
mov eax, dword [ecx + 0x20]
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x482cd0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x20]
mov dword [eax], 0x67452301
mov edx, dword [ecx + 0x20]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ecx + 0x20]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ecx + 0x20]
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x483990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x621148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0xc]
mov dword [esp + 8], edi
call fcn.0047b7f0
add esi, 0x10
mov dword [esp + 0x20], edi
mov ecx, esi
call fcn.0047c0b0
mov ecx, dword [esp + 0x30]
push edi
lea edx, [ecx*8]
cmp edx, eax
ja 0x4839ea
mov eax, dword [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0047c0f0
jmp 0x483a1f
mov ecx, esi
call fcn.0047c080
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0047c0f0
mov ecx, esi
call fcn.0047c080
shl eax, 3
mov ecx, esi
mov edi, eax
call fcn.0047c0b0
sub edi, eax
lea ecx, [esp + 0xc]
push edi
call fcn.0047d350
mov esi, dword [esp + 0x28]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0047b820
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.005e7012
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x484a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6213b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x2c]
push ebp
push esi
mov esi, ecx
xor edx, edx
push edi
mov ecx, dword [esi + 4]
lea eax, [ecx + eax - 1]
div ecx
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0047b9e0
add esp, 8
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x30], 0
call fcn.0047bb30
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x2c], 0xffffffff
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
push edx
call fcn.005e7012
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x18]
add esp, 4
push eax
call fcn.0047bb30
mov eax, dword [esi + 4]
mov ebp, 1
cmp eax, ebp
jbe 0x484b43
push ebx
mov ebx, 0xc
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
lea edx, [esi + 8]
mov edi, dword [ecx]
push edx
lea edx, [ebx + eax - 0xc]
lea eax, [esp + 0x20]
push edx
push eax
call dword [edi + 0x24]
mov ecx, dword [esi + 0x18]
push eax
add ecx, ebx
mov dword [esp + 0x34], 1
call fcn.0047bb30
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005e7012
mov eax, dword [esi + 4]
add esp, 4
inc ebp
add ebx, 0xc
cmp ebp, eax
jb 0x484aeb
pop ebx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4852e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6214a0
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], 0
lea esi, [edi + edi + 2]
mov dword [esp + 0x24], edi
cmp esi, eax
jge 0x48537d
lea eax, [esi + esi*2]
lea ebx, [ebp + eax*8]
mov ecx, ebx
lea eax, [ebx - 0x18]
push eax
call fcn.0047ddd0
test eax, eax
jl 0x48534c
push ebx
lea ecx, [ebx - 0x18]
call fcn.0047ddd0
test eax, eax
jl 0x48534d
lea ecx, [ebx - 0xc]
push ecx
lea ecx, [ebx + 0xc]
call fcn.0047ddd0
test eax, eax
jge 0x48534d
dec esi
lea edx, [esi + esi*2]
lea eax, [edi + edi*2]
lea ebx, [ebp + edx*8]
lea edi, [ebp + eax*8]
push ebx
mov ecx, edi
call fcn.0047bb30
add ebx, 0xc
lea ecx, [edi + 0xc]
push ebx
call fcn.0047bb30
mov eax, dword [esp + 0x28]
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, eax
jl 0x485319
cmp esi, dword [esp + 0x28]
jne 0x4853a8
lea ecx, [esi + esi*2]
lea edx, [edi + edi*2]
lea ebx, [ebp + ecx*8 - 0x18]
lea edi, [ebp + edx*8]
push ebx
mov ecx, edi
call fcn.0047bb30
add ebx, 0xc
lea ecx, [edi + 0xc]
push ebx
call fcn.0047bb30
lea edi, [esi - 1]
sub esp, 0x18
lea eax, [esp + 0x44]
mov esi, esp
mov dword [esp + 0x40], esp
push eax
mov ecx, esi
mov dword [esp + 0x44], esi
call fcn.0047b820
lea ecx, [esp + 0x50]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esi + 0xc]
call fcn.0047b820
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x30], 0
push edx
push edi
push ebp
call fcn.00485500
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
push eax
call fcn.005e7012
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005e7012
mov ecx, dword [esp + 0x3c]
add esp, 0x2c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x485430
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6214c0
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push esi
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.0047bb30
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
push eax
call fcn.0047bb30
sub esp, 0x18
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], esp
mov edi, esp
push ecx
mov ecx, edi
mov dword [esp + 0x34], edi
call fcn.0047b820
lea edx, [esp + 0x48]
lea ecx, [edi + 0xc]
push edx
mov byte [esp + 0x2c], 1
call fcn.0047b820
mov ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
sub ecx, esi
mov byte [esp + 0x28], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0
push esi
call fcn.004852e0
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005e7012
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x50]
push edx
call fcn.005e7012
mov ecx, dword [esp + 0x34]
add esp, 0x2c
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x485500
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6214d8
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], 0
lea eax, [edi - 1]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x28]
sar esi, 1
cmp eax, edi
jge 0x4855a0
lea eax, [esi + esi*2]
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [ebp + eax*8]
mov ecx, ebx
call fcn.0047ddd0
test eax, eax
jl 0x485571
push ebx
lea ecx, [esp + 0x30]
call fcn.0047ddd0
test eax, eax
jl 0x4855a0
lea edx, [esp + 0x38]
lea ecx, [ebx + 0xc]
push edx
call fcn.0047ddd0
test eax, eax
jge 0x4855a0
lea eax, [edi + edi*2]
push ebx
lea edi, [ebp + eax*8]
mov ecx, edi
call fcn.0047bb30
add ebx, 0xc
lea ecx, [edi + 0xc]
push ebx
call fcn.0047bb30
lea eax, [esi - 1]
mov edi, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x28]
cmp eax, edi
jl 0x48553b
lea ecx, [edi + edi*2]
lea edx, [esp + 0x2c]
push edx
lea esi, [ebp + ecx*8]
mov ecx, esi
call fcn.0047bb30
lea eax, [esp + 0x38]
lea ecx, [esi + 0xc]
push eax
call fcn.0047bb30
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.005e7012
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.005e7012
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret