joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53cc20
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607eed
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
movzx ecx, byte [eax + 0x278]
test ecx, ecx
je 0x53ccca
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.004e4860
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
call fcn.004ef850
push eax
push str.__s____s
lea edx, [ebp - 0x28]
push edx
call fcn.004e37f0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.004ef480
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp - 0x28]
push eax
call fcn.004ef320
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x4c]
call fcn.0053d120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x53cce4
jmp 0x53cd55
push 0xf01ff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x53cd0f
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x53cd55
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x53cd23
jmp 0x53cd55
cmp dword [ebp - 0x40], 1
jne 0x53cd41
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push 4
mov ecx, dword [ebp - 0x4c]
call fcn.0056f750
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 4
Function at 0x53cd70
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x53cda0
jmp 0x53ce24
push 0xf01ff
mov eax, dword [ebp - 0x30]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x53cdcb
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x53ce24
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x53cdf3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x53ce24
cmp dword [ebp - 0x1c], 1
jne 0x53ce10
mov dword [ebp - 0x24], 0x617f70
lea ecx, [ebp - 0x24]
push ecx
push 1
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret

Function at 0x53ce40
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x53ce70
jmp 0x53cf0a
push 0xf01ff
mov eax, dword [ebp - 0x24]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x53ce9b
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x53cf0a
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x53ceaf
jmp 0x53cf0a
cmp dword [ebp - 0x1c], 4
jne 0x53cf00
push 0x20
mov ecx, dword [ebp - 0x24]
call fcn.0056f750
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x26c], 0
je 0x53cef6
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x26c]
cmp dword [ecx + 4], 0
je 0x53cef6
push 0
push 0
push 0x4ca
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x26c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x53cf20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607f43
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
lea eax, [ebp - 0xa4]
push eax
call fcn.004e4620
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
call fcn.004ef850
push eax
push str._sadsconfig.ini
lea edx, [ebp - 0x28]
push edx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.004ef480
lea eax, [ebp - 0x8c]
push eax
call fcn.004e49e0
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x70]
call fcn.004ef850
push eax
push 0x618030
lea edx, [ebp - 0x40]
push edx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.004ef480
lea eax, [ebp - 0xbc]
push eax
call fcn.004e4bc0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
call fcn.004ef850
push eax
push 0x6180a8
lea edx, [ebp - 0x58]
push edx
call fcn.004e37f0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.004ef480
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.004ef850
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x58]
call fcn.004ef850
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x58]
call fcn.004ef480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret

Function at 0x53d120
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], str.SYSTEMCurrentControlSet_servicesFlash_Helper_Service
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x53d197
lea ecx, [ebp + 8]
call fcn.004eed60
shl eax, 1
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp + 8]
call fcn.004ef850
push eax
push 1
push 0
push str.ImagePath
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.004ef480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x18
Function at 0x540070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.0057ae20
call fcn.00543010
mov dword [ebp - 0x10], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0054d7a0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5401b6
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0054d7a0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x14], 0
je 0x5400f0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
xor eax, eax
jne 0x5400df
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x54019d
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x540192
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0056fe90
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0055a9c0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x540171
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
je 0x540190
cmp dword [ebp - 8], 0
je 0x540190
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x54019b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x5401a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5401b6
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5401c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.0057ae20
call fcn.005565a0
mov dword [ebp - 0x10], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0054d7a0
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x540306
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0054d7a0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x14], 0
je 0x540240
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
xor eax, eax
jne 0x54022f
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5402ed
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5402e2
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0056fe90
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0055a9f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x5402c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
je 0x5402e0
cmp dword [ebp - 8], 0
je 0x5402e0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x5402eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x5402f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x540306
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5586e0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1224
call fcn.005c7560
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1214], ecx
mov ecx, dword [ebp - 0x1214]
call fcn.005592e0
test eax, eax
je 0x558716
mov eax, 1
jmp 0x5588ed
push 0x104
lea eax, [ebp - 0x20e]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x121c], eax
cmp dword [ebp - 0x121c], 0
je 0x558745
cmp dword [ebp - 0x121c], 0x104
jne 0x55874c
xor eax, eax
jmp 0x5588ed
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x22
mov word [ebp + edx - 0x210], ax
mov ecx, 0x22
mov edx, dword [ebp - 0x121c]
mov word [ebp + edx*2 - 0x20e], cx
mov eax, dword [ebp - 0x121c]
lea ecx, [eax + eax + 4]
mov dword [ebp - 0x1220], ecx
cmp dword [ebp - 0x1220], 0x20c
jae 0x558792
jmp 0x558797
call fcn.005c7b25
xor edx, edx
mov eax, dword [ebp - 0x1220]
mov word [ebp + eax - 0x210], dx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x1218], eax
cmp dword [ebp - 0x1218], 0
jne 0x55881d
push 0x400
lea ecx, [ebp - 0x1210]
push ecx
push 0xd80a
call fcn.0054e340
add esp, 0xc
test eax, eax
jne 0x5587fb
push str.Could_not_open_Service_Manager
push 0x400
lea edx, [ebp - 0x1210]
push edx
call fcn.0057ab10
add esp, 0xc
push 0
mov eax, dword [ebp - 0x1214]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1210]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x5588ed
push 0
push 0
push str.RPCSS
push 0
push 0
lea edx, [ebp - 0x210]
push edx
push 1
push 3
push 0x10
push 0xf01ff
mov eax, dword [ebp - 0x1214]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x1214]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x1218]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x1224], eax
cmp dword [ebp - 0x1224], 0
jne 0x5588ce
mov eax, dword [ebp - 0x1218]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea ecx, [ebp - 0xa10]
push ecx
push 0xd80b
call fcn.0054e340
add esp, 0xc
test eax, eax
jne 0x5588af
push str.Could_not_start_service
push 0x400
lea edx, [ebp - 0xa10]
push edx
call fcn.0057ab10
add esp, 0xc
push 0
mov eax, dword [ebp - 0x1214]
add eax, 0x2c
push eax
lea ecx, [ebp - 0xa10]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x5588ed
mov edx, dword [ebp - 0x1224]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x1218]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x55ac50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x55ac91
xor al, al
jmp 0x55ad34
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x55acbd
xor al, al
jmp 0x55ad34
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.005c5d80
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00536790
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0xc
Function at 0x55aff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
push 0x61950c
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x55b032
xor al, al
jmp 0x55b0d5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x55b05e
xor al, al
jmp 0x55b0d5
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005c5d80
add esp, 0xc
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00536790
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 8
Function at 0x55b160
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0x100
lea eax, [ebp + 0x10]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0xff
push 0x100
lea eax, [ebp - 0x204]
push eax
call fcn.005c8503
add esp, 0x14
mov dword [ebp - 0x214], 0
mov ecx, 2
imul edx, ecx, 0xff
mov dword [ebp - 0x210], edx
cmp dword [ebp - 0x210], 0x200
jae 0x55b1d3
jmp 0x55b1d8
call fcn.005c7b25
xor eax, eax
mov ecx, dword [ebp - 0x210]
mov word [ebp + ecx - 0x204], ax
mov edx, 4
imul eax, edx, 0
lea ecx, [ebp - 0x204]
mov dword [ebp + eax - 0x208], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x24c], 0
jne 0x55b218
lea eax, [ebp - 0x204]
push eax
call fcn.005c841c
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x55b26e
push 0
mov edx, 4
imul eax, edx, 0
lea ecx, [ebp + eax - 0x208]
push ecx
push 0
push 1
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x55bf00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a793
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x194]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004e23a0
add esp, 8
mov dword [ebp - 4], 0
push 1
push 0
push 0x65a
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.00568d80
mov eax, dword [ebp - 0x98]
movzx ecx, byte [eax + 0xbf]
test ecx, ecx
je 0x55c07b
push 0x6c
lea ecx, [ebp - 0x94]
call fcn.00578440
lea ecx, [ebp - 0x94]
call fcn.00547540
mov byte [ebp - 4], 1
mov dword [ebp - 0x9c], 0xffffffff
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x94]
call fcn.0058a9a0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jne 0x55c01c
push 0
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0056fd00
push 1
push 4
push 0x65a
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.00568d80
push 0
push 0
mov edx, dword [ebp - 0x98]
push edx
push 0x558900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x55c06a
push 0
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0056fd00
push 2
push 4
push 0x65a
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.00568d80
push 1
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0055ab70
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0056f9e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00549e60
jmp 0x55c0b2
push 0
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0056fd00
push 1
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0055ab70
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x98]
add ecx, 4
call fcn.0056f9e0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55cb50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xbf]
test ecx, ecx
je 0x55cb98
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x558900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0056fd00
push 1
push 1
push 0x65a
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00568d80
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10