Function at 0x1004dcec
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080c39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004decf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
push 2
lea ecx, [ebp - 0x68]
call fcn.10017e9c
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x1004dd3d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004dd53
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.10017f3a
and dword [eax], 0
jmp 0x1004dd36
push 1
lea ecx, [ebp - 0x68]
call fcn.10017f3a
mov dword [eax], 0xfffffffd
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1004dd77
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10017f1e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0
jmp 0x1004dd99
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1004ddac
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x80], 5
jmp 0x1004dd92
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1004ddc2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x80], 0xb90da115
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], 0x2c03342e
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x14], 0xb6182eac
mov dword [ebp - 0x18], 0
jmp 0x1004de06
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe3
jge 0x1004de1c
mov dword [ebp - 0x2c], 0x63126ff2
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x1004ddff
cmp dword [ebp - 0x30], 0
je 0x1004de31
cmp dword [ebp - 0x14], 0
je 0x1004de31
mov dword [ebp - 0x34], 1
jmp 0x1004de35
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
je 0x1004de4c
mov dword [ebp - 0x48], 0xbbd0a708
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
jmp 0x1004debb
push 2
lea ecx, [ebp - 0x74]
call fcn.10017e9c
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0
jmp 0x1004de6d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1004de86
push dword [ebp - 0x24]
lea ecx, [ebp - 0x74]
call fcn.10017f3a
mov dword [eax], 0xfffffffa
jmp 0x1004de66
mov dword [ebp - 0x14], 0
jmp 0x1004de96
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004deaf
push dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
call fcn.10017f3a
mov dword [eax], 0xfffffffd
jmp 0x1004de8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10017f1e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1004df2b
mov dword [ebp - 0x28], 0xfffffff8
mov dword [ebp - 0x28], 1
jmp 0x1004dee6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 7
jg 0x1004df14
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1004df00
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1004df12
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1004dedf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret