Function at 0x1003d430
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003d4d6
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1003d4a0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1003d4d1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1003d4d1
push 0x549b
push 1
push 0x16f7
push 1
push 0x6406
call fcn.10027319
add esp, 0x14
jmp 0x1003d620
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x20], 0x2e99
mov dword [ebp - 0x50], 0x10008678
cmp dword [ebp - 0x20], 0x312f
jle 0x1003d57d
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [ebp - 0x18], 0
jmp 0x1003d512
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3d61
jge 0x1003d572
and dword [ebp - 0x1c], 0
jmp 0x1003d528
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5b98
jge 0x1003d570
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.1000a4b3
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10021246
push eax
call fcn.10059c65
pop ecx
lea ecx, [ebp - 0x88]
call fcn.1002123c
jmp 0x1003d521
jmp 0x1003d50b
push 0x1752
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x2adc
jge 0x1003d599
push dword [ebp - 0x50]
call fcn.10059c65
pop ecx
jmp 0x1003d5b5
or dword [ebp - 4], 0xffffffff
jmp 0x1003d5bf
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1003d5d5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1003d620
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003d603
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x1003d620
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.10021821
mov dword [eax], 0xa62
jmp 0x1003d5f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret