Function at 0x41b0a0
Capabilities:
Create service
Persist via windows service
Print debug messages
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8d10
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4f52c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x1c], eax
mov ecx, 0x4f4f18
test eax, eax
jne 0x41b205
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x4ca4a0
lea eax, [ebp - 0x10]
push eax
mov ebx, 1
mov dword [ebp - 4], 0
call fcn.00401c50
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.BFDrv_OpenSCManager___Faild__d____n
lea edi, [ebp - 0x1c]
call fcn.00401f80
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x4f4f18]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push ebx
push ecx
push esi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x18]
call fcn.00401f80
mov esi, dword [ebp - 0x18]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b1ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b1cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b1f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4ca49c
lea ecx, [ebp - 0x14]
push ecx
mov ebx, 1
mov dword [ebp - 4], 3
call fcn.00401c50
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.BFDrv_OpenSCManager___ok____n
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401f80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 4
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x18]
call fcn.00401f80
mov edi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b2c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b2eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push 0
mov edx, dword [ebp - 0x1c]
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 1
push 0xf01ff
push str.BFDrv
push str.BFDrv
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x41b793
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp eax, 0x3e5
je 0x41b46d
cmp eax, 0x431
je 0x41b46d
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f4f18
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, 0x4ca4a0
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 6
call fcn.00401d00
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f4f18
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
push eax
push str.BFDrv_CreateService___Faild__d____n
lea edi, [ebp - 0x18]
call fcn.00401f80
add esp, 8
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push esi
push ecx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x10]
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b466
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
jmp 0x41bbd4
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, 0x4ca4a0
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 9
call fcn.00401d00
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.BFDrv_CreateService___Faild_Service_is_ERROR_IO_PENDING_or_ERROR_SERVICE_EXISTS___n
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00401f80
add esp, 4
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x18]
call fcn.00401f80
mov edi, dword [ebp - 0x18]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b546
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b56c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
push 0xf01ff
push str.BFDrv
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edx, dword [0x4f4f18]
mov dword [ebp - 0x18], eax
test eax, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
jne 0x41b699
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, 0x4ca4a0
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 0xc
call fcn.00401d00
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.BFDrv_OpenService___Faild__d____n
lea edi, [ebp - 0x18]
call fcn.00401f80
add esp, 8
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push esi
push ecx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x10]
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b648
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b668
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b466
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
jmp 0x41bbd4
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, 0x4ca49c
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0xf
call fcn.00401d00
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.BFDrv_OpenService___ok____n
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.00401f80
add esp, 4
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x20]
call fcn.00401f80
mov edi, dword [ebp - 0x20]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b741
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b89f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b89f
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4ca49c
lea ecx, [ebp - 0x14]
push ecx
mov ebx, 1
mov dword [ebp - 4], 0x12
call fcn.00401c50
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.BFDrv_CreateService___ok____n
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00401f80
add esp, 4
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x10]
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x13
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b873
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41bbc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4f4f18]
mov dword [ebp - 0x10], eax
mov ecx, 0x4f4f18
cmp eax, 0x3e5
je 0x41b9db
cmp eax, 0x420
mov eax, dword [edx + 0xc]
je 0x41bad7
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, 0x4ca4a0
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 0x15
call fcn.00401d00
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x10]
push ecx
push str.BFDrv_StartService___Faild__d____n
lea edi, [ebp - 0x20]
call fcn.00401f80
add esp, 8
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push esi
push ecx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x10]
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b98e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
jmp 0x41bbca
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, 0x4ca4a0
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 0x18
call fcn.00401d00
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.BFDrv_StartService___Faild_ERROR_IO_PENDING____n
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.00401f80
add esp, 4
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push esi
push ecx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x10]
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x19
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ba86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41baa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
jmp 0x41bbca
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, 0x4ca4a0
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 0x1b
call fcn.00401d00
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.BFDrv_StartService___Faild_ERROR_SERVICE_ALREADY_RUNNING____n
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
call fcn.00401f80
add esp, 4
call esi
mov edx, dword [0x4f4f18]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1d
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push esi
push ecx
push edi
push 0x4ca4a4
push str.__s___TID:_u____s____s__n
lea edi, [ebp - 0x10]
call fcn.00401f80
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
call ebx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x1c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bb7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x1b
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bbc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
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