joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1f90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 0x10
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c1fc2
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c1ff7
cmp dword [esi + 0x14], 0x10
jb 0x4c1fdf
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c2010
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c2042
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c2077
cmp dword [esi + 0x14], 8
jb 0x4c205f
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4c2090
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 0x10
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c20c2
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c20f7
cmp dword [esi + 0x14], 0x10
jb 0x4c20df
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c2110
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor bl, bl
mov dword [ebp - 8], 0
or ecx, 0xf003f
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
jb 0x4c2142
mov eax, dword [eax]
lea edx, [ebp - 8]
push edx
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c2177
cmp dword [esi + 0x14], 8
jb 0x4c215f
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c23c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726106
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
test eax, eax
je 0x4c241a
mov byte [eax], 0
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], 0
call fcn.00482720
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0
or eax, 0x20019
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x20], 1
jb 0x4c2447
mov ebx, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c2538
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x18], eax
mov eax, esi
jb 0x4c246d
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c252f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c252f
add eax, 2
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov ecx, 2
shr eax, 1
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.0051e499
push ebx
mov ebx, eax
mov dword [ebp - 0x14], eax
push 0
push ebx
call fcn.00520480
add esp, 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], 3
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x4c24dc
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
push 0
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c2526
mov eax, dword [ebp - 0x18]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2504
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, edi
call fcn.00481410
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c2526
mov byte [eax], 1
push ebx
call fcn.0051e494
add esp, 4
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
Function at 0x4c3560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72636c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebx + 0x14], 8
jb 0x4c35a0
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.004827f0
add esp, 8
lea ecx, [edi + 4]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.00482470
mov eax, dword [eax + 4]
test eax, eax
je 0x4c367c
cmp eax, dword [edi + 8]
je 0x4c367c
lea ebx, [edi + 0xb0]
mov ecx, ebx
call fcn.004c3820
mov ecx, dword [ebp - 0x2c]
lea esi, [edi + 0x7c]
push dword [ebp - 0x28]
add edi, 0xa8
lea ecx, [ecx + 4]
call fcn.004c3900
add eax, 0x20
push 0x40
mov dword [ebp - 0x2c], eax
call fcn.0051dec4
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov dword [ecx], esi
lea esi, [ecx + 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ebp - 0x20], esi
mov dword [esi + 0x24], 0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
mov edx, dword [eax + 0x24]
test edx, edx
je 0x4c363e
mov eax, dword [edx]
mov ecx, edx
push esi
call dword [eax]
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x24], eax
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
push 0
push ecx
push 0x4c3de0
push 0
push 0
call fcn.00532bb0
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4c369f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 3
call fcn.004a9ac0
cmp dword [ebp - 0x18], 0
jne 0x4c369a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 4
call fcn.00532a18
push 6
mov dword [ebp - 0x18], 0
call fcn.0051b121
int3
Function at 0x4c4640
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7265ad
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x24
xor eax, eax
mov dword [ebp - 0x3c], 0
push str.d02a42f2_39d0_45ed_8935_dd6c58454b51
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00481410
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x24]
call fcn.004c40a0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004813b0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4c47ff
push 0
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x4c47ed
push 0x14
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp - 0x18], xmm0
call fcn.004c50f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
push ecx
push 0x24
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], 0
push ecx
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c4722
mov edi, dword [ebp - 0x44]
mov byte [ebp - 0x1c], 1
jmp 0x4c4729
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x1c], 0
mov ebx, dword [ebp - 0x1c]
test bl, bl
jne 0x4c476d
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c4758
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4c4758
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4c4758
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4c4801
cmp edi, 3
jne 0x4c4788
mov eax, dword [ebp - 0x18]
push 1
push dword [eax]
call fcn.004c5270
test al, al
je 0x4c481d
jmp 0x4c478d
cmp edi, 2
je 0x4c47b1
test bl, bl
je 0x4c4835
cmp edi, 4
je 0x4c47b1
mov eax, dword [ebp - 0x18]
push 0
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4c47b1
push 7
jmp 0x4c481f
mov eax, dword [ebp - 0x18]
push 4
push dword [eax]
call fcn.004c5270
test al, al
jne 0x4c47c5
push 0xa
jmp 0x4c481f
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c47ed
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4c47ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4c47ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x4c47ff
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 9
lea ecx, [ebp - 0x5c]
call fcn.004c4070
push 0x83a27c
lea eax, [ebp - 0x5c]
push eax
call fcn.00520690
call fcn.004900e0
int3
Function at 0x4c4840
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7265ad
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x24
xor eax, eax
mov dword [ebp - 0x3c], 0
push str.d02a42f2_39d0_45ed_8935_dd6c58454b51
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00481410
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x24]
call fcn.004c40a0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004813b0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4c4a01
push 0
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x4c49ef
push 0x24
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp - 0x18], xmm0
call fcn.004c50f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
push ecx
push 0x24
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], 0
push ecx
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c4922
mov edi, dword [ebp - 0x44]
mov byte [ebp - 0x1c], 1
jmp 0x4c4929
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x1c], 0
mov ebx, dword [ebp - 0x1c]
test bl, bl
jne 0x4c496d
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c4958
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4c4958
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4c4958
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4c4a03
cmp edi, 2
jne 0x4c4988
mov eax, dword [ebp - 0x18]
push 4
push dword [eax]
call fcn.004c5270
test al, al
je 0x4c4a1f
jmp 0x4c498d
cmp edi, 3
je 0x4c49b3
test bl, bl
je 0x4c4a37
cmp edi, 1
je 0x4c49b3
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x18]
push 1
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4c49b3
push 7
jmp 0x4c4a21
mov eax, dword [ebp - 0x18]
push 1
push dword [eax]
call fcn.004c5270
test al, al
jne 0x4c49c7
push 9
jmp 0x4c4a21
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4c49ef
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4c49ef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4c49ef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x4c4a01
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 0xa
lea ecx, [ebp - 0x5c]
call fcn.004c4070
push 0x83a27c
lea eax, [ebp - 0x5c]
push eax
call fcn.00520690
call fcn.004900e0
int3
Function at 0x4c4a40
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push 4
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x20], xmm0
call fcn.004c50f0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c4aa0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x10], 1
jmp 0x4c4aa9
mov eax, dword [esp + 0xc]
mov byte [esp + 0x10], 0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ecx
test esi, esi
je 0x4c4adb
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4c4adb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4c4adb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 4

Function at 0x4c4b00
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7265ed
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x12
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.004c50f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x34]
push ecx
push 2
push dword [eax]
mov dword [ebp - 0x34], 0x15180
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xdbba0
call esi
test eax, eax
je 0x4c4bea
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 4
mov dword [ebp - 0x14], 1
push dword [eax]
call esi
test eax, eax
jne 0x4c4ba7
push 0xe
jmp 0x4c4bec
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4c4bcf
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4c4bcf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4c4bcf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 0xd
lea ecx, [ebp - 0x48]
call fcn.004c4070
push 0x83a27c
lea eax, [ebp - 0x48]
push eax
call fcn.00520690
int3
Function at 0x4c5270
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ebx
push esi
push edi
push ecx
push 0x24
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], eax
push ecx
xor edi, edi
push edi
push eax
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c52bb
mov eax, dword [esp + 0x34]
mov byte [esp + 0x10], 1
mov edx, dword [esp + 0x10]
jmp 0x4c52c8
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2c], 0
mov edx, dword [esp + 0x2c]
test dl, dl
je 0x4c5362
mov ebx, dword [ebp + 0xc]
mov esi, eax
cmp eax, ebx
je 0x4c5345
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0
call fcn.004c59a0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0x24
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c5325
mov eax, dword [esp + 0x34]
mov byte [esp + 0x24], 1
mov ecx, dword [esp + 0x24]
jmp 0x4c5332
mov eax, dword [esp + 0xc]
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
inc edi
mov dl, cl
mov esi, eax
cmp edi, 0x1f3
jg 0x4c5345
test cl, cl
je 0x4c5362
jmp 0x4c52d3
test dl, dl
je 0x4c5362
mov ecx, dword [esp + 0x54]
cmp esi, ebx
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 8
call fcn.004900e0
int3
Function at 0x4c6be0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71cb20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0051dec4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0051a5de
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x34], esi
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp - 0x10]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c6d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71cb20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0051dec4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0051a5de
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c7c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret

Function at 0x4c8030
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
add edx, 4
xor ecx, eax
mov eax, dword [edx + 0x10]
imul esi, ecx, 0x1000193
cmp dword [edx + 0x14], 8
jb 0x4c8078
mov edx, dword [edx]
push eax
push edx
call fcn.004827f0
mov ebx, eax
lea ecx, [esi + esi]
xor ebx, ecx
add esp, 8
movzx ecx, bl
mov eax, ebx
xor ecx, 0x811c9dc5
shr eax, 0x10
imul edx, ecx, 0x1000193
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
movzx eax, al
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul eax, eax, 0x1000193
pop ebx
pop ebp
ret 4

Function at 0x4c8370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x248
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.004c8660
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4c8438
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00520480
add esp, 0xc
mov dword [esp + 0x18], 0x22c
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4c8438
nop dword [eax]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c83e7
mov ecx, dword [edi + 0x10]
sub eax, edx
sar eax, 1
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4c8403
mov edx, dword [edi]
cmp ecx, eax
jne 0x4c8428
push ecx
lea eax, [esp + 0x40]
push eax
push edx
call fcn.004826c0
add esp, 0xc
test eax, eax
jne 0x4c8428
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0xc]
jne 0x4c843a
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4c83e0
xor esi, esi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4c8463
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4c8463
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4c8463
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [esp + 0x24c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret