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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ae50
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48ac53
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048a6b8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ca90
cmp al, 1
jne 0x48ac53
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048a9d0
test al, al
je 0x48addf
cmp dword [ebp - 8], 0
jge 0x48ac71
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048a6b8
mov eax, dword [ebp - 0x210]
call fcn.004043f0
cmp ebx, eax
jge 0x48acbb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048a6b8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4e5328]
and eax, 0xff
bt dword [edx], eax
jae 0x48acbb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48accf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048abcc
cmp ebx, dword [ebp - 8]
je 0x48add1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48acfb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403558
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e214c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48adbe
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403558
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e214c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046a1b8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403558
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e214c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046a1b8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48adc5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48ae32
cmp dword [ebp - 8], 0
jge 0x48adea
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048a6b8
mov eax, dword [ebp - 0x218]
call fcn.004043f0
cmp eax, dword [ebp - 8]
jg 0x48ae24
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048a6b8
mov eax, dword [ebp - 0x21c]
call fcn.004043f0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048abcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ae57
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404154
ret
Function at 0x48c3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48c4d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x48c4e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x48c4b8
mov dl, 1
mov eax, dword [0x412b38]
call fcn.0040332c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x48c4b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.0040477c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.0040477c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004045f0
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004045f0
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x48c471
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.0040477c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
jmp 0x48c479
cmp ebx, 0x103
jne 0x48c47d
test ebx, ebx
je 0x48c404
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x90]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c4b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0x1c]
call fcn.0040335c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c4da
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404154
ret

Function at 0x4a1ad0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e6ce4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4a1af2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a1af4
shr eax, 1
dec edx
jne 0x4a1ae0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a1ad9
mov byte [0x4e70e4], 1
pop esi
pop ebx
ret

Function at 0x4a1b10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e70e4], 0
jne 0x4a1b27
call fcn.004a1ad0
mov eax, edi
dec eax
test eax, eax
jl 0x4a1b50
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e6ce4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4a1b31
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a40a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4a40d1
dec al
je 0x4a410d
dec al
je 0x4a4151
dec al
je 0x4a41bc
jmp 0x4a4246
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a4246
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a40e1
jmp 0x4a4246
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a4246
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a411d
jmp 0x4a4246
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a4246
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4a417f
xor ebp, ebp
jmp 0x4a4190
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4a4199
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a4161
jmp 0x4a4246
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a4246
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4a4214
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004a1b58
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a41d0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4aa2b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4aa2e2
mov eax, ebx
call fcn.004aad68
cmp dword [ebx + 0x40], 0
je 0x4aa2db
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4aa353
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4aa345
cmp dword [ebx + 8], 0
je 0x4aa304
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4aa316
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4aa345
cmp dword [ebx + 8], 0
je 0x4aa2f7
cmp eax, 3
je 0x4aa329
dec eax
jne 0x4aa2f7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4aa2f7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4aa2f7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4aa371
cmp dword [ebx + 0x14], 0xcc
je 0x4aa371
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004aa37c
pop ebx
ret

Function at 0x4bbecc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4bbf1d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4bbf04
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4bbef4
jmp 0x4bbf1d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4bbf05
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb03c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cb28c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x487374]
call fcn.0040332c
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x344]
call fcn.004876d0
mov dword [ebx + 0x348], eax
mov edx, dword [ebx + 0x33c]
mov eax, dword [ebx + 0x2fc]
call fcn.004638ec
cmp dword [ebx + 0x348], 0
jne 0x4cb12e
xor edx, edx
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov edx, dword [ebx + 0x338]
mov eax, dword [ebx + 0x30c]
call fcn.004638ec
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.0041eb7c
mov edx, dword [ebx + 0x32c]
mov eax, dword [ebx + 0x310]
call fcn.004638ec
mov edx, dword [ebx + 0x330]
mov eax, dword [ebx + 0x314]
call fcn.004638ec
mov edx, dword [ebx + 0x334]
mov eax, dword [ebx + 0x318]
call fcn.004638ec
jmp 0x4cb266
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.0041eb7c
mov dl, 1
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x348]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10c]
call fcn.00408730
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov edx, dword [ebx + 0x328]
call fcn.0040443c
mov edx, dword [ebp - 0x108]
mov eax, dword [ebx + 0x30c]
call fcn.004638ec
push 0xfe
lea eax, [ebp - 0x103]
push eax
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x103]
call fcn.00409144
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, dword [ebx + 0x32c]
call fcn.0040443c
mov edx, dword [ebp - 0x110]
mov eax, dword [ebx + 0x310]
call fcn.004638ec
push 0xfe
lea eax, [ebp - 0x103]
push eax
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x103]
call fcn.00409144
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edx, dword [ebx + 0x330]
call fcn.0040443c
mov edx, dword [ebp - 0x118]
mov eax, dword [ebx + 0x314]
call fcn.004638ec
lea edx, [ebp - 0x124]
mov eax, dword [ebx + 0x348]
call fcn.004caf70
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, dword [ebx + 0x334]
call fcn.0040443c
mov edx, dword [ebp - 0x120]
mov eax, dword [ebx + 0x318]
call fcn.004638ec
mov eax, dword [ebp - 4]
call fcn.0040335c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb293
lea eax, [ebp - 0x124]
mov edx, 8
call fcn.00404154
ret
Function at 0x4cc128
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4cc1f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4387a0]
call fcn.004388a0
mov ebx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.00438940
mov edx, 0x80000002
mov eax, ebx
call fcn.00438940
mov cl, 1
mov edx, 0x4cc20c
mov eax, ebx
call fcn.004389a4
test al, al
je 0x4cc1cc
lea ecx, [ebp - 4]
mov edx, 0x4cc244
mov eax, ebx
call fcn.00438b8c
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402a1c
mov edx, dword [ebp - 8]
pop eax
call fcn.0040453c
jne 0x4cc1b6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xcc]
jmp 0x4cc1cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, ebx
call fcn.00438910
mov eax, ebx
call fcn.0040335c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc1fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404154
ret
Function at 0x4cc748
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4cc750
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc98e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4387a0]
call fcn.004388a0
mov ebx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.00438940
mov cl, 1
mov edx, 0x4cc9a4
mov eax, ebx
call fcn.004389a4
test al, al
je 0x4cc8f7
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004638bc
mov ecx, dword [ebp - 0x10]
mov edx, 0x4cc9bc
mov eax, ebx
call fcn.00438b60
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.004638bc
mov ecx, dword [ebp - 0x14]
mov edx, 0x4cc9d0
mov eax, ebx
call fcn.00438b60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov ecx, eax
mov edx, 0x4cc9e4
mov eax, ebx
call fcn.00438c48
mov esi, 1
jmp 0x4cc82a
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00408644
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4cc9f4
call fcn.0040443c
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00438ac8
test al, al
je 0x4cc82a
inc esi
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00408644
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4cc9f4
call fcn.0040443c
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov eax, ebx
call fcn.00438b8c
cmp dword [ebp - 0x20], 0
jne 0x4cc801
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x4cc8f7
mov esi, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc8]
dec eax
test eax, eax
jl 0x4cc8f7
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [ebp - 8]
call fcn.0048d884
test al, al
je 0x4cc8ef
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00408644
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x4cc9f4
call fcn.0040443c
mov edx, dword [ebp - 0x30]
mov eax, ebx
pop ecx
call fcn.00438b60
inc esi
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x4cc896
mov eax, ebx
call fcn.00438910
mov edx, 0x80000002
mov eax, ebx
call fcn.00438940
mov cl, 1
mov edx, 0x4cca08
mov eax, ebx
call fcn.004389a4
test al, al
je 0x4cc958
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4cc94c
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.00402a1c
mov ecx, dword [ebp - 0x38]
mov edx, 0x4cca40
mov eax, ebx
call fcn.00438b60
jmp 0x4cc958
mov edx, 0x4cca40
mov eax, ebx
call fcn.00438ac8
mov eax, ebx
call fcn.00438910
mov eax, ebx
call fcn.0040335c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc995
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00404154
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404154
ret
Function at 0x4cd448
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cd4f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x300]
cmp byte [eax + 0x57], 0
jne 0x4cd496
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x304]
call fcn.004638bc
cmp dword [ebp - 0x14], 0
jne 0x4cd496
xor edx, edx
mov eax, ebx
call fcn.00480bb8
mov eax, ebx
call fcn.004802d0
jmp 0x4cd4da
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x30
call sub.user32.dll_SystemParametersInfoA
mov dl, 3
mov eax, ebx
call fcn.0047da40
push 4
mov eax, ebx
call fcn.0046a1b8
push eax
call sub.user32.dll_ShowWindow
mov dl, 0xff
mov eax, ebx
call fcn.00480bb8
mov eax, ebx
call fcn.004802d8
mov dl, 1
mov eax, dword [ebx + 0x2f8]
call fcn.00430f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd4f7
lea eax, [ebp - 0x14]
call fcn.00404130
ret

Function at 0x4cd4fc
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
push esp
push 0xf00ff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
lea eax, [esp + 0xc]
push eax
push 0x4cd5a8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp ebx, 3
jne 0x4cd566
push 0xffffffffffffffff
push 0xffffffffffffffff
call sub.kernel32.dll_SetSystemPowerState
jmp 0x4cd5a3
cmp ebx, 4
jne 0x4cd576
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_SetSystemPowerState
jmp 0x4cd5a3
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4cd58b
mov eax, dword [0x4e5174]
mov eax, dword [eax]
call fcn.004839d4
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x4cd5a3
mov eax, dword [0x4e5174]
mov eax, dword [eax]
call fcn.004839d4
add esp, 0x18
pop ebx
ret

Function at 0x4cf91c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov dl, 1
mov eax, dword [0x487374]
call fcn.0040332c
mov dword [esp], eax
mov edx, esp
mov eax, dword [esi + 8]
call fcn.004876d0
mov ebx, eax
push ebx
push 1
push 6
push ebx
call sub.user32.dll_PostMessageA
test ebx, ebx
je 0x4cf98d
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x4cf98d
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push ebx
call sub.user32.dll_GetLastActivePopup
push eax
call sub.user32.dll_SetForegroundWindow
push 1
push ebx
call sub.user32.dll_ShowWindow
mov eax, dword [esi + 4]
call fcn.004045f0
xor edx, edx
call fcn.00486afc
mov eax, dword [esp]
call fcn.0040335c
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x10013364
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100133ec
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.100187be
and dword [eax], 0
jmp 0x100133b1
push 1
mov ecx, dword [ebp - 8]
call fcn.100187be
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.100187be
cmp dword [eax], 0
jne 0x100133ea
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0x15
jmp 0x100133d7
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x14
jl 0x100133e8
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xeb6b9dd9
jmp 0x100133d0
jmp 0x10013399
jmp 0x10013405
push 0x316
push 0x2681
push 0
push 0x5f2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x100159c9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100159f7
push 0x156b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x10015af0
mov dword [ebp - 0x38], 0xfffffff6
mov dword [ebp - 0x34], 0xfffffff6
mov dword [ebp - 0x30], 0xfffffff6
mov dword [ebp - 0x2c], 0xfffffff6
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xeea2
mov dword [ebp - 8], 3
jmp 0x10015a31
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x10015a4f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10015a4d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x10015a2a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 0xc], 0
jne 0x10015ae3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x38], 0x5bfc
jne 0x10015a82
mov dword [ebp - 0x18], 1
jmp 0x10015a86
and dword [ebp - 0x18], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x38]
cmp dword [ebp - 0xc], eax
je 0x10015a9d
mov dword [ebp - 0x10], 1
jmp 0x10015aa1
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x6aa16542
jne 0x10015ab3
mov dword [ebp - 0x14], 1
jmp 0x10015ab7
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 9
jge 0x10015ac6
mov dword [ebp - 0x20], 1
jmp 0x10015aca
and dword [ebp - 0x20], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 0xfffffffa
je 0x10015ae3
and dword [ebp - 0x1c], 0
jmp 0x10015aea
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov esp, ebp
pop ebp
ret