joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00442890
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, 1
mov dword [esp + 0x30], eax
cmp ecx, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x30]
jb 0x4465d4
lea eax, [esp + 0x34]
mov ecx, dword [eax]
add ecx, 0x63
mov eax, 0x51eb851f
mul ecx
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x38]
shr edx, 5
add ecx, edx
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], eax
call fcn.00446510
mov ecx, edi
mov dword [esp + 0x28], 0xffffffff
call fcn.004428a0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x446a60
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446a93
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0xc]
pop esi
ret 8
push edi
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [edi + 0x34]
pop edi
xor eax, eax
pop esi
ret 8

Function at 0x446ab0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x446ae3
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0xc]
pop esi
ret 8
push edi
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [edi + 0x34]
pop edi
xor eax, eax
pop esi
ret 8

Function at 0x446ab4
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x446ae3
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0xc]
pop esi
ret 8
push edi
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [edi + 0x34]
pop edi
xor eax, eax
pop esi
ret 8

Function at 0x447100
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x44711b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x447130
Capabilities:
Delete file
Move file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x447143
mov ecx, dword [esi]
jmp 0x447145
mov ecx, esi
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x447154
mov eax, dword [eax + 4]
jmp 0x447157
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x447168
pop edi
mov al, 1
pop esi
ret
cmp dword [edi + 0x18], 0x10
jb 0x447170
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
xor al, al
pop esi
ret

Function at 0x4473e0
Capabilities:
Set current directory

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1c
push edi
lea edi, [esp + 4]
call fcn.00447310
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
pop edi
jae 0x447401
lea eax, [esp + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
cmp eax, 0x10
jb 0x447424
mov eax, dword [esp + 8]
push eax
call fcn.00442830
add esp, 4
mov al, bl
pop ebx
add esp, 0x1c
ret

Function at 0x447430
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4c4f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov ecx, dword [esp + 0x2c]
push ebx
push esi
push edi
lea edi, [esp + 0xc]
call fcn.00447310
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x30], 0
jae 0x447475
lea esi, [esp + 0x10]
call fcn.0044b400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov eax, dword [esp + 0x24]
setne bl
cmp eax, edi
jb 0x44749c
mov eax, dword [esp + 0x10]
push eax
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4474b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
push esi
lea eax, [esp + 8]
push eax
push 0x400
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [esp + 0x40c]
lea eax, [esp + 8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4474f0
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00401ab0
mov eax, esi
pop esi
add esp, 0x404
ret

Function at 0x447510
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004b1ed0
lea eax, [esp + 4]
push eax
push 0x1000
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
lea edx, [esp + 4]
jne 0x44753f
mov edx, 0x4f2fc0
push esi
mov esi, dword [esp + 0x100c]
mov eax, edx
push edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447560
sub eax, edi
push eax
push edx
mov ecx, esi
call fcn.00401ab0
pop edi
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x448950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c5020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, 0xf
mov dword [esp + 0xc], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x5c], 1
call fcn.004488f0
mov esi, dword [esp + 0x64]
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x34]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401a00
cmp dword [esp + 0x28], 0x10
jb 0x4489de
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4489fe
mov edx, dword [esp + 0x30]
push edx
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret

Function at 0x448a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c5020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, 0xf
mov dword [esp + 0xc], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x5c], 1
call fcn.004488f0
mov esi, dword [esp + 0x64]
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401a00
cmp dword [esp + 0x28], 0x10
jb 0x448aae
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x448ace
mov edx, dword [esp + 0x30]
push edx
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret

Function at 0x449140
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x51343c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x51343c]
mov al, byte [ecx + 0x21]
test al, al
je 0x44916f
push 0x14
call fcn.00448bd0
mov edx, dword [0x51343c]
mov al, byte [edx + 0x21]
add esp, 4
test al, al
jne 0x449158
push 0x14
call fcn.00448bd0
mov ecx, dword [0x51343c]
add esp, 4
call fcn.00444aa0
push 1
call fcn.004b2198
int3
Function at 0x4495b0
Capabilities:
Query service status

Disassembly:
push 0xffffffffffffffff
push 0x4c5160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
mov dword [esp + 0x18], ecx
mov dword [ecx], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x54], ebx
je 0x4496d5
mov eax, 0x4f2fc0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449607
sub eax, edx
push eax
push 0x4f2fc0
lea ecx, [esp + 0x1c]
call fcn.00401ab0
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x60], 1
call fcn.00449210
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, 0x10
jb 0x449648
mov eax, dword [eax + 4]
jmp 0x44964b
add eax, 4
push 4
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp dword [esp + 0x48], 0x10
jb 0x44966b
mov eax, dword [esp + 0x34]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x44968f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00442830
add esp, 4
cmp esi, ebx
je 0x4496d5
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
push esi
je 0x4496cf
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edx, 1
setne bl
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, ebx
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
je 0x4496ec
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
Function at 0x449da0
Capabilities:
Delete service

Disassembly:
push 0xffffffffffffffff
push 0x4c5160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
mov dword [esp + 0x18], ecx
mov dword [ecx], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x54], ebx
je 0x449eb9
mov eax, 0x4f2fc0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x449df7
sub eax, edx
push eax
push 0x4f2fc0
lea ecx, [esp + 0x1c]
call fcn.00401ab0
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x60], 1
call fcn.00449210
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, 0x10
jb 0x449e38
mov eax, dword [eax + 4]
jmp 0x449e3b
add eax, 4
push 0x10000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp dword [esp + 0x48], 0x10
jb 0x449e5e
mov eax, dword [esp + 0x34]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x449e82
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00442830
add esp, 4
cmp esi, ebx
je 0x449eb9
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
push esi
je 0x449eb3
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, ebx
mov edx, dword [esp + 0xc]
mov dword [edx], eax
je 0x449ed0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
Function at 0x44a1b0
Capabilities:
Query service status
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x4c51a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
mov dword [esp + 0x1c], ecx
mov dword [ecx], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, ebx
mov dword [esp + 0x74], ebx
je 0x44a37c
mov eax, 0x4f2fc0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a208
sub eax, edx
push eax
push 0x4f2fc0
lea ecx, [esp + 0x20]
call fcn.00401ab0
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x80], 1
call fcn.00449210
mov ecx, dword [eax + 0x18]
mov edi, 0x10
add esp, 0xc
cmp ecx, edi
jb 0x44a250
mov eax, dword [eax + 4]
jmp 0x44a253
add eax, 4
push 0x24
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp dword [esp + 0x4c], edi
jb 0x44a272
mov eax, dword [esp + 0x38]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], 0
jb 0x44a296
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00442830
add esp, 4
cmp esi, ebx
je 0x44a37c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0xc8
lea esp, [esp]
lea edx, [esp + 0x50]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44a2db
mov eax, dword [esp + 0x54]
cmp eax, 1
je 0x44a363
cmp eax, 4
je 0x44a313
dec edi
je 0x44a2f8
push 0x14
call ebx
jmp 0x44a2b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ecx], eax
call esi
push ebp
call esi
jmp 0x44a393
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edx], 0xfff3
call esi
push ebp
call esi
jmp 0x44a393
lea eax, [esp + 0x50]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x44a373
xor edi, edi
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44a34b
cmp dword [esp + 0x54], 1
je 0x44a363
push 0x14
call ebx
inc edi
cmp edi, 0x12c
jl 0x44a327
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edx], 0xfff2
call esi
push ebp
call esi
jmp 0x44a393
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebp
call esi
mov al, 1
jmp 0x44a395
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, ebx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
je 0x44a393
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4
Function at 0x44a3b0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c51c8
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
mov esi, dword [esp + 0x90]
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x44a3ef
mov eax, dword [esp + 0x8c]
push eax
call fcn.004494a0
add esp, 4
jmp 0x44a5d8
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
call fcn.00449710
test al, al
jne 0x44a416
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.004494a0
add esp, 4
jmp 0x44a5d8
push esi
lea ecx, [esp + 0xc]
call fcn.004495b0
test al, al
jne 0x44a453
mov dword [0x513440], 0xfff1
call fcn.0044a6f0
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.00449ef0
test al, al
jne 0x44a44c
mov edx, dword [esp + 8]
mov dword [0x513440], edx
xor al, al
jmp 0x44a5d8
push ebp
push edi
push 0x4ee51c
lea ecx, [esp + 0x34]
call fcn.00401f20
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x98], ebx
call fcn.00449210
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
mov byte [esp + 0x8c], 1
jb 0x44a496
mov eax, dword [eax + 4]
jmp 0x44a499
add eax, 4
push eax
push ebx
call fcn.0044b400
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
cmp dword [esp + 0x2c], edi
jb 0x44a4bc
mov edx, dword [esp + 0x18]
push edx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x48], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x8c], 0xffffffff
jb 0x44a4ea
mov eax, dword [esp + 0x34]
push eax
call fcn.00442830
add esp, 4
cmp ebp, ebx
jne 0x44a4ff
mov dword [0x513440], 0xfff2
xor al, al
jmp 0x44a5d6
push 0x1f4
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44a527
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x513440], 0x420
xor al, al
jmp 0x44a5d6
push 0x4f2fc0
lea ecx, [esp + 0x50]
mov dword [0x513440], ebx
call fcn.00401f20
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x6c]
push esi
push edx
mov dword [esp + 0x98], 2
call fcn.00449210
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x44a565
mov ecx, dword [eax + 4]
jmp 0x44a568
lea ecx, [eax + 4]
mov edx, 0x513338
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x44a570
lea ecx, [esp + 0x68]
call fcn.00465170
lea ecx, [esp + 0x4c]
call fcn.00465170
mov eax, dword [esp + 0x94]
push 0x513444
mov dword [0x513444], 0x513338
mov dword [0x513448], 0x4490e0
mov dword [0x51343c], eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x44a5c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x513440], eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x513440], ebx
sete al
pop edi
pop ebp
mov ecx, dword [esp + 0x7c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 8
Function at 0x44ca20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c52e8
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x14]
cmp esi, ecx
jb 0x44ca61
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
cmp esi, ecx
push ebx
jae 0x44ca91
mov edx, dword [edi + 0x18]
lea esp, [esp]
cmp edx, 0x10
jb 0x44ca7a
mov eax, dword [edi + 4]
jmp 0x44ca7d
lea eax, [edi + 4]
mov al, byte [eax + esi]
cmp al, 0xa
je 0x44cb88
cmp al, 0xd
je 0x44cafe
inc esi
cmp esi, ecx
jb 0x44ca70
mov ecx, dword [ebp]
mov eax, esi
sub eax, ecx
push eax
push ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00401a00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x78], 2
call fcn.00401a00
cmp dword [esp + 0x60], 0x10
jb 0x44cae6
mov edx, dword [esp + 0x4c]
push edx
call fcn.00442830
add esp, 4
mov dword [ebp], esi
mov ecx, dword [esp + 0x64]
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x60
ret
mov ecx, dword [ebp]
mov eax, esi
sub eax, ecx
push eax
push ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401a00
mov ecx, dword [esp + 0x78]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x78], ebx
call fcn.00401a00
cmp dword [esp + 0x28], 0x10
jb 0x44cb4c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00442830
add esp, 4
lea eax, [esi + 1]
mov dword [ebp], eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jae 0x44cae9
cmp dword [edi + 0x18], 0x10
jb 0x44cb72
mov edi, dword [edi + 4]
jmp 0x44cb75
add edi, 4
cmp byte [eax + edi], 0xa
jne 0x44cae9
inc eax
mov dword [ebp], eax
jmp 0x44cae9
mov ecx, dword [ebp]
mov eax, esi
sub eax, ecx
push eax
push ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401a00
mov ecx, dword [esp + 0x78]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x78], 1
call fcn.00401a00
cmp dword [esp + 0x44], 0x10
jb 0x44cbda
mov eax, dword [esp + 0x30]
push eax
call fcn.00442830
add esp, 4
inc esi
jmp 0x44cae6