joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xaf000]
push edi
jmp 0x4c833a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c8341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8330
mov eax, 1
add ebx, ebx
jne 0x4c8353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8364
jne 0x4c8383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8383
dec eax
add ebx, ebx
jne 0x4c8370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c8348
add ebx, ebx
jne 0x4c837f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c83d5
xor ecx, ecx
sub eax, 3
jb 0x4c839b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c840a
sar eax, 1
mov ebp, eax
jmp 0x4c83a6
add ebx, ebx
jne 0x4c83a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8374
inc ecx
add ebx, ebx
jne 0x4c83b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8374
add ebx, ebx
jne 0x4c83c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c83b6
jne 0x4c83d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c83b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c83f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c83e6
jmp 0x4c8336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c83f4
add edi, ecx
jmp 0x4c8336
pop esi
mov edi, esi
mov ecx, 0x10ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c8412
cmp byte [edi], 9
jne 0x4c8412
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c8417
lea edi, [esi + 0xc4000]
mov eax, dword [edi]
or eax, eax
je 0x4c8486
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc81b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc8268]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c8444
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc8270]
or eax, eax
je 0x4c8480
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8461
call dword [esi + 0xc826c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4c84b7
cmp al, 0xef
ja 0x4c84aa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4c848c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4c8499
mov ebp, dword [esi + 0xc8274]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c84eb
sub esp, 0xffffff80
jmp 0x41dfe1
Function at 0x40c860
Capabilities:
Create service
Persist via windows service

Disassembly:
push esi
call fcn.0040caa0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x40c890
push 0x10
push 0x4a9cd4
push str.Failed_to_open_service_control_manager
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi + 1]
pop esi
ret
push edi
push 0
push 0
push 0
push 0
push 0
push 0x4d9b40
push 1
push 2
push 0x110
push 0xf01ff
push str.uvnc_service
push str.uvnc_service
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
test edi, edi
jne 0x40c91c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40c8f2
push 0x10
push 0x4a9cd4
push str.Failed:_Permission_denied
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop esi
ret
cmp eax, 0x431
je 0x40c90d
push 0x10
push 0x4a9cd4
push str.Failed_to_create_a_new_service
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop esi
ret
call fcn.0040c7a0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
ret
Function at 0x40c940
Capabilities:
Delete service
Query service status

Disassembly:
sub esp, 0x1c
push esi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x40c971
push 0x10
push 0x4a9cd4
push str.Failed_to_open_service_control_manager
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi + 1]
pop esi
add esp, 0x1c
ret
push edi
push 0x10004
push str.uvnc_service
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x40c9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40c9b7
push 0x10
push 0x4a9cd4
push str.Failed:_Permission_denied
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [edi + 1]
pop edi
pop esi
add esp, 0x1c
ret
cmp eax, 0x424
je 0x40c9d2
push 0x10
push 0x4a9cd4
push str.Failed_to_open_the_service
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x40ca1e
push 0x10
push 0x4a9cd4
push str.Failed_to_query_service_status
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret
cmp dword [esp + 0xc], 1
push edi
je 0x40ca4c
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
push 0x9c4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040c940
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40ca80
push 0x10
push 0x4a9cd4
push str.Failed_to_delete_the_service
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x43ad40
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x43ad96
mov cl, byte [esi]
mov eax, dword [esi + 4]
push 0
push eax
movzx edx, cl
push 0
push edx
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [esi]
push ecx
push str.fake__d_down_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 8
mov byte [esi + 8], 1
pop ecx
ret

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

Disassembly:
push ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x43adf9
mov eax, dword [esi + 4]
mov cl, byte [esi]
push 0
or eax, 2
push eax
movzx edx, cl
push 0
push edx
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [esi]
push ecx
push str.fake__d_up_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 8
mov byte [esi + 9], 1
pop ecx
ret

Function at 0x43ae00
Capabilities:
Log keystrokes

Disassembly:
push ecx
cmp byte [esi + 8], 0
je 0x43ae4a
or eax, dword [esi + 4]
mov cl, byte [esi]
push 0
or eax, 2
push eax
movzx eax, cl
push 0
push eax
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
mov edx, dword [esi]
push edx
push str.fake__d_up_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 8
pop ecx
ret
cmp byte [esi + 9], 0
je 0x43ae8e
mov eax, dword [esi + 4]
mov cl, byte [esi]
push 0
push eax
movzx eax, cl
push 0
push eax
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
mov edx, dword [esi]
push edx
push str.fake__d_down_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401090
add esp, 8
pop ecx
ret
Function at 0x448f90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x110
mov eax, dword [0x4ba700]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov esi, ecx
call fcn.00451550
test eax, eax
jne 0x448fe3
lea ecx, [eax + 9]
push str.._vncproperties.cpp_:__DBG___NO_current_user_n
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp]
or al, 1
add byte [eax], al
xor ecx, esp
call fcn.0047c3ff
add esp, 0x110
ret
mov edx, 0x4a3fbe
lea ecx, [esp + 0xc]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x449010
test al, al
je 0x44900c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x449010
add ecx, 2
add edx, 2
test al, al
jne 0x448ff0
xor eax, eax
jmp 0x449015
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44904d
lea ecx, [eax + 9]
push str.._vncproperties.cpp_:__DBG___Force_USER_SYSTEM_2_n
mov eax, 0x4bc990
call fcn.00401110
mov eax, dword [str.SYSTEM]
mov cx, word [0x4a9884]
mov dl, byte [0x4a9886]
add esp, 4
mov dword [esp + 0xc], eax
mov word [esp + 0x10], cx
mov byte [esp + 0x12], dl
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esi, 8
push esi
push 0
push str.DebugMode
push str.admin
call edi
mov ebx, eax
call fcn.0043dbc0
push esi
push 0
push str.DebugLevel
push str.admin
call edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
xor ecx, esp
mov dword [0x4bc9a0], eax
call fcn.0047c3ff
add esp, 0x110
ret

Function at 0x4490a0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 4]
push ecx
push 0
push str.UseRegistry
push str.admin
mov dword [esi + 0x108], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esi], eax
je 0x4490db
push 1
mov ecx, esi
call fcn.00449e90
mov eax, 1
pop esi
ret
call fcn.0044a980
mov eax, 1
pop esi
ret
Function at 0x46c25c
Capabilities:
Encode data using xor

Disassembly:
push esi
push 1
push 0x400
push 0x4bd788
mov esi, ecx
mov dword [0x4bd784], eax
mov dword [fcn.0046c0a1], 0x46c0a1
call fcn.0046d54e
push dword [esp + 0x14]
lea eax, [esi + 0x2a]
push eax
call fcn.0046dd65
add esi, 4
push esi
push dword [0x4ba070]
call fcn.0046beb2
add esp, 0x1c
pop esi
jmp fcn.0046bc15

Function at 0x46cc91
Capabilities:
Check mutex on windows

Disassembly:
push esi
xor esi, esi
cmp dword [0x4bdb8c], esi
je 0x46cca1
xor eax, eax
inc eax
pop esi
ret
push ebx
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
cmp ebx, esi
jne 0x46ccb6
and bl, al
dec ecx
add byte [ebx + 0x75de3bd8], cl
add al, 0x33
shr bl, 0x71
xor eax, eax
jmp 0x46cd27
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
mov ebp, 0x4bdb90
push ebp
call edi
mov esi, eax
test esi, esi
je 0x46ccef
push esi
push ebp
jg 0x46cca8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x4bdb8c]
jmp 0x46cd25
push 0x4f4200
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x124
push 0
push 0x4f40c0
call fcn.004858b0
add esp, 0xc
call fcn.0046cb58
xor esi, esi
inc esi
push ebx
mov dword [0x4bdb8c], esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x64ac3800
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
je 0x64ac384c
call fcn.64af4960
lea eax, [0x64b6d9f8]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.64af5260
call fcn.64af49d0
mov dword [esp], 2
call fcn.64aef9b0
mov eax, dword [esp + 0x2c]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
nop
inc dword [ecx + 0x148]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
mov ebx, ecx
mov dword [edx + 0xc0], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x98], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea esi, [ecx + 0x190]
lea edi, [esp + 0x10]
call fcn.64b1bd74
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0xc], edx
call fcn.64b18940
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 0
mov ecx, dword [eax + 0x18]
test byte [ecx], al
add ecx, 0x1cc
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.64ac26f0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.64ac3960
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x8c], 1
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x64ac3946
mov dword [esp], ecx
call fcn.64af11d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.64afcdb0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x190]
lea esi, [esp + 0x10]
call fcn.64b1bd74
add esp, 0x34
ret
lea eax, [0x64b6edea]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.64af31b0
nop
int3
Function at 0x64acb140
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64acb30e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x64acb16b
mov eax, 0x7000000
jmp 0x64acb173
test eax, eax
je 0x64acb2e9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.64b1b690
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x64b4ad20]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x64acb301
cmp ecx, 0x21
jae 0x64acb2f5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.64b16650
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.64b16720
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x64b859e4]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x64b85a4c]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x64acb2c4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x64b85a94]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.64b1b770
mov eax, ecx
mov ecx, 0x21
call fcn.64b1b800
nop
call fcn.64b1a2c0
jmp fcn.64acb140
Function at 0x64ad2150
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64ad2374
sub esp, 0x18
mov eax, dword [0x64c091c8]
test eax, eax
jne 0x64ad235d
nop
lea eax, [0x64c091b4]
mov dword [esp], eax
call fcn.64ac8f30
mov eax, dword [0x64c091b8]
test eax, eax
je 0x64ad2199
cmp dword [eax + 8], 0xcc
jne 0x64ad220f
mov edx, dword [0x64c091ac]
test edx, edx
jne 0x64ad21f1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x64c0b9d0]
mov dword [esp + 8], eax
call fcn.64acb320
mov eax, dword [esp + 0xc]
mov dword [0x64c091ac], eax
mov ecx, dword [0x64c09170]
mov dword [eax], ecx
mov eax, dword [0x64c091ac]
mov dword [0x64c09170], eax
movzx eax, byte [0x64c09640]
test al, al
jne 0x64ad21f1
xor eax, eax
jmp 0x64ad2309
mov edx, dword [0x64c091ac]
mov ebx, dword [edx + 4]
mov dword [0x64c091ac], ebx
mov ebx, dword [0x64c091b8]
mov dword [edx + 4], ebx
mov dword [0x64c091b8], edx
mov edx, dword [0x64c091b8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x64ad22f1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.64ac2620
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x64c09340]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x64ad226d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x64ad227a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.64b1b6e0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x64c09340]
test edx, edx
jne 0x64ad22a6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x64ad22c7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.64b1b6e0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.64b1b6e0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.64b1b6e0
nop
lea eax, [0x64c091b4]
mov dword [esp], eax
call fcn.64ac9130
nop
lea eax, [0x64c091b0]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.64ac2790
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.64b1b770
lea esi, [0x64c09640]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x64ad21f1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x64ad2353
lea edx, [0x64b471b4]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x64ad22fb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.64b1b760
mov ecx, 5
call fcn.64b1b760
lea eax, [0x64b6c2db]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.64af31b0
nop
call fcn.64b1a2c0
jmp fcn.64ad2150
Function at 0x64ae5770
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64ae58e0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.64ae3500
mov eax, dword [esp + 4]
test eax, eax
je 0x64ae58c9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.64ae1280
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.64ac8f30
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x64ae5807
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x64ae586d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x64ae581c
cmp byte [ebp + 6], dl
je 0x64ae5827
cmp esi, ebx
ja 0x64ae586d
jne 0x64ae5805
cmp byte [ebp + 6], dl
jbe 0x64ae5805
jmp 0x64ae586d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.64ac9130
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x64ae5864
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x64ae5864
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.64ae5670
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.64ac9130
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x64ae58c0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x64ae58c0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x64b6d439]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.64af31b0
nop
call fcn.64b1a2c0
jmp fcn.64ae5770
Function at 0x64ae5d60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64ae5e7c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x64ae5df5
cmp cl, 2
je 0x64ae5d9d
cmp cl, 3
jne 0x64ae5e65
mov byte [eax + 8], 1
jmp 0x64ae5e61
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.64aeaf90
nop
lea eax, [0x64bed798]
mov dword [esp], eax
call fcn.64ac8f30
nop
mov eax, dword [0x64bed764]
sub eax, dword [0x64bed748]
mov dword [0x64bed764], eax
mov eax, dword [0x64bed754]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x64bed754], ecx
nop
lea eax, [0x64bed798]
mov dword [esp], eax
call fcn.64ac9130
jmp 0x64ae5e61
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.64ad2150
nop
lea eax, [0x64bed798]
mov dword [esp], eax
call fcn.64ac8f30
nop
mov eax, dword [0x64bed73c]
sub eax, dword [0x64bed720]
mov dword [0x64bed73c], eax
mov eax, dword [0x64bed72c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x64bed72c], ecx
nop
nop
lea eax, [0x64bed798]
mov dword [esp], eax
call fcn.64ac9130
add esp, 0x14
ret
lea eax, [0x64b69f2d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.64af31b0
nop
call fcn.64b1a2c0
jmp fcn.64ae5d60