Function at 0x42f552
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491db6
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [section..data]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x158], ecx
xor edi, edi
push eax
mov ecx, esi
mov dword [ebp - 0x154], edi
call fcn.0042d217
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 4], edi
cmp eax, ecx
jne 0x42f5e4
cmp eax, edi
je 0x42f5da
mov edx, dword [ebp - 0x154]
push edx
lea edx, [ebp - 0x15c]
push edx
push ecx
push eax
call fcn.0040b679
mov eax, dword [ebp - 0x168]
push eax
call fcn.00404f07
add esp, 0x14
mov eax, 2
jmp 0x42fd4a
xor ecx, ecx
push 3
mov word [ebp - 0x2c], cx
push 0x4a4c70
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00403bac
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040c163
mov ebx, 8
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
jb 0x42f632
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x154], edi
je 0x42f66e
call fcn.0042b502
mov ecx, eax
call fcn.0041d5f1
mov ecx, eax
call fcn.0043828d
mov dword [ebp - 0x154], eax
test ax, ax
je 0x42f66e
lea ecx, [ebp - 0x168]
call fcn.0040da6e
mov eax, dword [ebp - 0x154]
jmp 0x42fd4a
push 4
xor edx, edx
push 0x4a4b38
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
call fcn.00403bac
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0042cddf
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], ebx
jb 0x42f6b8
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f07
add esp, 4
lea ecx, [ebp - 0x9c]
xor eax, eax
push ecx
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
call fcn.0042d70e
test eax, eax
jne 0x42f8b9
push 0xb
xor edx, edx
push str.ServiceType
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00403bac
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0042cddf
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], ebx
jb 0x42f729
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x6c], ebx
jae 0x42f744
lea eax, [ebp - 0x80]
push str.Daemon
push eax
call fcn.00406acb
add esp, 8
test eax, eax
jne 0x42f7e4
call fcn.0042b502
mov ecx, eax
call fcn.0041d5f1
mov ecx, eax
call fcn.004381de
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x158]
call fcn.0042e3a5
mov esi, eax
cmp dword [ebp - 0x6c], ebx
jb 0x42f792
mov edx, dword [ebp - 0x80]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov word [ebp - 0x80], ax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x88], ebx
jb 0x42f7b9
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], dx
call fcn.0040da6e
mov eax, esi
jmp 0x42fd4a
lea ecx, [ebp - 0x150]
call fcn.0040a6d4
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x48]
call fcn.00409037
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 9
call fcn.0040adec
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], ebx
jb 0x42f82a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
add esp, 4
push 0x4a4b38
lea ecx, [ebp - 0x48]
call fcn.00409037
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xa
call fcn.0042cfcd
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], ebx
jb 0x42f85f
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f07
add esp, 4
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x150]
call fcn.0042d5b6
lea edx, [ebp - 0x9c]
push edx
push eax
mov byte [ebp - 4], 0xb
call fcn.0042e613
add esp, 8
mov esi, eax
cmp dword [ebp - 0x50], ebx
jb 0x42f895
mov eax, dword [ebp - 0x64]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov word [ebp - 0x64], cx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 7
call fcn.0041ae80
jmp 0x42f781
push 9
xor eax, eax
push 0x4a4b20
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
call fcn.00403bac
lea ecx, [ebp - 0x80]
push ecx
mov ebx, 1
mov ecx, esi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x154], ebx
call fcn.0040c163
test eax, eax
je 0x42f937
push 0x4a4b20
lea ecx, [ebp - 0x2c]
call fcn.00409037
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x154], 3
call fcn.0042cddf
mov ebx, 7
mov dword [ebp - 0x154], 1
cmp dword [eax + 0x10], edi
je 0x42f93d
mov dword [ebp - 0x154], edi
test bl, 4
je 0x42f967
and ebx, 0xfffffffb
cmp dword [ebp - 0x34], 8
jb 0x42f957
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
test bl, 2
je 0x42f991
and ebx, 0xfffffffd
cmp dword [ebp - 0x18], 8
jb 0x42f981
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 4
test bl, 1
je 0x42f9af
cmp dword [ebp - 0x6c], 8
jb 0x42f9af
mov edx, dword [ebp - 0x80]
push edx
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x154], edi
je 0x42f9e6
mov ecx, dword [ebp - 0x158]
call fcn.0042dfc0
test eax, eax
je 0x42f9e6
lea ecx, [ebp - 0x9c]
call fcn.0040a4bf
lea ecx, [ebp - 0x168]
call fcn.0040da6e
mov eax, 0x11
jmp 0x42fd4a
push 5
xor eax, eax
push str.Entry
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403bac
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0042cddf
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 0x10
jb 0x42fa31
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov eax, 7
push 0xc
mov word [ebp - 0x2c], cx
xor edx, edx
push str.EncodePathU8
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
call fcn.00403bac
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.0040c163
cmp dword [ebp - 0x50], 8
mov ebx, eax
mov byte [ebp - 4], 0x10
jb 0x42fa84
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f07
add esp, 4
cmp ebx, edi
je 0x42fb2c
push str.OnlyVerifyCertSigner
lea ecx, [ebp - 0x64]
call fcn.00409037
push str.EncodePathU8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00409037
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xd4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.0042cddf
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x14
jb 0x42facc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00439817
add esp, 8
mov edi, eax
lea edx, [ebp - 0x64]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.0040c163
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov ecx, dword [ebp - 0x158]
lea edx, [ebp - 0xb8]
push edx
push edi
call fcn.0042e71e
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.0040a4bf
lea ecx, [ebp - 0xd4]
call fcn.0040a4bf
lea ecx, [ebp - 0x48]
call fcn.0040a4bf
lea ecx, [ebp - 0x64]
jmp 0x42fbfd
push str.EncodePath
lea ecx, [ebp - 0x48]
call fcn.00409037
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0040c163
lea ecx, [ebp - 0x48]
mov ebx, eax
mov byte [ebp - 4], 0x10
call fcn.0040a4bf
push str.OnlyVerifyCertSigner
lea ecx, [ebp - 0x48]
call fcn.00409037
cmp ebx, edi
je 0x42fbc6
mov eax, dword [ebp - 0x168]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x17
jb 0x42fb79
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004396d3
add esp, 8
mov edi, eax
lea edx, [ebp - 0x48]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.0040c163
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov ecx, dword [ebp - 0x158]
lea edx, [ebp - 0xb8]
push edx
push edi
call fcn.0042e71e
lea ecx, [ebp - 0xd4]
mov edi, eax
call fcn.0040a4bf
jmp 0x42fbfa
mov edi, dword [ebp - 0x168]
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.0040c163
cmp eax, 1
sete cl
movzx edx, cl
mov ecx, dword [ebp - 0x158]
push edx
lea eax, [ebp - 0xb8]
push eax
push edi
call fcn.0042e71e
mov edi, eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.0040a4bf
test di, di
je 0x42fc33
lea ecx, [ebp - 0xb8]
call fcn.0040a4bf
lea ecx, [ebp - 0x9c]
call fcn.0040a4bf
lea ecx, [ebp - 0x168]
call fcn.0040da6e
mov eax, edi
jmp 0x42fd4a
mov edi, dword [ebp - 0x168]
add edi, 0x1c
cmp edi, dword [ebp - 0x164]
je 0x42fca4
mov ebx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x158]
cmp dword [edx + 0x2c], 0
je 0x42fc65
push 1
push 0x4a0bc0
lea ecx, [ebx + 0x1c]
call fcn.004051ab
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004386ef
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 0x1a
call fcn.004050a9
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 0x10
jb 0x42fc99
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
add esp, 4
add edi, 0x1c
cmp edi, dword [ebp - 0x164]
jne 0x42fc4a
mov ecx, dword [ebp - 0x158]
push esi
call fcn.0042ee22
mov edi, 8
cmp dword [ebp - 0xa4], edi
jb 0x42fccc
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00404f07
add esp, 4
xor esi, esi
xor eax, eax
mov ebx, 7
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x88], edi
jb 0x42fcff
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x168]
xor edx, edx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], dx
cmp eax, esi
je 0x42fd48
mov ecx, dword [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x164]
lea edx, [ebp - 0x15c]
push edx
push ecx
push eax
call fcn.0040b679
mov edx, dword [ebp - 0x168]
push edx
call fcn.00404f07
add esp, 0x14
xor eax, eax
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.0040330b
mov esp, ebp
pop ebp
ret 4