joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c1a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45c1d3
push esi
call fcn.0045f290
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45c1cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45c259
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45c242
mov eax, dword [esi + 8]
test eax, eax
je 0x45c1f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45c23e
cmp eax, 2
je 0x45c242
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45c1ea
cmp eax, 3
je 0x45c21d
cmp eax, 1
jne 0x45c1ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45c1ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45c1ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045c280
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45c268
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045c280
add esp, 4
pop esi
ret

Function at 0x467de0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x467e83
test eax, eax
jbe 0x467e83
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x467e83
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x467e2e
xor esi, esi
jmp 0x467e34
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x467e5f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00469cf0
add esi, eax
push esi
mov ebx, esi
call fcn.00469cf0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x467e40
pop ebp
test edi, edi
pop edi
jne 0x467e83
test ebx, ebx
je 0x467e83
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0048dd60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x467fc5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4680dd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4680dd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0049f688
mov esi, eax
test esi, esi
je 0x4680dd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4680dd
mov ecx, esi
call fcn.00467f30
cmp edi, eax
jge 0x4680dd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x468063
mov dword [esp + 0x34], 1
jmp 0x4680be
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4680dd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004674f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x473600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47364c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47364c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x473636
push eax
call ebp
test ax, ax
jl 0x473644
inc esi
add edi, 4
cmp esi, 6
jb 0x473628
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00473300
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4766b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x476710
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x476710
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x476710
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x476710
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x476750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x482330
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x48233b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x48243e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4fd968]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4fd968]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4fd968]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4fd968]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4fd968]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4fd968]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4fd968]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4fd968]
xor eax, edx
inc ecx
dec edi
jne 0x482356
pop edi
test esi, esi
je 0x482460
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4fd968]
xor eax, edx
inc ecx
dec esi
jne 0x482442
pop esi
pop ebx
not eax
ret
Function at 0x4a002c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a0064
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049e0b9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049e091
jmp 0x4a0070
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a171d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a175f
call fcn.004a739d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a175f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a1756
xor eax, eax
jmp 0x4a1767
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a176d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a78cd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a78fb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a7919
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a7833
jmp 0x4a7919
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a7919
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a7833
test edi, edi
mov eax, edi
jne 0x4a7903
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4013cb
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push str.SoftwareLenovoIGRS
xor ebx, ebx
push 0x80000002
mov dword [ebp - 4], ebx
call dword [0x4060b0]
test eax, eax
jne 0x401442
cmp dword [ebp - 4], ebx
je 0x401442
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov esi, 0x4064ac
push esi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call dword [0x4060ac]
inc dword [ebp - 8]
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push esi
push dword [ebp - 4]
call dword [0x4060a8]
push dword [ebp - 4]
call dword [0x406078]
mov eax, dword [ebp - 8]
pop edi
pop esi
jmp 0x401444
xor eax, eax
pop ebx
leave
ret

Function at 0x401447
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x4064e8
xor edi, edi
push 0x80000002
mov dword [ebp - 8], edi
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [0x4060b8]
test eax, eax
jne 0x4014cc
mov esi, dword [0x4060b4]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], edi
mov edi, 0x4064e4
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4014c1
push dword [ebp - 8]
call fcn.00405076
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4014c1
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014c1
push ebx
call fcn.0040506a
pop ecx
xor ebx, ebx
push dword [ebp - 4]
call dword [0x406078]
xor edi, edi
xor esi, esi
cmp ebx, edi
je 0x401516
mov eax, dword [ebp - 8]
test al, 3
jne 0x40150f
lea esi, [ebx + eax - 0x14]
cmp esi, ebx
jb 0x4014fb
cmp dword [esi + 4], 0x5000000
jne 0x4014f0
cmp dword [esi + 8], 0x15
je 0x4014f7
sub esi, 4
cmp esi, ebx
jae 0x4014e1
cmp esi, ebx
jae 0x4014fd
xor esi, esi
cmp esi, edi
je 0x40150f
push 0x18
push esi
push dword [ebp + 8]
call fcn.00405070
add esp, 0xc
push ebx
call fcn.0040506a
pop ecx
xor eax, eax
cmp esi, edi
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x401522
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x409074]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401447
test eax, eax
pop ecx
je 0x40162a
push ebx
push dword [ebp - 8]
lea eax, [ebp - 0x11c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push str._08X__08X__08X__08X__08X__08X
push eax
call dword [0x4061fc]
add esp, 0x20
lea eax, [ebp - 0x220]
push eax
push str.SoftwareLenovo_
xor ebx, ebx
push 0x80000002
mov dword [ebp - 0x220], ebx
call dword [0x4060bc]
test eax, eax
je 0x401597
xor eax, eax
jmp 0x401629
push esi
push edi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
mov esi, str.MachineId
push esi
push dword [ebp - 0x220]
xor edi, edi
inc edi
mov byte [ebp - 0x21c], bl
mov dword [ebp - 0x224], 0x100
call dword [0x4060ac]
test eax, eax
jne 0x4015f2
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [0x4063cc]
mov edi, eax
neg edi
sbb edi, edi
neg edi
pop ecx
pop ecx
je 0x401619
lea eax, [ebp - 0x11c]
push eax
call dword [0x4063d0]
pop ecx
inc eax
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x220]
call dword [0x4060a8]
push dword [ebp - 0x220]
call dword [0x406078]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00404fa7
leave
ret
Function at 0x401ee4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x409074]
push edi
push 0x2001f
push str.SoftwareLenovoIGRSDeviceFlags
xor edi, edi
push 0x80000002
lea ecx, [ebp - 0x6c]
mov dword [ebp + 0x198], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.004010c3
test eax, eax
jne 0x401f75
push ebx
xor ebx, ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 0x100
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x80], 4
call dword [0x40606c]
inc ebx
cmp eax, 0xea
je 0x401f24
cmp eax, edi
jne 0x401f71
cmp dword [ebp - 0x78], 4
jne 0x401f24
mov eax, dword [ebp - 0x74]
or dword [ebp - 0x70], eax
jmp 0x401f24
mov edi, dword [ebp - 0x70]
pop ebx
lea ecx, [ebp - 0x6c]
call fcn.004010ac
mov ecx, dword [ebp + 0x198]
mov eax, edi
pop edi
call fcn.00404fa7
add ebp, 0x19c
leave
ret
Function at 0x402e3d
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov eax, 0x405581
call fcn.00405090
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], edi
call dword [0x40634c]
xor esi, esi
inc esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call dword [0x406350]
cmp dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
je 0x402f7e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call dword [0x406354]
push 0x20
push esi
mov esi, dword [0x406358]
mov ebx, str.Microsoft_Base_Cryptographic_Provider_v1.0
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], edi
call esi
mov edi, dword [0x40603c]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
jne 0x402ed5
push 0x28
push 1
push ebx
lea ecx, [ebp - 0x1c]
call esi
push eax
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
je 0x402f7e
push dword [ebp - 0x10]
call fcn.00402c52
test eax, eax
pop ecx
je 0x402f7e
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
call dword [0x406040]
test eax, eax
jne 0x402f13
call dword [0x40611c]
cmp eax, 0x8009000d
jne 0x402f7e
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push dword [ebp - 0x10]
call dword [0x406044]
test eax, eax
je 0x402f7e
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 6
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov esi, dword [0x406048]
call esi
test eax, eax
je 0x402f7e
push dword [ebp - 0x18]
call dword [0x4063e0]
mov edi, eax
test edi, edi
je 0x402f8c
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 6
push 0
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x402f81
push dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.0040187a
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x40635c]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call dword [0x4063b4]
jmp 0x402f81
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x402f8c
push edi
call dword [0x4063dc]
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x402f9c
push dword [ebp - 0x14]
call dword [0x40604c]
cmp dword [ebp - 0x10], esi
je 0x402fab
push esi
push dword [ebp - 0x10]
call dword [0x406050]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call dword [0x406360]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
call dword [0x406364]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call dword [0x4063b4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40418b
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x409074]
push esi
push edi
mov dword [ebp - 4], eax
push 0x200
lea eax, [ebp - 0x204]
push eax
xor edi, edi
push edi
mov esi, ecx
call dword [0x4060f8]
test eax, eax
jne 0x4041c1
or eax, 0xffffffff
jmp 0x404252
push ebx
push 0xf003f
push edi
push edi
call dword [0x406030]
mov ebx, eax
cmp ebx, edi
jne 0x4041da
push 0xfffffffffffffffe
pop eax
jmp 0x404251
mov ecx, dword [0x4090b8]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x4090b8]
push dword [eax + 0x20]
lea ecx, [ebp - 0x204]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push edi
push dword [eax + 0x14]
push ecx
mov cl, byte [esi + 6]
push dword [eax + 0xc]
neg cl
push dword [eax + 0x10]
sbb ecx, ecx
and ecx, 0x100
or ecx, 0x10
push ecx
push 0xf01ff
push dword [eax + 0x28]
push dword [eax + 0x24]
push ebx
call dword [0x406034]
mov ecx, dword [0x4090b8]
mov esi, eax
mov eax, dword [ecx]
push esi
call dword [eax + 8]
cmp esi, edi
mov edi, dword [0x406038]
je 0x404242
push esi
call edi
push ebx
call edi
mov eax, esi
neg eax
sbb eax, eax
and eax, 3
add eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.00404fa7
leave
ret

Function at 0x4042c7
Capabilities:
Query service status
Stop service

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [0x406030]
test eax, eax
mov dword [esp], eax
jne 0x4042e3
or eax, 0xffffffff
pop ecx
ret
mov ecx, dword [0x4090b8]
push ebp
push esi
push 0xf01ff
push dword [ecx + 0x24]
push eax
call dword [0x406028]
mov ebp, eax
test ebp, ebp
jne 0x404305
push 0xfffffffffffffffe
pop esi
jmp 0x40435e
mov esi, 0x409098
push esi
push 1
push ebp
call dword [0x406020]
test eax, eax
je 0x404354
push ebx
push edi
mov edi, dword [0x4060f4]
push 0x64
call edi
mov ebx, dword [0x406024]
jmp 0x404339
cmp dword [0x40909c], 3
jne 0x404341
push 0x64
call edi
push esi
push ebp
call ebx
test eax, eax
jne 0x40432c
cmp dword [0x40909c], 1
pop edi
pop ebx
je 0x404350
push 0xfffffffffffffffd
jmp 0x404356
xor esi, esi
jmp 0x404357
push 0xfffffffffffffffc
pop esi
push ebp
call dword [0x406038]
push dword [esp + 8]
call dword [0x406038]
mov eax, esi
pop esi
pop ebp
pop ecx
ret
Function at 0x40436e
Capabilities:
Pause service
Query service status

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [0x406030]
test eax, eax
mov dword [esp], eax
jne 0x40438a
or eax, 0xffffffff
pop ecx
ret
mov ecx, dword [0x4090b8]
push ebp
push esi
push 0xf01ff
push dword [ecx + 0x24]
push eax
call dword [0x406028]
mov ebp, eax
test ebp, ebp
jne 0x4043ac
push 0xfffffffffffffffe
pop esi
jmp 0x404405
mov esi, 0x409098
push esi
push 2
push ebp
call dword [0x406020]
test eax, eax
je 0x4043fb
push ebx
push edi
mov edi, dword [0x4060f4]
push 0x64
call edi
mov ebx, dword [0x406024]
jmp 0x4043e0
cmp dword [0x40909c], 6
jne 0x4043e8
push 0x64
call edi
push esi
push ebp
call ebx
test eax, eax
jne 0x4043d3
cmp dword [0x40909c], 7
pop edi
pop ebx
je 0x4043f7
push 0xfffffffffffffffd
jmp 0x4043fd
xor esi, esi
jmp 0x4043fe
push 0xfffffffffffffffc
pop esi
push ebp
call dword [0x406038]
push dword [esp + 8]
call dword [0x406038]
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x404415
Capabilities:
Continue service
Query service status

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [0x406030]
test eax, eax
mov dword [esp], eax
jne 0x404431
or eax, 0xffffffff
pop ecx
ret
mov ecx, dword [0x4090b8]
push ebp
push esi
push 0xf01ff
push dword [ecx + 0x24]
push eax
call dword [0x406028]
mov ebp, eax
test ebp, ebp
jne 0x404453
push 0xfffffffffffffffe
pop esi
jmp 0x4044ac
mov esi, 0x409098
push esi
push 3
push ebp
call dword [0x406020]
test eax, eax
je 0x4044a2
push ebx
push edi
mov edi, dword [0x4060f4]
push 0x64
call edi
mov ebx, dword [0x406024]
jmp 0x404487
cmp dword [0x40909c], 5
jne 0x40448f
push 0x64
call edi
push esi
push ebp
call ebx
test eax, eax
jne 0x40447a
cmp dword [0x40909c], 4
pop edi
pop ebx
je 0x40449e
push 0xfffffffffffffffd
jmp 0x4044a4
xor esi, esi
jmp 0x4044a5
push 0xfffffffffffffffc
pop esi
push ebp
call dword [0x406038]
push dword [esp + 8]
call dword [0x406038]
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x4046c9
Capabilities:
Delete service

Disassembly:
push ebx
push ebp
push 0xf003f
push 0
push 0
mov ebp, ecx
call dword [0x406030]
mov ebx, eax
test ebx, ebx
jne 0x4046e7
or eax, 0xffffffff
jmp 0x40473e
mov eax, dword [0x4090b8]
push esi
push edi
push 0xf01ff
push dword [eax + 0x24]
push ebx
call dword [0x406028]
mov edi, dword [0x406038]
mov esi, eax
test esi, esi
jne 0x40470e
push 0xfffffffffffffffe
pop esi
jmp 0x404737
mov ecx, ebp
call fcn.004042c7
mov ecx, dword [0x4090b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push esi
call dword [0x406010]
mov ecx, dword [0x4090b8]
mov eax, dword [ecx]
call dword [eax + 0x10]
push esi
call edi
xor esi, esi
push ebx
call edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4089a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x470a3b
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.00463672
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408a22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004610f0
mov eax, dword [eax]
push 0x13f2200
push eax
call fcn.00453b64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004638fd
test bl, bl
je 0x408a22
push 0x13f2200
lea ecx, [esp + 0xc]
call fcn.00463cd9
push 0x13f5d74
lea ecx, [esp + 0xc]
call fcn.00463cd9
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 0x408a5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004638fd
jmp 0x408b29
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 0x408ae2
lea edx, [esp + 0x7c]
push 0x13f5d70
push edx
call fcn.00453b64
add esp, 8
test eax, eax
je 0x408ae2
lea eax, [esp + 0x7c]
push 0x13f5d6c
push eax
call fcn.00453b64
add esp, 8
test eax, eax
je 0x408ae2
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 0x408a72
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.004638fd
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 0x409320
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 0x409382
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