joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1530
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b1673
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4b1587
push 0x20a
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [0x535c50]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20e]
mov eax, dword [ebp - 4]
call fcn.00407db8
jmp 0x4b165a
call sub.kernel32.dll_GetCommandLineW_1
mov ebx, eax
mov eax, ebx
call fcn.004b14cc
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004b14f4
mov ebx, eax
test esi, esi
je 0x4b15af
dec esi
test esi, esi
jl 0x4b15af
cmp edi, ebx
jne 0x4b158e
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x214]
mov edx, edi
call fcn.00408908
mov eax, dword [ebp - 0x214]
mov ecx, ebx
sub ecx, edi
sar ecx, 1
jns 0x4b15d1
adc ecx, 0
mov edx, 1
call fcn.00408cdc
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4b15f7
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x4b165a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp word [eax], 0x22
jne 0x4b165a
mov eax, edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4b161e
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp word [ecx + eax*2 - 2], 0x22
jne 0x4b165a
mov eax, edx
mov dword [ebp - 0x218], eax
mov ebx, dword [ebp - 0x218]
test ebx, ebx
je 0x4b1642
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
push eax
mov ecx, ebx
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00408cdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b167a
lea eax, [ebp - 0x214]
call fcn.00407c30
ret
Function at 0x4b6064
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4b6244
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_GetClientRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0x4b60c1
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_BeginPaint
mov ebx, eax
jmp 0x4b60d4
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WindowFromDC
test eax, eax
jne 0x4b60d4
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b6124
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf5], 0
jne 0x4b6124
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x14], eax
jmp 0x4b6134
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf5]
test eax, eax
je 0x4b6134
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4b6233
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xf5], edx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x14
mov eax, dword [ebp - 4]
push eax
call fcn.004bb9a0
cmp dword [0x538268], 0
je 0x4b6176
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call dword [0x538268]
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call fcn.004bb9a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x45b]
test eax, eax
je 0x4b619b
xor edx, edx
call fcn.004b0cd4
push 0
push ebx
call sub.gdi32.dll_SelectClipRgn
cmp ebx, dword [ebp - 0xc]
je 0x4b61c7
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
cmp dword [ebp - 8], 0
jne 0x4b61e0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x423]
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b623a
cmp dword [ebp - 0x10], 0
je 0x4b621f
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf5], edx
jmp 0x4b6232
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x4b6232
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf5], edx
ret
Function at 0x4b6f2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x423]
test eax, eax
je 0x4b6f87
cmp byte [ebx + 0x44d], 0
jne 0x4b6f87
push eax
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
jne 0x4b6f55
xor esi, esi
jmp 0x4b6f71
inc eax
mov ebp, eax
add ebp, ebp
mov eax, ebp
call fcn.004045e8
mov esi, eax
push ebp
push esi
mov eax, dword [ebx + 0x423]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, edi
mov edx, esi
call fcn.00408908
test esi, esi
je 0x4b6f94
mov eax, esi
call fcn.00404604
jmp 0x4b6f94
mov eax, edi
mov edx, dword [ebx + 0x441]
call fcn.00408908
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c39dc
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffee4
mov dword [esp], 0x11c
push esp
call sub.kernel32.dll_GetVersionExW
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x4c3a19
mov al, 4
mov edx, dword [esp + 4]
cmp edx, 6
jne 0x4c3a07
mov al, 7
jmp 0x4c3a52
cmp edx, 5
jb 0x4c3a52
mov al, 5
cmp dword [esp + 8], 1
jb 0x4c3a52
mov al, 6
jmp 0x4c3a52
cmp eax, 1
jne 0x4c3a50
mov al, 1
cmp dword [esp + 4], 4
ja 0x4c3a35
cmp dword [esp + 4], 4
jne 0x4c3a37
cmp dword [esp + 8], 0xa
jb 0x4c3a37
mov al, 2
cmp dword [esp + 4], 4
ja 0x4c3a4c
cmp dword [esp + 4], 4
jne 0x4c3a52
cmp dword [esp + 8], 0x5a
jb 0x4c3a52
mov al, 3
jmp 0x4c3a52
xor eax, eax
add esp, 0x11c
ret

Function at 0x4d10a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x4d1140
call sub.user32.dll_RegisterWindowMessageW
mov edi, eax
mov dl, 1
mov eax, dword [0x438adc]
call fcn.00405f8c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4d112f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
push fcn.004d0f44
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4d1119
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00444558
mov edx, dword [ebp - 4]
push edx
mov edx, dword [ebp - 8]
push edx
push edi
push eax
call sub.user32.dll_PostMessageW
inc esi
dec ebx
jne 0x4d10fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1136
mov eax, dword [ebp - 0xc]
call fcn.00405fbc
ret
Function at 0x4d11b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dl, 1
call fcn.00471d98
mov dword [ebp - 8], eax
push 0x4d12ac
call sub.user32.dll_RegisterWindowMessageW
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x438adc]
call fcn.00405f8c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d129c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetForegroundWindow
call fcn.004d1164
mov ebx, eax
test ebx, ebx
je 0x4d120b
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.004d0f44
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x4d1222
mov eax, dword [ebp - 4]
push eax
push fcn.004d0f44
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4d1261
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00444558
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d125d
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.user32.dll_PostMessageW
call fcn.0040741c
jmp 0x4d12a3
inc edi
dec esi
jne 0x4d1230
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jle 0x4d1286
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00444558
mov ebx, eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.user32.dll_PostMessageW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d12a3
mov eax, dword [ebp - 4]
call fcn.00405fbc
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ee4b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ee6b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x4c]
cmp dword [eax + 8], 0
jne 0x4ee4f2
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x5db], 7
jmp 0x4ee695
mov eax, dword [ebx + 0x4c]
call fcn.004f0418
mov esi, eax
mov dword [ebx + 0x50], esi
mov edx, esi
mov eax, dword [ebx + 0x4c]
call fcn.004f0330
xor edx, edx
push ebp
push 0x4ee68e
push dword fs:[edx]
mov dword fs:[edx], esp
movzx eax, byte [0x4ee6c0]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
mov edx, 0x4ee6d0
mov eax, 0x4ee718
call fcn.0048d138
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 8]
mov edx, 0x4ee73c
call fcn.00426868
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
call fcn.004b6f9c
lea ecx, [ebp - 0x10]
mov edx, 0x4ee75c
mov eax, 0x4ee778
call fcn.0048d138
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x14]
call fcn.004b6f9c
mov eax, dword [ebx + 0x14]
call fcn.004b7948
lea ecx, [ebp - 0x14]
mov edx, 0x4ee7a4
mov eax, 0x4ee7c0
call fcn.0048d138
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x18]
call fcn.004b6f9c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.004b58f4
mov eax, dword [ebx + 0x18]
call fcn.004b7948
mov eax, dword [ebx + 0x1c]
call fcn.004b7990
mov eax, dword [ebx + 0x20]
call fcn.004b7990
mov eax, dword [ebx + 0x14]
call fcn.004b7948
lea ecx, [ebp - 0x18]
mov edx, 0x4ee7ec
mov eax, 0x4ee82c
call fcn.0048d138
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x24]
call fcn.004b6f9c
mov eax, dword [ebx + 0x24]
call fcn.004b7948
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x28]
call fcn.004b6f9c
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x2e]
call fcn.004b80fc
mov eax, dword [ebx + 0x28]
call fcn.004b7948
lea ecx, [ebp - 4]
mov edx, 0x4ee85c
mov eax, 0x4ee8ec
call fcn.0048d138
movzx eax, byte [0x4ee908]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + 8]
mov edx, 0x4ee73c
mov eax, dword [ebp - 4]
call fcn.00426868
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00408058
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp - 4]
call fcn.004b6f9c
mov eax, dword [ebx + 0x2c]
call fcn.004b7948
lea ecx, [ebp - 0x20]
mov edx, 0x4ee918
mov eax, 0x4eea40
call fcn.0048d138
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebx + 0x30]
call fcn.004b7948
mov eax, dword [ebx + 0xc]
call fcn.004b7974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee695
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee6b7
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00407c90
ret
Function at 0x519524
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebx], 0
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x51954e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x51960c
call fcn.0050a990
mov dword [ebp - 8], eax
jmp 0x519561
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x51967c
call fcn.0050a990
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5195ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0050c604
test al, al
je 0x5195a1
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x5195a1
mov eax, dword [ebp - 8]
call fcn.00405fbc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x5196ec
call fcn.0050a990
mov dword [ebp - 8], eax
jmp 0x5195a4
mov byte [ebx], 1
mov eax, dword [ebp - 8]
call fcn.0050c604
test al, al
je 0x5195cb
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x5195c2
mov dword [ebp - 4], 0xffffffff
jmp 0x5195d8
mov dword [ebp - 4], 1
jmp 0x5195d8
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0050cac8
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5195f5
mov eax, dword [ebp - 8]
call fcn.00405fbc
ret

Function at 0x51972c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5197e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x519800
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0041ef00
push dword [ebp - 0x10]
push 0x519850
push 0x519880
push 0x519898
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00408b94
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050a990
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5197c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0050c604
test al, al
jne 0x5197ad
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5197ca
mov eax, dword [ebp - 8]
call fcn.00405fbc
ret
Function at 0x51d120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x51d135
add esp, 0xfffffff0
call fcn.004065b4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51d2e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], cl
mov dl, 1
mov eax, dword [0x4d2864]
call fcn.004d33a4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push 0
mov ecx, 0x51d31c
mov dl, 1
mov eax, dword [0x4dc924]
call fcn.004dcc18
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x51d338
call sub.user32.dll_RegisterWindowMessageW
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, 0x51d364
call fcn.004b4220
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, ebx
xor edx, edx
call fcn.004b6d84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, 0x51d38c
call fcn.004b7e68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b5958
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [ebx + 0x46c], eax
mov dword [ebx + 0x468], 0x51e138
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push 0x51df28
push 0
push 1
push 0
lea ecx, [ebp - 8]
mov eax, ebx
mov edx, 1
call fcn.004b1a38
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
push 0
push 0
push 0
push 0
mov edx, 0x51d3bc
mov eax, esi
movzx ecx, word [0x51d3bc]
call fcn.004b2428
push 0
push 0
push 0
push 0
mov edx, 0x51d3bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51d3bc]
call fcn.004b2428
push 0
push 0
push 0
push 0
mov edx, 0x51d3bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51d3c0]
call fcn.004b2428
push 0
push 0
push 0
push 0
mov edx, 0x51d3bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51d3bc]
call fcn.004b2428
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
push 0x51d3c4
mov eax, dword [0x535c50]
push eax
call sub.user32.dll_LoadIconW
push eax
push 0x414
push 0x51d364
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b5958
mov ecx, eax
mov dl, 1
mov eax, dword [0x4d1928]
call fcn.004d1c00
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51d2ee
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x51d306
call fcn.0040660c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x52331c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x523506
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5234e1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004cf720
mov ecx, ebx
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
call fcn.004f4184
test bl, bl
je 0x523373
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
call fcn.0051c308
call fcn.00518ef0
xor eax, eax
push ebp
push 0x523459
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [0x531e20]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f444
push 1
mov eax, dword [0x532190]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f444
push 1
mov eax, dword [0x532048]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f444
push 1
mov eax, dword [0x531d70]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f444
push 1
mov eax, dword [0x532014]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f444
push 1
mov eax, dword [0x5321a4]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f444
mov edx, dword [0x531b88]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x523520
call fcn.00408b0c
mov eax, dword [ebp - 8]
mov dl, 1
call fcn.0047fe08
mov edx, dword [0x531b88]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x523544
call fcn.00408b0c
mov eax, dword [ebp - 0xc]
mov dl, 1
call fcn.0047fe08
mov edx, dword [0x531b88]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x523568
call fcn.00408b0c
mov eax, dword [ebp - 0x10]
mov dl, 1
call fcn.0047fe08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x523463
xor eax, eax
push ebp
push 0x52349d
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x523594
mov eax, 0x80000001
call fcn.004706dc
mov cl, 1
mov edx, 0x523594
mov eax, 0x80000002
call fcn.004706dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5234a7
mov eax, dword [0x531d28]
mov eax, dword [eax]
mov ecx, 0x5235d0
mov edx, 0x5235f8
call fcn.00470470
call fcn.004d74a0
push 0
mov eax, dword [0x5320d8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x523664
call fcn.004869d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5234eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52350d
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00407c90
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xbcc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bcc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbcc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbcc06a
add dl, dl
jne 0xbcc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbcc0dc
xor eax, eax
add dl, dl
jne 0xbcc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbcc17d
add dl, dl
jne 0xbcc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbcc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbcc075
mov eax, 1
add dl, dl
jne 0xbcc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbcc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbcc0e1
sub eax, ebx
mov ebx, 1
jne 0xbcc128
mov ecx, 1
add dl, dl
jne 0xbcc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbcc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbcc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbcc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbcc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbcc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbcc136
cmp eax, 0x7d00
jae 0xbcc16d
cmp eax, 0x500
jb 0xbcc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbcc075
cmp eax, 0x7f
ja 0xbcc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbcc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbcc19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbcc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10