joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bef80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4bef97
add esp, 0xfffffff0
call fcn.00405b28
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044bc7c
mov eax, dword [0x57aca0]
cmp byte [eax], 0
jne 0x4befc4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x57b288]
cmp word [eax + 2], 0
jne 0x4befde
mov eax, dword [0x57b288]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c1048
mov eax, dword [0x57b4a0]
cmp word [eax + 2], 0
jne 0x4beff8
mov eax, dword [0x57b4a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c124c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x456000]
call fcn.0045c564
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4c17c4
mov dl, 1
mov eax, dword [0x433d00]
call fcn.004055c8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x433d00]
call fcn.004055c8
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 [0x45a6fc]
call fcn.00465a1c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4bf1d8
mov eax, dword [0x57b030]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00465eb0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4c1aac
mov dl, 1
mov eax, dword [0x433d00]
call fcn.004055c8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x57b030]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041e7a8
test eax, eax
je 0x4bf109
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041e4ec
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041e78c
test eax, eax
je 0x4bf121
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407a90
push ebx
push 0x4c0a34
call fcn.004b4d90
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x57aca0]
cmp byte [eax], 0
jne 0x4bf172
mov eax, ebx
call fcn.004bf34c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004c1cd8
mov eax, ebx
call fcn.004c2908
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bf1cf
call fcn.00405b80
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bf618
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4bf6ba
cmp dword [ebx + 0x94], 0
jne 0x4bf6b4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4bf564
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4bf6b4
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 0x4bf67a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4bf6b4
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.0043f510
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4bf689
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x58128c]
cmp dword [eax + 0x170], 0
je 0x4bfa3d
test bl, bl
jne 0x4bf98b
cmp dword [esi + 0x9c], 0
jne 0x4bf980
mov eax, esi
call fcn.004c2758
push eax
push 0x4bf7e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4bf951
mov eax, dword [0x58128c]
cmp byte [eax + 0xd3], 0
je 0x4bf951
mov eax, dword [esi + 0xd8]
call fcn.00408ba8
mov edi, eax
cmp edi, 0
jl 0x4bf951
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4bf93a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bf980
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f510
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bf960
inc dword [esi + 0x9c]
jmp 0x4bfa3d
cmp dword [esi + 0x9c], 0
jle 0x4bfa3d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4bfa3d
cmp dword [esi + 0x44], 0
je 0x4bf9e8
mov eax, dword [0x58128c]
cmp byte [eax + 0xd3], 0
je 0x4bf9e8
mov eax, dword [esi + 0xd8]
call fcn.00408ba8
mov edi, eax
cmp edi, 0
jl 0x4bf9e8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4bf9d1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bfa17
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f510
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4bf9f7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4b2c68]
call fcn.00408d68
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4c0680
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4c06eb
cmp byte [ebx + 0xd3], 0
jne 0x4c06eb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407180
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4c06d8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4c06f8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004073d8
jmp 0x4c06f8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004073d8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c1ec0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c1f2e
mov eax, esi
call fcn.004826bc
test al, al
je 0x4c1f2e
mov eax, dword [ebx + 0x84]
call fcn.0048233c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c1f2e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c1f22
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048233c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004792b8
jmp 0x4c1f2e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c1cf8
pop esi
pop ebx
ret

Function at 0x4c45b8
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.004070fc
xor eax, eax
push ebp
push 0x4c4636
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004079dc
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x4c4601
mov eax, dword [ebx + 4]
call fcn.004079dc
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceW
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_ReportEventW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c463d
lea eax, [ebp - 4]
call fcn.00407018
ret
Function at 0x4c56b4
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 0x4c585c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004047c4
cmp word [ebx + 0xaa], 0
je 0x4c56fd
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4c5711
lea esi, [ebp - 0xc]
jmp 0x4c5713
xor esi, esi
cmp dword [ebx + 0x88], 0
jne 0x4c5720
xor edi, edi
jmp 0x4c572d
mov eax, dword [ebx + 0x88]
call fcn.004079dc
mov edi, eax
mov eax, dword [ebx + 0x84]
call fcn.004079dc
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004c4db0
mov eax, dword [ebp - 0x14]
call fcn.004079dc
push eax
push esi
mov eax, dword [ebx + 0x7c]
call fcn.004079dc
push eax
mov eax, dword [ebp - 4]
call fcn.004079dc
push eax
mov eax, ebx
call fcn.004c4ef8
push eax
mov eax, ebx
call fcn.004c4ecc
push eax
mov eax, ebx
call fcn.004c4e84
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004c4c58
mov eax, dword [ebp - 0x18]
call fcn.004079dc
push eax
mov eax, dword [ebx + 8]
call fcn.004079dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x98], eax
cmp dword [ebp - 0x10], 0
jne 0x4c57b9
call fcn.0042459c
xor edx, edx
push ebp
push 0x4c5832
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4c57f7
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xb2], 0
je 0x4c57ed
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c581b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5839
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x4c586c
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 + 0xba], 0
je 0x4c5898
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xbc]
call dword [esi + 0xb8]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004079dc
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c58bd
call fcn.0042459c
xor eax, eax
push ebp
push 0x4c58f4
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 0x4c58dd
call fcn.0042459c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c58fb
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4e04f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e0618
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004e03dc
mov eax, dword [esi]
call fcn.00408ba0
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416e68]
call fcn.00408d68
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045a8
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045a8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408ba0
mov dword [ebp - 0xc], eax
mov eax, dword [0x57b6c8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004c7a08
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404cac
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408ba0
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004c79e4
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004c779c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004c7a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e061f
lea eax, [ebp - 4]
mov edx, dword [0x416e68]
call fcn.00408e68
ret

Function at 0x4f00b0
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407b68
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4f00d5
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.004079dc
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4f00f4
mov eax, ebx
mov edx, dword [esp]
call fcn.00407b68
pop ecx
pop edx
pop ebx
ret
Function at 0x547ae8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x576984
test edx, edx
jne 0x547afb
xor eax, eax
jmp 0x547c10
mov dword [esp], 1
cmp byte [esp], 0
je 0x547b18
push ecx
push edx
push eax
call fcn.00547c14
add esp, 0xc
jmp 0x547c10
push ecx
push edx
push eax
call fcn.00547ed4
add esp, 0xc
jmp 0x547c10
pop edx
pop esi
pop ebx
ret
Function at 0x547ed4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x576984
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov edi, eax
shr edi, 8
mov edx, dword [ebp + 0xc]
shr esi, 0x18
and edi, 0xff00
and esi, 0xff
add esi, edi
mov edi, eax
and edi, 0xff00
and eax, 0xff
shl edi, 8
shl eax, 0x18
add esi, edi
add esi, eax
mov eax, esi
not eax
jmp 0x547f37
movzx edi, byte [edx]
mov esi, eax
inc edx
shr esi, 0x18
xor esi, edi
shl eax, 8
mov esi, dword [ecx + esi*4 + 0x1000]
xor esi, eax
dec ebx
mov eax, esi
test ebx, ebx
je 0x547f40
test dl, 3
jne 0x547f1d
sub edx, 4
cmp ebx, 0x20
jb 0x548178
Function at 0x55bf58
Capabilities:
Reference alidns dns server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004070fc
xor eax, eax
push ebp
push 0x55c115
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x55c0f7
mov eax, dword [0x57b6c8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004e2810
test al, al
je 0x55bfb7
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004073d8
mov byte [ebp - 9], 1
jmp 0x55c0f7
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x18], 0x57ab9c
xor edx, edx
push ebp
push 0x55c0ad
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x557a50]
call fcn.004d31f0
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x55c09c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
add eax, 0xc4
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
call fcn.004073d8
mov eax, dword [ebp - 0x14]
mov edx, dword [0x55c128]
mov dword [eax + 0xd0], edx
push 1
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0055a1b8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x55c086
mov eax, dword [eax + 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x55c086
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xcc]
mov edx, esi
call fcn.005587ec
mov edi, eax
mov eax, dword [ebp - 8]
mov edx, dword [edi + 0x24]
call fcn.004073d8
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [0x57b6c8]
mov eax, dword [eax]
call fcn.004e2810
test al, al
je 0x55c082
mov byte [ebp - 9], 1
call fcn.0040685c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55c0f7
inc esi
dec ebx
jne 0x55c03d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c0a3
mov eax, dword [ebp - 0x14]
call fcn.004055f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c11c
lea eax, [ebp - 0x1c]
call fcn.00407018
lea eax, [ebp - 4]
call fcn.00407018
ret

Function at 0x55c170
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
xor ecx, ecx
mov dl, 1
mov eax, dword [0x55bc7c]
call fcn.004d31f0
mov ebx, eax
movzx eax, byte [ebx + 0x141]
or al, byte [0x55c1d8]
mov byte [ebx + 0x141], al
mov byte [ebx + 0x140], 1
mov eax, ebx
call fcn.00546228
add eax, 4
mov edx, 0x55c1e8
call fcn.004073d8
mov eax, ebx
call fcn.00546228
add eax, 0xa0
mov edx, 0x55c208
call fcn.004073d8
mov edx, 0x7530
mov eax, ebx
call fcn.0051e2a8
mov eax, ebx
pop ebx
ret
Function at 0x56068c
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x560782
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x56076c
push 0xf01ff
mov eax, ebx
call fcn.004079dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x56076c
xor eax, eax
push ebp
push 0x56072e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x560751
cmp byte [ebp - 1], 0
jne 0x56076c
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x14]
call fcn.004217a8
mov eax, dword [ebp - 0x14]
call fcn.0055b058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560789
lea eax, [ebp - 0x14]
call fcn.00407018
ret

Function at 0x560794
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x560842
push 0xf01ff
mov eax, ebx
call fcn.004079dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x560842
xor eax, eax
push ebp
push 0x56081f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x560842
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x560850
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, 0x5609b0
call fcn.004073d8
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x56099d
push 0xf01ff
mov eax, esi
call fcn.004079dc
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x56099d
xor edx, edx
push ebp
push 0x56097a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x5608db
mov eax, ebx
mov edx, 0x5609c4
call fcn.004073d8
jmp 0x56095e
cmp eax, 4
jne 0x5608ee
mov eax, ebx
mov edx, 0x5609d8
call fcn.004073d8
jmp 0x56095e
cmp eax, 2
jne 0x560901
mov eax, ebx
mov edx, 0x5609d8
call fcn.004073d8
jmp 0x56095e
cmp eax, 3
jne 0x560914
mov eax, ebx
mov edx, 0x5609f0
call fcn.004073d8
jmp 0x56095e
cmp eax, 7
jne 0x560927
mov eax, ebx
mov edx, 0x560a08
call fcn.004073d8
jmp 0x56095e
cmp eax, 1
jne 0x56093a
mov eax, ebx
mov edx, 0x560a1c
call fcn.004073d8
jmp 0x56095e
cmp eax, 5
jne 0x56094d
mov eax, ebx
mov edx, 0x560a30
call fcn.004073d8
jmp 0x56095e
cmp eax, 6
jne 0x56095e
mov eax, ebx
mov edx, 0x560a30
call fcn.004073d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56099d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x560b48
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
test esi, esi
je 0x560b32
xor eax, eax
mov dword [ebp - 0xc], eax
push 2
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x560b32
xor eax, eax
push ebp
push 0x560b0f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.004079dc
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov eax, ebx
call fcn.004079dc
mov edi, eax
push edi
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x560aef
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x10]
call fcn.004217a8
mov eax, dword [ebp - 0x10]
call fcn.0055b058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x560b32
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x560b32
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560b4f
lea eax, [ebp - 0x10]
call fcn.00407018
ret