joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453210
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 0x4533bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45339c
mov dl, 1
mov eax, dword [0x41476c]
call fcn.00403e48
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404d58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45338b
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.00448120
test al, al
je 0x45337e
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, 0x4533cc
lea eax, [ebp - 0x254]
call fcn.0040b228
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45337e
xor eax, eax
push ebp
push 0x453377
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 0x453404
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453360
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404fc8
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 0x453360
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404fc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45337e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453281
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00418d8c
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 0x4533c2
lea eax, [ebp - 0x260]
call fcn.00404d58
ret

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

Disassembly:
push ecx
mov eax, dword [0x46bec4]
cmp byte [eax + 0xad], 0
jne 0x453da5
cmp dword [0x46bee0], 0
jne 0x453d66
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453cf0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bee0], eax
cmp dword [0x46bedc], 0
jne 0x453d81
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46bedc], eax
cmp dword [0x46bee4], 0
jne 0x453da5
push esp
push 0
push 0
push 0x453c94
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46bee4], eax
pop edx
ret
Function at 0x453f78
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453f8f
add esp, 0xfffffff0
call fcn.0040419c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d580
mov eax, dword [0x4640cc]
cmp word [eax + 2], 0
jne 0x453fb7
mov eax, dword [0x4640cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455a54
mov eax, dword [0x46418c]
cmp word [eax + 2], 0
jne 0x453fd1
mov eax, dword [0x46418c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455c60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4141bc]
call fcn.00403e48
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4141bc]
call fcn.00403e48
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4141bc]
call fcn.00403e48
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x420bdc]
call fcn.00428200
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454188
mov eax, dword [0x463ff0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004285d4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456324
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x463ff0]
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.0040e9ec
test eax, eax
je 0x4540d8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040abb4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ea20
test eax, eax
je 0x4540ec
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404fc8
mov byte [ebx + 0xd4], 0
push ebx
push 0x4556a0
call fcn.0041ed1c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x463ee0]
cmp byte [eax], 0
jne 0x45413d
mov eax, ebx
call fcn.004542cc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004564fc
mov eax, ebx
call fcn.00457060
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45417d
call fcn.004041f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45454c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4545eb
cmp dword [ebx + 0x94], 0
jne 0x4545e5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4544d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4545e5
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 0x4545ab
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4545e5
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.00416884
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4545ba
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454804
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46bec4]
cmp dword [eax + 0x30], 0
je 0x454961
test bl, bl
jne 0x4548b2
cmp dword [esi + 0x9c], 0
jne 0x4548a7
mov eax, esi
call fcn.00456edc
push eax
push 0x454730
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x454878
mov eax, dword [0x46bec4]
call fcn.004575bc
test al, al
je 0x454878
mov eax, dword [0x46bee8]
call fcn.00405c60
mov edi, eax
cmp edi, 0
jl 0x454878
push 0
mov eax, dword [0x46bee8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x454862
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4548a7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00416884
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x454887
inc dword [esi + 0x9c]
jmp 0x454961
cmp dword [esi + 0x9c], 0
jle 0x454961
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x454961
cmp dword [esi + 0x44], 0
je 0x45490d
mov eax, dword [0x46bec4]
call fcn.004575bc
test al, al
je 0x45490d
mov eax, dword [0x46bee8]
call fcn.00405c60
mov edi, eax
cmp edi, 0
jl 0x45490d
push 5
mov eax, dword [0x46bee8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4548f7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45493c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00416884
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45491c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46bee8
mov ecx, 1
mov edx, dword [0x454710]
call fcn.00405e14
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4553f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45545e
mov eax, ebx
call fcn.004575bc
test al, al
jne 0x45545e
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.00404e48
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45544b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45546b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404dac
jmp 0x45546b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404dac
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4566e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45674e
mov eax, esi
call fcn.00442e98
test al, al
je 0x45674e
mov eax, dword [ebx + 0x84]
call fcn.00442b14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45674e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x456742
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442b14
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043aaa8
jmp 0x45674e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045651c
pop esi
pop ebx
ret

Function at 0x45cae8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004051d8
xor eax, eax
push ebp
push 0x45cc1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x45cbf0
xor edx, edx
push ebp
push 0x45cbe9
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x45cb35
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45cbbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x45cbad
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x45cb74
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004051e8
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004032c4
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cbb4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x463f24]
mov dl, 1
mov eax, dword [0x40935c]
call fcn.0040dc90
call fcn.004046ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc24
lea eax, [ebp - 4]
call fcn.00404d58
ret
Function at 0x45cc2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45cde7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004054dc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x45ce00
call fcn.00405070
mov eax, ebx
call fcn.0041dbc0
mov edi, eax
dec edi
test edi, edi
jl 0x45cce4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041db94
mov edx, dword [0x45ac00]
call fcn.00404004
test al, al
je 0x45cce0
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041db94
lea edx, [ebp - 0x14]
call fcn.0043ab88
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004054dc
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004050ec
inc esi
dec edi
jne 0x45cc92
movzx eax, byte [0x45ce04]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x45ce10
mov eax, dword [ebp - 8]
call fcn.0040eef8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404df0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043ab88
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x45ce00
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0043ab88
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x45ce00
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x45ce00
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x45ce1c
call fcn.0040b2a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cdee
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404d7c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d7c
lea eax, [ebp - 0x14]
call fcn.00404d58
lea eax, [ebp - 0x10]
call fcn.00404d58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d7c
ret
Function at 0x45e89c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004051d8
xor eax, eax
push ebp
push 0x45e91a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004051e8
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x45e8e5
mov eax, dword [ebx + 4]
call fcn.004051e8
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e921
lea eax, [ebp - 4]
call fcn.00404d58
ret

Function at 0x45f9bc
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45fb61
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.00403520
cmp word [ebx + 0xa2], 0
je 0x45fa05
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x45fa19
lea esi, [ebp - 0xc]
jmp 0x45fa1b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x45fa28
xor edi, edi
jmp 0x45fa35
mov eax, dword [ebx + 0x80]
call fcn.004051e8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.004051e8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0045f06c
mov eax, dword [ebp - 0x14]
call fcn.004051e8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.004051e8
push eax
mov eax, dword [ebp - 4]
call fcn.004051e8
push eax
mov eax, ebx
call fcn.0045f1ac
push eax
mov eax, ebx
call fcn.0045f180
push eax
mov eax, ebx
call fcn.0045f138
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045ef38
mov eax, dword [ebp - 0x18]
call fcn.004051e8
push eax
mov eax, dword [ebx + 8]
call fcn.004051e8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x45fabe
call fcn.0040f3c0
xor edx, edx
push ebp
push 0x45fb37
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45fafc
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x45faf2
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45fb20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fb3e
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45fb70
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x45fb9c
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004051e8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45fbc1
call fcn.0040f3c0
xor eax, eax
push ebp
push 0x45fbf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x45fbe1
call fcn.0040f3c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fbff
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x40b950
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46affb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045f9ae
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b9d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d72d
mov eax, dword [eax]
push 0x5641c0
push eax
call fcn.00450594
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045fc39
test bl, bl
je 0x40b9d2
push 0x5641c0
lea ecx, [esp + 0xc]
call fcn.0045ffc9
push 0x567d50
lea ecx, [esp + 0xc]
call fcn.0045ffc9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40ba0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045fc39
jmp 0x40bad9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ba92
lea edx, [esp + 0x7c]
push 0x567d4c
push edx
call fcn.00450594
add esp, 8
test eax, eax
je 0x40ba92
lea eax, [esp + 0x7c]
push 0x567d48
push eax
call fcn.00450594
add esp, 8
test eax, eax
je 0x40ba92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ba22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045fc39
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40c2d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c332
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40c340
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b07b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x56e220]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40c478
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c3a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fc39
xor eax, eax
jmp 0x40c4ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045fd76
push esi
lea ecx, [esp + 0xc]
call fcn.00460005
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c4cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040c2d0
test eax, eax
jne 0x40c4cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040c2d0
test eax, eax
jne 0x40c4cd
lea eax, [esp + 0x14]
push 0x567d64
push eax
call fcn.004515d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c4ac
lea ecx, [esp + 0x14]
push 0x567d60
push ecx
call fcn.00451550
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c4ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c4af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045fd26
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c3be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fc39
xor eax, eax
jmp 0x40c4ef
mov byte [esi], 0
push 0x567d5c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045fc39
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4