joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e5d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x72c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2780]
test eax, eax
je 0x49e6fc
mov eax, dword [esi + 0x2778]
test eax, eax
jne 0x49e688
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0x2e7c]
lea edi, [esi + 0x2e7c]
push ecx
mov ecx, edi
mov dword [esi + 0x277c], 1
call dword [eax + 0x28]
push 5
push 0x4da9a0
push 0x4da9a0
push str.IMG_PROGRESS
push 0x4da9a0
mov ecx, edi
call fcn.00496160
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 8]
push 1
push 0
push 0
push 2
push edx
push eax
push str.ProgressBar
mov ecx, edi
call fcn.004a6150
push 0
push 0x64
push 0
mov ecx, edi
call fcn.00496110
test edi, edi
je 0x49e67f
mov ecx, dword [esi + 0x2e84]
lea eax, [esi + 0x2e80]
push 0
push ecx
jmp 0x49e6f6
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
jmp 0x49e6f6
mov eax, dword [esi + 8]
mov dword [esi + 0x277c], 0
mov edx, dword [0x5b36fc]
push 0
push edx
push 2
push eax
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push str.msctls_progress32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x364c], eax
call edi
mov ecx, dword [esi + 0x364c]
push 0
push 0
push 0x409
push ecx
call edi
mov edx, dword [esi + 0x364c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 8]
push 0
push 0x1f4
push 0xc1c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x4a22a0
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
xor ebx, ebx
mov dword [esi + 0x179cc], ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov dword [esi + 0x179b4], eax
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
mov dword [esp + 0x10], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x1350]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
cmp dword [edx + 0x30], ebx
je 0x4a232e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esi + 0x12e0]
push ecx
push edx
call edi
test eax, eax
je 0x4a232e
mov ecx, esi
mov dword [esi + 0x179b8], 1
mov dword [esi + 0x179b4], ebx
call fcn.004a2590
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esi + 0x12f0]
push ecx
push edx
call edi
test eax, eax
je 0x4a236b
mov ecx, esi
mov dword [esi + 0x179d0], ebx
mov dword [esi + 0x179c0], 1
mov dword [esi + 0x179b4], ebx
call fcn.004a2590
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0x17994]
mov dword [esi + 0x179c8], 1
push 0x11
mov ebx, dword [esi + eax*4 + 0x17378]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4a23b3
cmp dword [esi + 0x17990], 1
jle 0x4a23b3
mov ecx, dword [esi + 0x1350]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x4a23b3
mov ecx, esi
call fcn.004a3000
jmp 0x4a2480
lea edx, [esi + 0xf9c]
mov ecx, esi
push edx
call fcn.004a1b00
mov edi, eax
cmp edi, 0xffffffff
je 0x4a245c
cmp edi, ebx
je 0x4a23f6
push 0
push edi
mov ecx, esi
mov dword [esi + 0x179cc], 1
call fcn.004a2060
lea eax, [esi + 0xf94]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4a2480
mov eax, dword [esi + 0x1350]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4a2437
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4a2437
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004a3b70
test eax, eax
je 0x4a2437
push edi
mov ecx, esi
call fcn.004a29a0
lea eax, [esi + 0xf94]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4a2480
mov edx, dword [esi + 0x1304]
push 0
push 5
push 0xfc7
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xf94]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4a2480
mov dword [esi + 0x179c8], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x17b34]
push ecx
push edx
call fcn.004aba00
add esp, 8
xor eax, eax
pop edi
mov dword [esi + 0x179d0], eax
mov dword [esi + 0x179d4], eax
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x4a4390
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x179dc], edi
je 0x4a4470
push edi
call fcn.004a1b00
cmp eax, 0xffffffff
jne 0x4a43fc
cmp dword [esi + 0x179c0], edi
je 0x4a43e5
cmp dword [esi + 0x179c4], edi
je 0x4a43e5
mov eax, dword [esi + 0x1304]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x179c0], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004a2590
jmp 0x4a4470
mov ecx, dword [esi + 0x1304]
push edi
push 1
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a4470
cmp dword [esi + 0x179e0], edi
jne 0x4a444f
mov edx, dword [esi + 0x1350]
cmp dword [edx], edi
je 0x4a444f
cmp dword [esi + 0xfa8], 0xffffffff
je 0x4a444f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4a444f
cmp dword [esi + 0x1354], edi
jne 0x4a4470
push 1
mov ecx, esi
call fcn.004a3560
test eax, eax
je 0x4a4447
mov dword [esi + 0x1358], 1
jmp 0x4a4470
mov dword [esi + 0x1358], edi
jmp 0x4a4470
mov eax, dword [esi + 0x1304]
push edi
push 2
push 0xfc7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.004a07c0
mov dword [esi + 0x179dc], edi
mov dword [esi + 0x1354], edi
mov dword [esi + 0xfa8], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x4a5a60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x23c
lea eax, [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xe4]
mov edi, dword [esp + 0x250]
test eax, eax
je 0x4a5ae2
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
sub eax, ebp
mov ebp, dword [esp + 0x18]
sub ecx, edx
add ecx, ebp
add eax, ebx
push ecx
mov ecx, dword [esi + 0xe4]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004974a0
mov eax, dword [esi + 0x6f8]
test eax, eax
jne 0x4a5c55
mov ecx, dword [esi + 0x118]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push 2
sub eax, ecx
mov dword [esi + 0x6fc], 3
sub eax, 0x10
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esi + 8]
sar ebx, 1
push eax
add ebx, ecx
lea ebp, [edx + 6]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4a5b4b
add ebp, dword [esi + 0x700]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a5b67
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 0x6fc]
lea eax, [ecx + ebp + 0x10]
mov ecx, dword [esp + 0x1c]
sub ecx, 0x10
mov dword [esp + 0x14], eax
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jge 0x4a5b88
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x118]
lea edx, [esp + 0x44]
push 0x104
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 2
mov ecx, esi
call fcn.0049cbd0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x468]
test eax, eax
je 0x4a5c0b
mov ecx, dword [esi + 0x464]
push ecx
push edi
call ebp
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea edx, [esp + 0x18]
push 1
push edx
call ebx
lea eax, [esp + 0x14]
push 0x48824
push eax
lea ecx, [esp + 0x4c]
push 0xffffffffffffffff
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call ebx
mov ecx, dword [esi + 0x6f4]
test ecx, ecx
je 0x4a5c27
call fcn.0048fd50
test eax, eax
je 0x4a5c27
mov eax, dword [esi + 0x430]
push eax
jmp 0x4a5c2e
mov ecx, dword [esi + 0x704]
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0x48824
push edx
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret 4
Function at 0x4a7c40
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a7c95
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x4a7c71
push 2
call edi
shr eax, 8
test al, al
je 0x4a7c95
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [esi + 8]
je 0x4a7d17
mov eax, dword [esi + 0xf8]
mov dword [esi + 0xfc], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0xf8], 0xffffffff
mov dword [esi + 0x100], 0
je 0x4a7cc6
push eax
mov ecx, esi
call fcn.004a88f0
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1e0], 4
call fcn.004a88f0
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x4a7d11
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004ab160
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.004ab110
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x118]
push eax
push 0xffffffffffffffff
push 0x37ea
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
add esp, 8
ret
Function at 0x4ab1b0
Capabilities:
Hide graphical window

Disassembly:
call fcn.0048b6b0
mov ecx, eax
jmp 0x4ab470
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x4ab4d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b375b
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.004ad150
push esi
mov esi, dword [esp + 0x1274]
push edi
push 0x4d8fd8
mov edi, ecx
push esi
call fcn.00428860
add esp, 8
test eax, eax
je 0x4ab638
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.004288a0
add esp, 0x10
test eax, eax
je 0x4ab5d1
lea ecx, [esp + 0x220]
push str.iexplore.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4ab588
lea edx, [esp + 0x220]
push 0x824
push edx
push 1
push esi
call fcn.004288a0
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
test eax, eax
jne 0x4ab588
lea ecx, [esp + 0x220]
push 0x824
push ecx
push eax
push esi
call fcn.004288a0
add esp, 0x10
lea edx, [esp + 0x220]
push edx
push 0x4c3574
push 0x824
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [edi + 0x1046], 0
push edi
call fcn.0046e2e0
mov ecx, dword [esp + 0x126c]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x126c
ret 4
lea ecx, [esp + 8]
call fcn.0046bbe0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1278], 0
call fcn.0046bcb0
mov esi, eax
test esi, esi
je 0x4ab61f
push esi
lea ecx, [esp + 0xc]
call fcn.0046bdc0
test eax, eax
je 0x4ab615
push 0x824
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.0046be00
push esi
lea ecx, [esp + 0xc]
call fcn.0046bd30
lea ecx, [esp + 8]
mov dword [esp + 0x1270], 0xffffffff
call fcn.0046bc30
jmp 0x4ab5ad
push 0x4c3600
push esi
call fcn.00428860
add esp, 8
test eax, eax
push esi
je 0x4ab590
push 0x824
push edi
push 0x4da9a0
push 0x4d601c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4ab5ad

Function at 0x4abaf0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x1c]
mov esi, eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 8]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x28
ret
Function at 0x4ac274
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b67f8
push 0x4ad31a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x4ac2fa
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x4ac2d2
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x4ac300
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x4ac2ca
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x4ac2ca
mov al, 1
jmp 0x4ac2cc
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4ac35f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, dword [0x5b4718]
test esi, esi
je 0x4ac383
lea eax, [esp + 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
jmp 0x4ac367
pop esi
pop ecx
ret

Function at 0x4ac386
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5b4724], eax
je 0x4ac39c
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x5b4734]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4ac3e9
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x4ac3da
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4ac3da
push eax
call fcn.004ac450
pop ecx
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.004ad125
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4ac3ab
mov dword [0x5b4734], ebx
call fcn.004ac429
mov esi, dword [0x5b4730]
cmp esi, ebx
je 0x4ac416
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.004ad125
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4ac3fe
pop edi
mov dword [0x5b4730], ebx
mov dword [0x5b4724], ebx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4ac6d3
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x5b4728]
push esi
test eax, eax
push edi
jne 0x4ac73d
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x4ac73b
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
jne 0x4ac6ff
push 8
pop edi
jmp 0x4ac71a
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4ac72b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.004ad125
pop ecx
and dword [0x5b472c], 0
mov dword [0x5b4728], edi
mov eax, edi
jmp 0x4ac73d
mov dword [esi + 4], edi
mov eax, dword [0x5b4730]
mov dword [esi], eax
mov dword [0x5b4730], esi
xor eax, eax
pop edi
pop esi
ret 4
Function at 0x4ac9fa
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x7ff80000
mov ebx, 0x10000
jbe 0x4aca1e
lea eax, [esi - 0x7ff80000]
mov dword [ebp + 8], eax
jmp 0x4aca21
mov dword [ebp + 8], ebx
cmp esi, 0x80000000
jae 0x4aca34
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x4aca3b
mov dword [ebp - 4], 0xfff80000
mov eax, dword [0x5b471c]
mov ecx, dword [0x5b4718]
test eax, eax
jne 0x4aca55
test ecx, ecx
je 0x4aca6a
mov eax, ecx
mov dword [0x5b471c], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4aca6a
cmp edx, dword [ebp + 8]
jb 0x4aca6a
cmp edx, dword [ebp - 4]
jbe 0x4acbc3
mov eax, ecx
test ecx, ecx
mov dword [0x5b471c], eax
je 0x4aca9a
test eax, eax
je 0x4aca8e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4aca8e
cmp ecx, dword [ebp + 8]
jb 0x4aca8e
cmp ecx, dword [ebp - 4]
jbe 0x4acbc3
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x5b471c], eax
jne 0x4aca79
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp + 8]
mov edi, esi
jbe 0x4acb02
cmp edi, 0x70000000
jb 0x4acabf
cmp edi, 0x80000000
ja 0x4acabf
mov edi, 0x6fff0000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4acb02
cmp dword [ebp - 0x10], ebx
jne 0x4acada
cmp dword [ebp - 0x14], ebx
jae 0x4acaea
mov eax, dword [ebp - 0x1c]
lea edi, [eax - 0x10000]
cmp edi, dword [ebp + 8]
ja 0x4acaaa
jmp 0x4acb02
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x5b471c], eax
jne 0x4acb79
cmp esi, dword [ebp - 4]
jae 0x4acbea
cmp esi, 0x70000000
jb 0x4acb20
cmp esi, 0x80000000
ja 0x4acb20
mov esi, 0x80010000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4acbea
cmp dword [ebp - 0x10], ebx
jne 0x4acb6e
cmp dword [ebp - 0x14], ebx
jb 0x4acb6e
mov ecx, esi
and ecx, 0xffff
je 0x4acb56
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x5b471c], eax
jne 0x4acb79
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx]
jmp 0x4acb02
mov dword [eax], 0x52727464
mov eax, dword [0x5b471c]
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [0x5b471c]
mov edx, dword [0x5b4718]
mov dword [eax + 4], edx
mov eax, dword [0x5b471c]
mov dword [0x5b4718], eax
add eax, 0xffe0
mov edx, 0x7fd
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
dec edx
jne 0x4acbab
mov eax, dword [0x5b471c]
mov dword [eax + 8], ecx
mov eax, dword [0x5b471c]
mov esi, dword [eax + 8]
cmp esi, dword [ebp + 8]
jb 0x4acbea
cmp esi, dword [ebp - 4]
ja 0x4acbea
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x4acbec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4acbf1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6808
push 0x4ad31a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4acc66
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x4acc62
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x4acc62
cmp word [eax + 0x14], 0
jne 0x4acc57
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x4acc68
mov eax, ecx
jmp 0x4acc51
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420bc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x482b9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047740f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420c42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004752fa
mov eax, dword [eax]
push 0x49d1f4
push eax
call fcn.004675e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047769a
test bl, bl
je 0x420c42
push 0x49d1f4
lea ecx, [esp + 0xc]
call fcn.00477a2a
push 0x4a0d78
lea ecx, [esp + 0xc]
call fcn.00477a2a
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x420c7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047769a
jmp 0x420d49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x420d02
lea edx, [esp + 0x7c]
push 0x4a0d74
push edx
call fcn.004675e4
add esp, 8
test eax, eax
je 0x420d02
lea eax, [esp + 0x7c]
push 0x4a0d70
push eax
call fcn.004675e4
add esp, 8
test eax, eax
je 0x420d02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420c92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047769a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x421540
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4215a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc