joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a8dfc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5a8e0e
add esp, 0xfffffff0
call fcn.00406e90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004716e8
mov eax, dword [0x66f1a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x5a92d0
mov eax, dword [0x66f1b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5a92dc
mov eax, ebx
call fcn.005a92e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5a3918
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4df320]
call fcn.004e5cbc
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4df320]
call fcn.004e5cbc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4df320]
call fcn.004e5cbc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4df320]
call fcn.004e5cbc
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4df320]
call fcn.004e5cbc
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005a982c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a96ac
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a96ac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a96ac
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a96ac
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a96ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5a8f8e
call fcn.00406ee8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5a944c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a95f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5a95d9
mov dl, 1
mov eax, dword [0x43b320]
call fcn.00464a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00408694
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5a95c8
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.005242dc
test al, al
je 0x5a95bb
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5a9608
lea eax, [ebp - 0x394]
call fcn.00422044
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5a95bb
xor eax, eax
push ebp
push 0x5a95b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5a9678
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5a959d
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409684
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5a959d
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a95bb
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5a94bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004649a0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a95ff
lea eax, [ebp - 0x3a0]
call fcn.00408694
ret

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

Disassembly:
push ecx
mov eax, dword [0x67679c]
cmp byte [eax + 0xc5], 0
jne 0x5aa22a
cmp dword [0x6767c0], 0
jne 0x5aa1ea
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x669ed4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6767c0], eax
cmp dword [0x6767bc], 0
jne 0x5aa205
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6767bc], eax
cmp dword [0x6767c4], 0
jne 0x5aa22a
push esp
push 0
push 0
mov eax, dword [0x669ed0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x6767c4], eax
pop edx
ret
Function at 0x5aa5fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5aa613
add esp, 0xfffffff0
call fcn.00406e90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004716e8
mov eax, dword [0x66ef94]
cmp byte [eax], 0
jne 0x5aa640
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x66f49c]
cmp word [eax + 2], 0
jne 0x5aa65a
mov eax, dword [0x66f49c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ac9a0
mov eax, dword [0x66f664]
cmp word [eax + 2], 0
jne 0x5aa674
mov eax, dword [0x66f664]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005acba4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4df320]
call fcn.004e5cbc
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5ad02c
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4e4374]
call fcn.004ef43c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5aa864
mov eax, dword [0x66f288]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004ef8c4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5ad2ec
mov dl, 1
mov eax, dword [0x437a14]
call fcn.00406820
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x66f288]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00421e2c
test eax, eax
je 0x5aa78e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00421b90
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00421e10
test eax, eax
je 0x5aa7a6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409684
push ebx
push 0x5ac380
call fcn.0059fa28
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x66ef94]
cmp byte [eax], 0
jne 0x5aa7f7
mov eax, ebx
call fcn.005aaa2c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005ad524
mov eax, ebx
call fcn.005ae1d0
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5aa85b
call fcn.00406ee8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5aad58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5aadfa
cmp dword [ebx + 0xac], 0
jne 0x5aadf4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5aac98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5aadf4
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_GetWindowLongW
test al, 8
je 0x5aadba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5aadf4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0046069c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5aadc9
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x67679c]
cmp dword [eax + 0x188], 0
je 0x5ab209
test bl, bl
jne 0x5ab15c
cmp dword [esi + 0xb4], 0
jne 0x5ab151
mov eax, esi
call fcn.005ae020
push eax
push 0x5aafa0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5ab122
mov eax, dword [0x67679c]
cmp byte [eax + 0xeb], 0
je 0x5ab122
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5ab103
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5ab122
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5ab10b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5ab151
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046069c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5ab131
inc dword [esi + 0xb4]
jmp 0x5ab209
cmp dword [esi + 0xb4], 0
jle 0x5ab209
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5ab209
cmp dword [esi + 0x58], 0
je 0x5ab1be
mov eax, dword [0x67679c]
cmp byte [eax + 0xeb], 0
je 0x5ab1be
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5ab19f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5ab1be
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5ab1a7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5ab1ed
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046069c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5ab1cd
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x59c634]
call fcn.0040b82c
pop edi
pop esi
pop ebx
ret
Function at 0x5abf8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5abfe9
cmp byte [ebx + 0xeb], 0
jne 0x5abfe9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040881c
mov eax, dword [esi]
test eax, eax
je 0x5abfd6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5abff6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408a74
jmp 0x5abff6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408a74
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5ad738
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ad7a9
mov eax, esi
call fcn.0051da64
test al, al
je 0x5ad7a9
mov eax, dword [ebx + 0x98]
call fcn.0051d690
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ad7a9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x5ad79a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051d690
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00513eec
jmp 0x5ad7a9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005ad544
pop esi
pop ebx
ret
Function at 0x5b33fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x90], 0
jne 0x5b3482
mov eax, dword [ebx + 8]
call fcn.0051d690
mov ecx, eax
mov dl, 1
mov eax, dword [0x52a3bc]
call fcn.005174f8
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x90]
xor edx, edx
mov eax, esi
call fcn.00530790
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x5b2ccc
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x90]
call fcn.0051d690
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x90]
call fcn.0051d690
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5b3504
mov eax, dword [ebx + 8]
call fcn.0051d690
mov ecx, eax
mov dl, 1
mov eax, dword [0x52a3bc]
call fcn.005174f8
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov dl, 1
mov eax, esi
call fcn.00530790
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x5b2d18
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0051d690
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0051d690
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x98], 0
jne 0x5b3582
mov eax, dword [ebx + 8]
call fcn.0051d690
mov ecx, eax
mov dl, 1
mov eax, dword [0x52bc48]
call fcn.005174f8
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
mov byte [esi + 0x2a8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051d690
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051d690
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5c9a24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5c9a2c
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
call fcn.0040b8ac
xor eax, eax
push ebp
push 0x5c9b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.005c9a08
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [0x5c8a34]
call fcn.0040b870
xor eax, eax
jmp 0x5c9a81
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + eax]
movzx edx, cl
mov ecx, dword [ebp - 0x14]
mov byte [ecx + edx + 0x18], 0
inc eax
mov edx, dword [ebp - 8]
test edx, edx
je 0x5c9a8d
sub edx, 4
mov edx, dword [edx]
cmp edx, eax
jg 0x5c9a6e
lea eax, [ebp - 8]
mov edx, dword [0x5c8a34]
call fcn.0040b82c
lea edx, [ebp - 0x18]
mov eax, dword [0x673634]
call fcn.00428bec
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.00421950
mov eax, dword [ebp - 0xc]
call fcn.004095e4
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 5
jne 0x5c9af9
lea eax, [ebp - 0x1c]
call fcn.004d9d60
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, 0x5c9ba8
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.004d9430
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov edx, dword [ebp - 0x10]
call fcn.00408a74
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.005c96ac
mov ebx, dword [ebp - 0x24]
mov esi, ebx
mov eax, ebx
mov ebx, eax
test ebx, ebx
je 0x5c9b16
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 9]
push eax
lea eax, [ebp - 0x28]
push eax
mov edx, ebx
dec edx
xor ecx, ecx
mov eax, esi
call fcn.005c3c30
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add eax, 4
call fcn.0040cffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c9b94
lea eax, [ebp - 0x28]
call fcn.0040cfe4
lea eax, [ebp - 0x24]
mov edx, dword [0x5c8a00]
call fcn.0040b82c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004086f4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004086f4
lea eax, [ebp - 8]
mov edx, dword [0x5c8a34]
mov ecx, 2
call fcn.0040a29c
ret

Function at 0x5cac60
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408778
mov eax, dword [ebp - 8]
call fcn.00408778
xor eax, eax
push ebp
push 0x5cacf8
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004095e4
push eax
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x5cacdb
push 4
mov eax, dword [ebp - 8]
call fcn.004095e4
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov edi, eax
test edi, edi
jbe 0x5cacd5
lea eax, [ebp - 0x24]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x5caccf
mov esi, dword [ebp - 0x20]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cacff
lea eax, [ebp - 8]
mov edx, 2
call fcn.004086f4
ret
Function at 0x5cb4dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00408778
mov eax, dword [ebp - 8]
call fcn.00408778
xor eax, eax
push ebp
push 0x5cb55a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x5cb511
xor ebx, ebx
jmp 0x5cb516
mov ebx, 1
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.004095e4
push eax
mov eax, dword [ebp - 4]
call fcn.004095e4
push eax
push 0x5cb56c
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cb561
lea eax, [ebp - 8]
mov edx, 2
call fcn.004086f4
ret

Function at 0x5cb578
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.005cc12c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x5cc028
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x5cc06d
lea eax, [ebp - 0x60]
call fcn.005cb578
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.005cb5a0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005cb674
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x5cc06f
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x5cc098
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x5cc09e
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x5cc07d
lea eax, [ebp - 0x60]
call fcn.005cb578
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.005cb5a0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.005cbf18
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005cb674
lea eax, [ebp - 0x60]
call fcn.005cb578
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.005cb5a0
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.005cb5a0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005cb674
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5dc220
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5dc229
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5dc3ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005dc584
xor eax, eax
push ebp
push 0x5dc3c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x5dc279
call fcn.00407e08
jmp 0x5dc3c7
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 8
je 0x5dc34e
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 1
je 0x5dc2ce
mov eax, dword [ebp - 4]
cmp word [eax + 0x4a], 0
je 0x5dc2ce
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005dc15c
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098bc
mov eax, dword [ebp - 0xc]
push eax
movzx ecx, byte [ebp - 5]
mov edi, dword [ebp - 4]
mov edx, esi
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 4
je 0x5dc30d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.005dc15c
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004098bc
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.004095e4
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 2
je 0x5dc3aa
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.005dc15c
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
push 0x5dc40c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004098bc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005dc194
jmp 0x5dc3aa
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 1
je 0x5dc371
mov eax, dword [ebp - 4]
cmp word [eax + 0x4a], 0
je 0x5dc371
push ebx
movzx ecx, byte [ebp - 5]
mov edi, dword [ebp - 4]
mov edx, esi
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 4
je 0x5dc387
mov eax, ebx
call fcn.004095e4
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 2
je 0x5dc3aa
lea eax, [ebp - 0x28]
mov ecx, 0x5dc40c
mov edx, ebx
call fcn.00409834
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.005dc194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dc3c7
mov eax, dword [ebp - 4]
call fcn.005dc58c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dc3f6
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004086f4
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004086f4
ret