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

Disassembly:
push 0xffffffffffffffff
push 0x5038a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004deaec
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov edi, dword [esp + 0x3c]
mov dword [esi], method.CDC.virtual_0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], ecx
mov ebx, dword [edi + 0xc]
xor eax, eax
cmp ebx, ecx
mov byte [esp + 0x34], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x492733
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_WindowFromDC]
push eax
call fcn.004d81c1
mov ecx, dword [eax + 0x1c]
lea ebx, [esi + 0x20]
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test edi, edi
jne 0x4926aa
xor eax, eax
jmp 0x4926ad
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004deba3
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
sub eax, edx
mov edx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004df707
xor edi, edi
cmp ebp, edi
jne 0x4926e5
xor ebp, ebp
jmp 0x4926e8
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.004dece4
push edi
lea edx, [esp + 0x18]
push edi
push edx
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.004df01f
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x40]
sub eax, edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push 0xffffff
push edx
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
call fcn.004ed25a
xor ecx, ecx
jmp 0x492745
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov edx, dword [esi + 0x2c]
mov ebx, dword [esi + 0x24]
mov eax, dword [0x57bcc8]
mov edi, dword [0x57bcc4]
sub edx, ebx
cmp eax, edx
jl 0x492773
cmp edi, ecx
jne 0x492773
mov ebx, dword [0x57bcb8]
xor edx, edx
cmp ebx, ecx
sete dl
mov dword [0x57bcb8], edx
cmp eax, dword [esp + 0x40]
jl 0x492783
mov dword [0x57bccc], 1
cmp edi, eax
jl 0x4927ab
mov edx, dword [0x57bcb8]
xor eax, eax
cmp edx, ecx
mov dword [0x57bcc4], ecx
sete al
mov dword [0x57bcb8], eax
mov dword [0x57bcc8], ecx
mov dword [0x57bccc], ecx
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x492d60
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push edi
push 0
mov esi, ecx
push 0
call ebx
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.004db904
add esp, 4
mov dword [esi], eax
push eax
push edi
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x492ffb
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x503966
push eax
mov dword fs:[0], esp
sub esp, 0x444
push esi
mov esi, ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x493028
mov ecx, esi
call fcn.004d3c24
pop esi
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
add esp, 0x450
ret
mov eax, dword [esi + 0x88]
push 0
push 0
push eax
lea ecx, [esp + 0x14]
call fcn.0048d4e0
mov eax, dword [esi + 0x340]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x454], 0
call fcn.0048d6b0
lea ecx, [esp + 8]
call fcn.0048d6f0
cmp eax, 1
jne 0x4930c7
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call fcn.0048d770
push eax
lea ecx, [esi + 0x33c]
mov byte [esp + 0x454], 1
call fcn.004dbd12
lea ecx, [esp + 4]
mov byte [esp + 0x450], 0
call fcn.004dbbcb
lea ecx, [esp + 8]
mov dword [esp + 0x450], 0xffffffff
call fcn.0048d650
mov eax, 1
pop esi
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
add esp, 0x450
ret
lea ecx, [esp + 8]
mov dword [esp + 0x450], 0xffffffff
call fcn.0048d650
mov ecx, dword [esp + 0x448]
mov eax, 2
pop esi
mov dword fs:[0], ecx
add esp, 0x450
ret

Function at 0x494d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x503aae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi], 0x50db74
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], 0x518708
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0x11
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0xa
push 8
mov byte [esp + 0x1c], 1
call fcn.004db904
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x18], 2
je 0x494d75
mov ecx, eax
call fcn.00493450
jmp 0x494d77
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4962f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x503c19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov edx, 0x11
mov ecx, 0xa
mov dword [esp + 0x10], eax
mov dword [esi + 4], 0x51873c
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], 0x518730
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], 0x518730
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], eax
mov byte [esi + 0x5c], al
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x14], 3
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.00496e10
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x499120
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x503f8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x20]
push 0
push edi
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, eax
lea eax, [edi - 0x21]
shl esi, 0x10
cmp eax, 0xd
ja case.0x499162.34
xor ecx, ecx
mov cl, byte [eax + 0x4991e8]
jmp dword [ecx*4 + 0x4991e0]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x499177
or esi, 0x1000000
mov edx, dword [0x5748d0]
mov dword [esp + 0x20], edx
mov edi, 1
push 0x63
push 0x64
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], edi
call fcn.004dc010
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.004dc060
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004db938
mov dword [esp + 8], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.004dbbcb
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x499520
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50401e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x5748d0]
lea ecx, [esi + 8]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ecx], eax
mov dword [esi + 0xc], 0x518a80
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xa
mov eax, dword [esp + 0x30]
mov dx, word [esp + 0x28]
push eax
mov byte [esp + 0x20], 2
mov dword [esi], method.CCommandLineInfo.virtual_0
mov word [esi + 4], dx
call fcn.004dbd62
push 0xc
call fcn.004db904
add esp, 4
cmp eax, edi
je 0x4995b3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
mov ecx, eax
call fcn.004990b0
mov ebp, eax
jmp 0x4995b5
xor ebp, ebp
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x14]
cmp eax, edi
jne 0x4995ef
mov edx, dword [esi + 0x24]
push 0xc
lea eax, [esi + 0x20]
push edx
push eax
call fcn.004d629a
mov ecx, dword [esi + 0x24]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, edi
lea eax, [eax + edx*4 - 0xc]
jl 0x4995ef
inc ecx
mov edx, dword [esi + 0x1c]
mov dword [eax], edx
mov dword [esi + 0x1c], eax
sub eax, 0xc
dec ecx
jne 0x4995e1
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov dword [eax + 4], ebx
mov dword [eax], edi
mov ebx, dword [esi + 0x18]
inc ebx
mov dword [esi + 0x18], ebx
mov dword [eax + 8], edi
mov dword [eax + 8], ebp
mov ecx, dword [esi + 0x14]
cmp ecx, edi
je 0x499614
mov dword [ecx], eax
jmp 0x499617
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x49a0d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49a130
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x5798c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49a123
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x49a132
xor eax, eax
pop esi
leave
ret 4
Function at 0x49a344
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
pushal
xor eax, eax
lea edi, [esp + 0x20]
mov ecx, ebp
sub ecx, edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, eax
mov ebx, eax
shr eax, 6
shl eax, 6
add esi, eax
mov eax, edx
and eax, 0x3f
mov edx, eax
mov ecx, eax
shr ecx, 2
and eax, 3
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
or byte [edi], 0x80
sub edx, 0x38
sbb edx, edx
add edx, 2
mov eax, edx
shl eax, 6
lea eax, [eax - 8]
lea edi, [ebp - 0x94]
add edi, eax
mov eax, ebx
shl eax, 3
mov dword [edi], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x67452301
mov dword [ebp - 0xc], 0xefcdab89
mov dword [ebp - 8], 0x98badcfe
mov dword [ebp - 4], 0x10325476
shr eax, 9
je 0x49a3dd
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.0049a404
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0049a404
lea esi, [ebp - 0x10]
mov edi, dword [ebp + 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
popal
leave
ret 0xc
Function at 0x4a01f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push edi
push esi
push ecx
push ebx
xor eax, eax
lea edi, [esp + 0x10]
mov ecx, ebp
sub ecx, edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x18]
lea esi, [ebx + 0xcc]
mov ecx, dword [ebx + 0x11c]
push ecx
lea edi, [ebp - 0x110]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov dword [edi], eax
pop eax
add eax, 5
lea edi, [ebp - 0x110]
push eax
push edi
push eax
push edi
call fcn.0049a344
pop edx
cmp edx, 0x10
jbe 0x4a024f
mov edx, 0x10
lea eax, [ebp - 0x100]
push eax
push edx
push edi
call fcn.004a366c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
lea ebx, [ebp - 0x100]
jmp 0x4a02c1
push esi
inc dword [ebp - 0x114]
and dword [ebp - 0x114], 0xff
mov esi, dword [ebp - 0x114]
movzx eax, byte [esi + ebx]
add eax, dword [ebp - 0x118]
and eax, 0xff
mov dword [ebp - 0x118], eax
movzx ecx, byte [esi + ebx]
movzx edx, byte [eax + ebx]
mov byte [eax + ebx], cl
mov byte [esi + ebx], dl
add edx, ecx
and edx, 0xff
movzx edx, byte [edx + ebx]
pop esi
movzx eax, byte [esi]
xor eax, edx
mov byte [edi], al
inc edi
inc esi
dec dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
jne 0x4a026e
pop ebx
pop ecx
pop esi
pop edi
leave
ret 0x14

Function at 0x4a366c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edx, dword [ebp + 0x10]
mov ecx, 0x40
mov eax, 0x3020100
mov dword [edx], eax
add eax, 0x4040404
add edx, 4
dec ecx
jne 0x4a367f
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor ecx, ecx
xor ebx, ebx
xor edx, edx
jmp 0x4a36c5
movzx eax, byte [ecx + esi]
add al, byte [edx + edi]
add ebx, eax
and ebx, 0xff
movzx eax, byte [edx + edi]
xor byte [ebx + edi], al
xor al, byte [ebx + edi]
xor byte [ebx + edi], al
mov byte [edx + edi], al
inc ecx
sub ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 0xc]
sbb eax, eax
and ecx, eax
inc edx
cmp edx, 0x100
jb 0x4a369a
pop ebx
pop esi
pop edi
leave
ret 0xc
Function at 0x4a752c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push edi
push esi
mov edi, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 4], eax
add ebx, 2
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0xc]
movzx ecx, byte [ebx + 0x1a]
and ecx, 1
xor ecx, 1
shl ecx, 3
inc ecx
mov edi, dword [ebp + 0x14]
push edi
push dword [edi + 0xb4]
push dword [edi + 0xbc]
push 0x1c
push esi
push dword [edi + 0xdc]
call fcn.004a9324
mov edi, eax
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, dword [ebp + 0x10]
mov dword [eax], edi
inc dword [ebp - 0xc]
movzx edx, word [edi + 0x18]
add dl, dh
movzx edx, dl
adc dh, dh
add edx, 2
add esi, 0x1c
mov edi, dword [ebp + 0x14]
push edi
push dword [edi + 0xb4]
push dword [edi + 0xbc]
push edx
push esi
push dword [edi + 0xdc]
call fcn.004a9324
mov edi, eax
add edi, edx
add esi, edx
movzx edx, word [edi - 2]
shl edx, 1
mov edi, dword [ebp + 0x14]
push edi
push dword [edi + 0xb4]
push dword [edi + 0xbc]
push edx
push esi
push dword [edi + 0xdc]
call fcn.004a9324
add esi, edx
dec ecx
jne 0x4a755f
add ebx, 0x1c
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4a7551
mov eax, dword [ebp - 8]
pop esi
pop edi
leave
ret 0x10
Function at 0x4a9d80
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
xor ebx, ebx
xor edi, edi
xor esi, esi
push eax
push eax
push 3
push eax
push 3
push SysReAllocStringLen
push dword [ebp + 8]
cmp dword [ebp + 0x10], 0
je 0x4a9da7
call sub.KERNEL32.dll_CreateFileW
jmp 0x4a9dac
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x4a9de4
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov edi, eax
push 0
push eax
call sub.KERNEL32.dll_GetFileSize
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push edi
call sub.KERNEL32.dll_CreateFileMappingA
test eax, eax
je 0x4a9de4
mov esi, eax
push 0
push 0
push 0
push 4
push eax
call sub.KERNEL32.dll_MapViewOfFile
leave
ret 0xc
Function at 0x4ac500
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 0x198]
push ecx
mov ecx, esi
call fcn.004ac670
mov edx, dword [esi + 0x19c]
mov dword [esi + 0x198], eax
and eax, 0xff
mov ecx, esi
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x19c], eax
shr eax, 0x18
mov byte [esp + 8], al
mov eax, dword [esi + 0x1a0]
mov edx, dword [esp + 8]
push edx
push eax
call fcn.004ac670
mov dword [esi + 0x1a0], eax
pop esi
ret 4

Function at 0x4accb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x504565
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], ebx
call fcn.004dbc3f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], 1
test eax, eax
jne 0x4accf4
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x10]
call fcn.004dbc3f
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x30], 2
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4acd2b
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.004db938
mov dword [esp + 8], 1
jmp 0x4ace5a
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4acd55
push 0x5730b8
lea ecx, [esp + 0x44]
call fcn.004d3883
mov cx, word [0x518e28]
push ecx
lea ecx, [esp + 0x44]
call fcn.004dbfe3
push 0x5730b8
lea ecx, [esp + 0x10]
call fcn.004d3883
mov eax, dword [0x5748d0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x34], 7
mov dword [esp + 0x14], 0x518de4
call fcn.004b3890
mov al, byte [esp + 0x44]
mov byte [esp + 0x30], 8
test al, al
je 0x4acdcf
mov al, byte [esi + 4]
test al, al
je 0x4acdc9
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call fcn.004b3a90
mov ebx, 2
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 9
jmp 0x4acdf1
lea eax, [esp + 0xc]
jmp 0x4acdf1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.004ac900
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0x30], 0xa
push eax
lea ecx, [esp + 0x44]
call fcn.004dbff8
test bl, 4
mov dword [esp + 0x30], 9
je 0x4ace18
and ebx, 0xfffffffb
lea ecx, [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.004dbbcb
test bl, 2
mov dword [esp + 0x30], 8
je 0x4ace35
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.004dbbcb
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.004db938
or ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 8], ebx
mov byte [esp + 0x30], 2
call fcn.004b3810
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.004dbbcb
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.004dbbcb
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
Function at 0x4ad300
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5045d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.004ad8c0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.004af200
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esp + 0x30], cx
mov word [esi + 0x20], dx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.004ad900
mov edx, dword [esi + 4]
mov ecx, 0x5730c0
cmp edx, dword [ecx]
je 0x4ad3ec
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad8f0
xor al, al
jmp 0x4ad47f
mov eax, dword [edi + 0x50]
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.004ad930
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.004af200
test bp, bp
je 0x4ad438
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.004ad930
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.004af200
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x4ad460
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004ad930
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.004af200
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x50]
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x28], 0xffffffff
call fcn.004ad8f0
mov al, bl
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4afaa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x504b10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [ecx + 0x1c]
lea edx, [esp]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp]
mov dword [esp + 0x28], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4afafa
lea ecx, [esp]
mov dword [esp + 0x28], 0xffffffff
call fcn.004dbbcb
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [0x5748d0]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x518de4
call fcn.004b3890
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.004ac350
mov eax, dword [eax]
mov byte [esp + 0x2c], 7
push eax
call fcn.004afed0
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 6
call fcn.004dbbcb
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.004b3810
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004dbbcb
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4afb90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x504b60
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
mov esi, ecx
and edi, 0xffff
test ax, ax
mov dword [esi + 0x50], edi
je 0x4afcb9
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], 0
cmp eax, 3
jne 0x4afbfa
mov eax, dword [esp + 0x34]
push eax
call fcn.004b0150
add esp, 4
neg al
sbb eax, eax
add eax, 2
mov dword [esi + 0x20], eax
jmp 0x4afc01
mov dword [esi + 0x20], 2
cmp dword [esi + 0x20], 1
jne 0x4afc19
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4afc1c
push 0x67
mov ecx, esi
call fcn.004af4a0
jmp 0x4afc1c
mov dword [esi + 0x28], edi
mov eax, dword [0x5748d0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x2c], 5
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x518de4
call fcn.004b3890
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 6
call fcn.004afce0
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x30], 7
call fcn.004dbd12
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.004dbbcb
lea ecx, [esi + 0x3c]
call fcn.004ad900
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.004b3810
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004dbbcb
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x20], 0
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4