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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c3b0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c391
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c3a0
or bl, 4
test esi, 0x20000000
je 0x44c3ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452a58
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452a6a
add esp, 0xfffffff0
call fcn.00403ae4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042158c
mov eax, dword [0x4a26a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x452dfc
mov eax, dword [0x4a26bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x452e08
mov eax, ebx
call fcn.00452e14
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f230
push eax
push 0
push 0
mov eax, dword [0x4a295c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422fb0]
call fcn.004243f4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422fb0]
call fcn.004243f4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422fb0]
call fcn.004243f4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453234
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453110
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453110
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453110
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452ba7
call fcn.00403b3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452ef4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45309f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453080
mov dl, 1
mov eax, dword [0x4185f8]
call fcn.004037a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045b4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45306f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00440f28
test al, al
je 0x453062
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4530b0
lea eax, [ebp - 0x254]
call fcn.0040a028
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453062
xor eax, eax
push ebp
push 0x45305b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4530e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453044
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404834
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453044
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453062
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452f65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d044
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4530a6
lea eax, [ebp - 0x260]
call fcn.004045b4
ret

Function at 0x4539d4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a3bb8]
cmp byte [eax + 0xa5], 0
jne 0x453a45
cmp dword [0x4a3bd0], 0
jne 0x453a06
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453990
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a3bd0], eax
cmp dword [0x4a3bcc], 0
jne 0x453a21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a3bcc], eax
cmp dword [0x4a3bd4], 0
jne 0x453a45
push esp
push 0
push 0
push 0x453934
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a3bd4], eax
pop edx
ret
Function at 0x453b3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453b53
add esp, 0xfffffff0
call fcn.00403ae4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042158c
mov eax, dword [0x4a2934]
cmp word [eax + 2], 0
jne 0x453b7b
mov eax, dword [0x4a2934]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455214
mov eax, dword [0x4a2aa4]
cmp word [eax + 2], 0
jne 0x453b95
mov eax, dword [0x4a2aa4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045540c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.004037a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x423760]
call fcn.004293a8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453d1c
mov eax, dword [0x4a2788]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429778
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4559bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a2788]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dd38
test eax, eax
je 0x453c8a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040966c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dd60
test eax, eax
je 0x453c9e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404834
mov eax, dword [0x4a251c]
cmp byte [eax], 0
jne 0x453cd2
mov eax, ebx
call fcn.00453e44
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00455b98
mov eax, ebx
call fcn.0045655c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453d12
call fcn.00403b3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4540c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a3bb8]
cmp dword [eax + 0x30], 0
je 0x45416e
cmp dword [ebx + 0x94], 0
jne 0x454168
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454054
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454168
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45412e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454168
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a64c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45413d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454cd0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454d05
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046a4
jmp 0x454d12
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404608
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455d74
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455db5
mov eax, esi
call fcn.0043c730
test al, al
je 0x455db5
mov eax, dword [ebx + 0x84]
call fcn.0043c4d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455db5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c4d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d878
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x49f224], 0
mov eax, dword [0x4a2d28]
cmp dword [eax], 2
jne 0x45da51
mov eax, dword [0x4a2790]
cmp dword [eax], 5
jl 0x45da51
call fcn.0045a9d8
test al, al
jne 0x45d8a9
call fcn.0045a9e4
call fcn.0045a9d0
mov dword [0x49f22c], eax
push 0x45da54
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f1f0], eax
cmp dword [0x49f1f0], 0
jne 0x45d904
mov edx, 0x8000
mov eax, 0x45da68
call fcn.0040eadc
mov dword [0x49f228], eax
mov eax, dword [0x49f228]
mov dword [0x49f22c], eax
push 0x45da54
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f1f0], eax
cmp dword [0x49f1f0], 0
je 0x45da4c
push 0x45da74
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f1f4], eax
cmp dword [0x49f1f4], 0
je 0x45da4c
push 0x45da80
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f1f8], eax
cmp dword [0x49f1f8], 0
je 0x45da4c
mov byte [0x49f224], 1
push 0x45da90
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f1fc], eax
push 0x45da9c
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f200], eax
push 0x45daa8
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f204], eax
push 0x45dab8
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f208], eax
push 0x45dac8
mov eax, dword [0x49f22c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f20c], eax
mov edx, 0x8000
mov eax, 0x45dae0
call fcn.0040eadc
mov dword [0x49f230], eax
cmp dword [0x49f230], 0
je 0x45da51
push 0x45daf0
mov eax, dword [0x49f230]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f210], eax
push 0x45db0c
mov eax, dword [0x49f230]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f214], eax
push 0x45db2c
mov eax, dword [0x49f230]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f218], eax
push 0x45db48
mov eax, dword [0x49f230]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f21c], eax
push 0x45db60
mov eax, dword [0x49f230]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49f220], eax
ret
call fcn.0045d7f8
ret
Function at 0x4697c8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x4699e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dl, byte [ebp + 0x10]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0045848c
mov eax, dword [ebp - 8]
call fcn.00404884
test eax, eax
jle 0x4698a0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov edx, ebx
mov eax, dword [0x467018]
call fcn.0046711c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46988e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x469878
push 4
push 0x10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004670b8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00457d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469895
lea eax, [ebp - 4]
call fcn.0040ea10
ret
mov eax, dword [0x4a2c0c]
mov eax, dword [eax]
mov edx, ebx
call fcn.00460ccc
test al, al
je 0x469922
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov edx, ebx
mov eax, dword [0x467018]
call fcn.0046711c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469910
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4698fa
push 4
push 4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004670b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00457d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469917
lea eax, [ebp - 4]
call fcn.0040ea10
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov eax, ebx
call fcn.00404884
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov byte [edx + 4], al
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov eax, ebx
call fcn.00404884
test eax, eax
jle 0x469975
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00404884
push eax
lea ecx, [ebp - 0x14]
mov dl, 1
mov eax, ebx
call fcn.004597a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00457d2c
mov eax, ebx
call fcn.00404884
mov edx, dword [ebp + 8]
add dword [edx], eax
mov eax, dword [0x4a2c0c]
mov eax, dword [eax]
mov dx, word [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 2
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004599ac
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00457d2c
mov eax, dword [ebp + 8]
add dword [eax], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699e8
lea eax, [ebp - 0x18]
mov edx, dword [0x457314]
mov ecx, 4
call fcn.00405134
lea eax, [ebp - 8]
call fcn.004045b4
ret
Function at 0x47a430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47a48a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047a424
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004783c8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00477fa4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a491
lea eax, [ebp - 4]
call fcn.004045b4
ret
Function at 0x49a180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xffffffb4
mov esi, esp
lea ebx, [esp + 0x1c]
mov dword [ebx], 0x30
mov dword [ebx + 4], 8
mov dword [ebx + 8], 0x49a0b0
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [0x4a2788]
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebx + 0x18], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebx + 0x1c], eax
mov cl, 0x77
xor edx, edx
xor eax, eax
call fcn.004075a0
push eax
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebx + 0x20], eax
mov eax, 0x49a2ac
mov dword [ebx + 0x28], eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebx + 0x2c], eax
push ebx
call sub.user32.dll_RegisterClassExA
push 0
call sub.user32.dll_ShowCursor
push 0
push 0
push 0
call sub.user32.dll_GetSystemMetrics
push eax
push 1
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
mov eax, dword [0x4a2788]
mov eax, dword [eax]
push eax
push 0
mov edx, 0x49a2b8
mov eax, 0x49a2ac
mov ecx, 0x80000000
call fcn.00407650
mov ebx, eax
mov eax, dword [0x4a29e0]
mov eax, dword [eax]
push eax
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_UpdateWindow
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call sub.user32.dll_SetWindowPos
jmp 0x49a28d
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
xor eax, eax
call fcn.0049b224
push 0xbb8
call sub.kernel32.dll_Sleep_1
xor eax, eax
call fcn.0049b58c
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
je 0x49a269
add esp, 0x4c
pop esi
pop ebx
ret
Function at 0x49a7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49a8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004045b4
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00404a84
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
push eax
call sub.kernel32.dll_SetLastError
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x49a898
cmp dword [ebp - 4], 7
jne 0x49a898
mov eax, dword [ebp - 8]
call fcn.00402770
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49a891
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00404a84
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, dword [ebp - 0xc]
jmp 0x49a876
push dword [esi]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004047bc
push dword [ebp - 0x10]
push 0x49a8c4
mov eax, esi
mov edx, 3
call fcn.00404944
push ebx
call sub.kernel32.dll_lstrlenA_1
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x49a84d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a898
mov eax, dword [ebp - 0xc]
call fcn.00402790
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a8b5
lea eax, [ebp - 0x10]
call fcn.004045b4
ret

Function at 0x49b224
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x49b270
call sub.user32.dll_FindWindowA
test bl, bl
jne 0x49b241
push 0
push eax
call sub.user32.dll_ShowWindow
jmp 0x49b249
push 5
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x49b280
call sub.user32.dll_FindWindowA
test bl, bl
jne 0x49b263
push 0
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 5
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x49b288
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x49b34b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404884
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x49b2db
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404884
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ae4
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403084
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x49b364
mov edx, dword [ebp - 4]
call fcn.004048d0
mov eax, dword [ebp - 0x28]
call fcn.00404a84
mov dword [ebp - 0x1a], eax
mov eax, 0x49b368
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b352
lea eax, [ebp - 0x28]
call fcn.004045b4
lea eax, [ebp - 4]
call fcn.004045b4
ret

Function at 0x49b58c
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, eax
call 0x49b008
cmp eax, 2
jne 0x49b59e
call fcn.0049b524
sub ebx, 1
jb 0x49b5a7
je 0x49b5b2
jmp 0x49b5bb
push 0
push 0x1e
call sub.user32.dll_ExitWindowsEx
pop ebx
ret
push 0
push 0x1d
call sub.user32.dll_ExitWindowsEx
pop ebx
ret

Function at 0x49b954
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.004045b4
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040981c
add esp, 0x18
pop ebx
ret

Function at 0x49bbd8
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xfffffdfc
push 0
push 0
push 3
push 0
push 2
push 0x40000000
push 0x49bc24
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49bc1c
push 0
lea eax, [esp + 4]
push eax
push 0x200
lea eax, [esp + 0x10]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x204
pop ebx
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.004014df
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x508340
Capabilities:
Encode data using xor

Disassembly:
call 0x4f1cb7
pushal
lea esp, [esp + 0x20]
call 0x508340
mov byte [0x8d604deb], al
pushal
lea esp, [esp + 0x20]
pushal
lea esp, [esp + 0x20]
jmp 0x4f1cd8