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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x9b95c7
mov eax, dword [ebp - 0x14]
call fcn.009d38b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x9b95c7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x9b95c7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x9b9756
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x9b9610
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x9b9610
mov eax, dword [ebp - 0x14]
call fcn.009d38b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x9b974b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x9b9756
jmp 0x9b974b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x9b9726
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x9b9726
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x9b9653
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x9b964d
sub eax, 3
je 0x9b964d
sub eax, 3
jne 0x9b9653
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x9b966a
dec eax
je 0x9b9681
dec eax
je 0x9b96a8
dec eax
je 0x9b9681
jmp 0x9b96b5
mov ecx, dword [ebp - 0x18]
mov eax, dword [0xae7154]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.009df3cc
jmp 0x9b974b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x9b969b
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403e3c
jmp 0x9b9756
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x9b974b
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x9b974b
mov eax, dword [0xaeb218]
cmp byte [eax + 0x20], 0
je 0x9b974b
mov eax, dword [0xaeb218]
cmp dword [eax + 0x1c], 0
je 0x9b974b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0xaeb218]
cmp eax, dword [edx + 0x1c]
jne 0x9b974b
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.009d37cc
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403e3c
jmp 0x9b9756
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x9b974b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.009b7658
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9bdb28
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x9bdb49
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x9bdb7e
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x9bdb6e
mov eax, dword [ebp - 4]
call fcn.009bc104
test eax, eax
jne 0x9bdb6e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x9bdca8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.009bd4fc
jmp 0x9bdca8
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x9bdca1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.009c03b4
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.009b9428
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.009bdb28
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.009c03b4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9bdca8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x9c5fe0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0xae72d4]
cmp byte [eax + 0xc], 0
je 0x9c6152
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x9c614b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xaeb26c], 0
jne 0x9c6039
push 0x9c6158
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x9c6160
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb26c], eax
cmp dword [0xae6b94], 0
jne 0x9c6134
push 0x9c6170
call sub.kernel32.dll_LoadLibraryA
mov dword [0xae6b94], eax
cmp dword [0xae6b94], 0
je 0x9c6134
push 0x9c617c
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb270], eax
push 0x9c618c
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb274], eax
push 0x9c61a0
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb278], eax
push 0x9c61b8
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb27c], eax
push 0x9c61d0
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb280], eax
push 0x9c61e4
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb284], eax
push 0x9c61fc
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb288], eax
push 0x9c6214
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb28c], eax
push 0x9c6230
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb290], eax
push 0x9c623c
mov eax, dword [0xae6b94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xaeb294], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9c6152
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404a44
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x9cab49
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404cb4
mov esp, ebp
pop ebp
ret
Function at 0x9d3728
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x9d3780]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x9d3742
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x9d374c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x9d3756
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x9d3760
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x9d376a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x9d377a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x9d3784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x9d37c8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x9d37a5
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x9d37b5
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x9d37bf
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x9db738
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x9db74a
add esp, 0xfffffff0
call fcn.00403f6c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00997d50
mov eax, dword [0xae6f5c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x9dbca8
mov eax, dword [0xae6f68]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x9dbcc8
mov eax, dword [ebp - 4]
call fcn.009dbce8
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x98d6c8]
call fcn.00403c04
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x98d6c8]
call fcn.00403c04
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x98d6c8]
call fcn.00403c04
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x98d6c8]
call fcn.00403c04
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x98d6c8]
call fcn.00403c04
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x9d70f8
push eax
push 0
push 0
mov eax, dword [0xae70bc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x99dc78]
call fcn.0099f5a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x99dc78]
call fcn.0099f5a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x99dc78]
call fcn.0099f5a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.009dc234
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x9dc080
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x9dc080
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x9dc080
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x9db8d2
call fcn.00403fc4
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x9dbe38
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x9dc003
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x9dbfe1
mov dl, 1
mov eax, dword [0x98dc70]
call fcn.00403c04
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a44
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x9dbfca
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.009c6380
test al, al
je 0x9dbfbe
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x9dc014
lea eax, [ebp - 0x25c]
call fcn.009823c8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x9dbfbe
xor eax, eax
push ebp
push 0x9dbfb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x9dc04c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x9dbfa0
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404cb4
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x9dbfa0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9dbfbe
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x9dbead
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00992fec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9dc00a
lea eax, [ebp - 0x268]
call fcn.00404a44
ret
Function at 0x9dcb3c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0xaeb2b8]
cmp byte [eax + 0xa5], 0
jne 0x9dcbb3
cmp dword [0xaeb2d0], 0
jne 0x9dcb71
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x9dcaf8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0xaeb2d0], eax
cmp dword [0xaeb2cc], 0
jne 0x9dcb8c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0xaeb2cc], eax
cmp dword [0xaeb2d4], 0
jne 0x9dcbb3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x9dca98
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0xaeb2d4], eax
pop ecx
pop ebp
ret

Function at 0x9dcc7c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.009dcc14
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x9dcc9d
xor eax, eax
call fcn.009dcc4c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x9dccb7
mov al, 1
call fcn.009dcc4c
mov esp, ebp
pop ebp
ret

Function at 0x9dd380
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0xaeb2b8]
cmp dword [eax + 0x30], 0
je 0x9dd44a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x9dd441
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x9dd300
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x9dd441
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x9dd3fb
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x9dd441
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.009901f4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x9dd410
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x9de160
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x9de1a5
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404b34
jmp 0x9de1b6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404a98
mov esp, ebp
pop ebp
ret
Function at 0x9df548
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x9df59b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.009c0834
test al, al
je 0x9df59b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.009c03b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x9df59b
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.009c03b4
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x9e00a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ef4
mov eax, dword [ebp - 8]
call fcn.00404ef4
mov eax, dword [ebp - 0xc]
call fcn.00404ef4
xor eax, eax
push ebp
push 0x9e01bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x58], 0x44
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], 0
mov word [ebp - 0x26], 0
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x10
call fcn.0099a0d8
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404f04
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404f04
push eax
mov eax, dword [ebp - 4]
call fcn.00404f04
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x9e01a1
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9e01c3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a68
ret
Function at 0x9e0fbc
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404ef4
xor eax, eax
push ebp
push 0x9e104a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404f04
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x9e100e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404f04
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
mov ax, word [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9e1051
lea eax, [ebp - 8]
call fcn.00404a44
ret
Function at 0x9e23a4
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x9e25a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x9e25b8
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402eb0
push dword [ebp - 0x24]
push 0x9e25b8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404dc4
mov eax, dword [ebp - 4]
cmp word [eax + 0xa2], 0
je 0x9e2412
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x9e242c
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x9e2431
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
jne 0x9e2444
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x9e2455
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.00404f04
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.00404f04
push eax
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.009e18e0
mov eax, dword [ebp - 0x28]
call fcn.00404f04
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00404f04
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404f04
push eax
mov eax, dword [ebp - 4]
call fcn.009e1a8c
push eax
mov eax, dword [ebp - 4]
call fcn.009e1a48
push eax
mov eax, dword [ebp - 4]
call fcn.009e19e0
push eax
push 0xf01ff
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.009e1728
mov eax, dword [ebp - 0x2c]
call fcn.00404f04
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404f04
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x90], edx
cmp dword [ebp - 0x10], 0
jne 0x9e24f5
call fcn.00986ce8
xor eax, eax
push ebp
push 0x9e2578
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x9e253a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp word [eax + 0xaa], 0
je 0x9e2530
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x9e2561
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9e257f
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret