joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441a70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ab9b8]
cmp byte [eax + 0xc], 0
je 0x441bdd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441bd6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4acb00], 0
jne 0x441ac4
push 0x441be4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x441bec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb00], eax
cmp dword [0x4a9bf0], 0
jne 0x441bbf
push 0x441bfc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a9bf0], eax
cmp dword [0x4a9bf0], 0
je 0x441bbf
push 0x441c08
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb04], eax
push 0x441c18
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb08], eax
push 0x441c2c
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb0c], eax
push 0x441c44
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb10], eax
push 0x441c5c
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb14], eax
push 0x441c70
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb18], eax
push 0x441c88
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb1c], eax
push 0x441ca0
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb20], eax
push 0x441cbc
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb24], eax
push 0x441cc8
mov eax, dword [0x4a9bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4acb28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441bdd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404a68
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445b23
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404cd8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44de5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44deac]
test si, 4
je 0x44de70
or bl, 1
test si, 8
je 0x44de7a
or bl, 4
test si, 1
je 0x44de84
or bl, 8
test si, 2
je 0x44de8e
or bl, 0x10
test si, 0x10
je 0x44de98
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44dea7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44deb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44dee8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44dec9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ded8
or bl, 4
test esi, 0x20000000
je 0x44dee3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4546bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4546ce
add esp, 0xfffffff0
call fcn.00403f90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420804
mov eax, dword [0x4ab38c]
mov dword [eax + 4], ebx
mov dword [eax], 0x454a60
mov eax, dword [0x4ab39c]
mov dword [eax + 4], ebx
mov dword [eax], 0x454a6c
mov eax, ebx
call fcn.00454a78
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4173b0]
call fcn.00403c28
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4173b0]
call fcn.00403c28
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4173b0]
call fcn.00403c28
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4173b0]
call fcn.00403c28
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4173b0]
call fcn.00403c28
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, 0x450e90
push eax
push 0
push 0
mov eax, dword [0x4ab614]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4222bc]
call fcn.00423af4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4222bc]
call fcn.00423af4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4222bc]
call fcn.00423af4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454eec
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454db4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454db4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454db4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45480b
call fcn.00403fe8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x454b74
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454d44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454d25
mov dl, 1
mov eax, dword [0x417a14]
call fcn.00403c28
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a68
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x454d14
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00441dd0
test al, al
jne 0x454c11
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x454d07
xor edx, edx
push ebp
push 0x454d00
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x454c31
mov ebx, dword [ebp - 0x10]
jmp 0x454c33
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x454d54
lea eax, [ebp - 0x258]
call fcn.0040a130
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454ce9
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x454d8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454ce9
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404cd8
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x454ce9
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454d07
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x454bf2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c2d0
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 0x454d4b
lea eax, [ebp - 0x264]
call fcn.00404a68
ret
Function at 0x45568c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4acb4c]
cmp byte [eax + 0xa5], 0
jne 0x4556fd
cmp dword [0x4acb64], 0
jne 0x4556be
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455648
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4acb64], eax
cmp dword [0x4acb60], 0
jne 0x4556d9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4acb60], eax
cmp dword [0x4acb68], 0
jne 0x4556fd
push esp
push 0
push 0
push 0x4555ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4acb68], eax
pop edx
ret

Function at 0x455dd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4acb4c]
cmp dword [eax + 0x30], 0
je 0x455e82
cmp dword [ebx + 0x94], 0
jne 0x455e7c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455d68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455e7c
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 0x455e42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455e7c
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.00419a7c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455e51
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4569e0
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 0x456a15
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.00404b58
jmp 0x456a22
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404abc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457bec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457c2d
mov eax, esi
call fcn.0043d38c
test al, al
je 0x457c2d
mov eax, dword [ebx + 0x84]
call fcn.0043d088
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457c2d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d088
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4589f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41699c]
call fcn.00405434
xor eax, eax
push ebp
push 0x458b3c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a9e2c], 0
jne 0x458a4b
mov ecx, dword [0x4ab210]
mov dl, 1
mov eax, dword [0x407fb8]
call fcn.0040cd70
call fcn.004043f8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004034d8
mov eax, ebx
call fcn.004052e0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x458b4c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406588
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052f0
test eax, eax
jle 0x458ae3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x458adc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404cf0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404cd8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ec0
test eax, eax
jne 0x458adc
mov ebx, 0x15
jmp 0x458ae8
mov ebx, 0x10
jmp 0x458ae8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a9e2c]
call fcn.00458870
mov eax, dword [ebp - 8]
call fcn.00458870
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004065a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458b43
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a8c
lea eax, [ebp - 0x10]
mov edx, dword [0x41699c]
call fcn.00405504
ret
Function at 0x46f5f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x46f5f8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46f794
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x46f7ac
mov eax, esi
call fcn.0046d478
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404abc
lea ecx, [ebp - 0xc]
mov edx, 0x46f7c0
mov eax, esi
call fcn.0046d478
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404abc
lea ecx, [ebp - 0x10]
mov edx, 0x46f7d8
mov eax, esi
call fcn.0046d478
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404abc
lea ecx, [ebp - 0x14]
mov edx, 0x46f7f4
mov eax, esi
call fcn.0046d478
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404abc
lea ecx, [ebp - 0x18]
mov edx, 0x46f810
mov eax, esi
call fcn.0046d478
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404abc
lea ecx, [ebp - 0x20]
mov edx, 0x46f828
mov eax, esi
call fcn.0046d478
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408f30
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00409324
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x46f840
mov eax, esi
call fcn.0046d478
mov eax, dword [ebp - 0x24]
call fcn.00466b98
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x46f850
mov eax, esi
call fcn.0046d478
mov eax, dword [ebp - 0x28]
call fcn.00466b98
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x46f868
mov eax, esi
call fcn.0046d478
mov eax, dword [ebp - 4]
call fcn.0046674c
test al, al
je 0x46f74b
mov eax, dword [ebp - 4]
call fcn.004092e8
mov edi, eax
test edi, edi
jl 0x46f741
call fcn.0040ae4c
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x46f870]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x46f757
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x46f757
mov eax, dword [ebp - 4]
call fcn.00466b98
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46f87c
mov eax, esi
call fcn.0046d478
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f79b
lea eax, [ebp - 0x30]
call fcn.00404a68
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404a8c
ret
Function at 0x47e3c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47e3ee
mov eax, ebx
call fcn.0047ee74
cmp dword [ebx + 0x40], 0
je 0x47e3e7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47e45f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47e451
cmp dword [ebx + 8], 0
je 0x47e410
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 0x47e422
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47e451
cmp dword [ebx + 8], 0
je 0x47e403
cmp eax, 3
je 0x47e435
dec eax
jne 0x47e403
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 0x47e403
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47e403
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47e47d
cmp dword [ebx + 0x14], 0xcc
je 0x47e47d
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.0047e488
pop ebx
ret

Function at 0x492620
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x492769
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x492753
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.00404f28
push eax
push 0
push 2
push 0x110
push 0xf01ff
mov eax, esi
call fcn.00404f28
push eax
mov eax, edi
call fcn.00404f28
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x492753
mov eax, dword [0x4ab934]
cmp dword [eax], 0
je 0x49273f
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x400
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404f88
mov eax, 4
call fcn.00402b20
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00404d28
inc eax
call fcn.00402b20
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
xor eax, eax
push ebp
push 0x492738
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004925f4
mov eax, dword [ebp - 0x10]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4ab934]
mov eax, dword [eax]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49273f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00402b50
mov eax, dword [ebp - 0x10]
call fcn.00402b50
ret
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492770
lea eax, [ebp - 0x14]
call fcn.00404a68
ret
Function at 0x4927fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 0xc]
xor ecx, ecx
push ebp
push 0x492862
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.004927d0
mov ebx, eax
lea eax, [ebp - 8]
mov edx, esi
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
push esi
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
push ebx
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492869
lea eax, [ebp - 8]
call fcn.00404a68
ret

Function at 0x492874
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
call fcn.004927b4
mov ebx, eax
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4928d3
mov eax, esi
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404cd8
push ebx
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4928e0
mov eax, esi
call fcn.00404a68
push ebx
call sub.advapi32.dll_RegCloseKey_1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49325c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004079ac
ret

Function at 0x493e28
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x493e60
mov eax, dword [esp]
call fcn.00493d90
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x493e74
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f18
xor eax, eax
push ebp
push 0x493fef
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.00493798
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004937b8
mov ebx, eax
jmp 0x493fc1
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404cd8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00494730
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408cb8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408cb8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404e74
je 0x493f98
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404cd8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408cb8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408cb8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404e74
jne 0x493fb2
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004937d8
mov ebx, eax
test ebx, ebx
jne 0x493ef3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493ff6
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404a8c
lea eax, [ebp - 4]
call fcn.00404a68
ret

Function at 0x494548
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f18
xor eax, eax
push ebp
push 0x4945bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49459b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.00404f28
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 4]
call fcn.00409804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4945a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4945c2
lea eax, [ebp - 4]
call fcn.00404a68
ret