Function at 0x45c700
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5f6ea4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x45c747
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0x5e2200
call fcn.0045c680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0x18], eax
push 0x5e220c
call fcn.0045c680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov ebx, eax
push str._prot
call fcn.0045c680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov esi, eax
push str._pid
call fcn.0045c680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0xc], eax
push str._tail
call fcn.0045c680
movzx ecx, byte [0x5fd987]
add esp, 4
cmp byte [0x5fd90b], 0
mov edi, 1
mov edx, eax
movzx eax, byte [0x5fd989]
cmovne ecx, edi
cmp byte [0x5fd943], 0
mov byte [0x5fd987], cl
movzx ecx, byte [0x5fd986]
cmovne ecx, edi
test esi, esi
mov byte [0x5fd986], cl
cmovne eax, edi
cmp byte [0x5fd90a], 0
mov byte [0x5fd989], al
movzx eax, byte [0x5fd98c]
cmovne eax, edi
mov byte [0x5fd98c], al
test edx, edx
je 0x45c83b
mov ecx, edx
mov byte [0x5fd988], 1
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c820
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f7c68
call fcn.0044b740
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test ebx, ebx
je 0x45c943
push 0x5e2238
push ebx
call edi
test eax, eax
jne 0x45c879
mov dword [0x5f79f0], 0xa
mov byte [0x5fd98a], 1
mov byte [0x5fd98e], 1
mov byte [0x5fd984], 1
jmp 0x45c943
push str.local
push ebx
call edi
test eax, eax
jne 0x45c89b
mov dword [0x5f79f0], 0xb
mov byte [0x5fd98a], 1
jmp 0x45c935
push 0x5e224c
push ebx
call edi
test eax, eax
jne 0x45c8bf
mov dword [0x5f79f0], 0xc
mov byte [0x5fd98a], al
mov byte [0x5fd98e], 1
jmp 0x45c93c
push str.share
push ebx
call edi
test eax, eax
jne 0x45c8e8
mov dword [0x5f79f0], 0xd
mov byte [0x5fd98a], al
mov byte [0x5fd98e], al
mov byte [0x5fd984], 1
jmp 0x45c943
push str.watch
push ebx
call edi
test eax, eax
jne 0x45c900
mov dword [0x5f79f0], 0xe
jmp 0x45c92e
push 0x5e226c
push ebx
call edi
test eax, eax
jne 0x45c918
mov dword [0x5f79f0], 0xf
jmp 0x45c92e
push 0x5e2274
push ebx
call edi
test eax, eax
jne 0x45c943
mov dword [0x5f79f0], 0x10
mov byte [0x5fd98a], 0
mov byte [0x5fd98e], 0
mov byte [0x5fd984], 0
mov al, byte [0x5fd936]
test al, al
je 0x45c98d
cmp al, 3
jne 0x45c961
or ecx, 0xffffffff
call fcn.0046add0
mov byte [0x5fd98b], 1
jmp 0x45c98d
cmp al, 2
jne 0x45c978
mov ecx, 1
call fcn.0046add0
mov byte [0x5fd98b], 1
jmp 0x45c98d
cmp al, 1
jne 0x45c98d
mov ecx, 2
call fcn.0046add0
mov byte [0x5fd98b], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c9a3
push eax
call fcn.0055a358
add esp, 4
mov dword [0x5fd980], eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x45c9f9
push 0x10000
mov byte [0x5fd977], 1
mov dword [0x5f79f0], 0xb
mov byte [0x5fd98a], 1
mov byte [0x5fd98e], 1
call fcn.00536d77
add esp, 4
mov dword [esp + 0x18], eax
push esi
push 0x8000
push eax
call fcn.0055a3d6
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, 0x5ff930
push eax
call fcn.0045ca90
mov esi, 1
xor bl, bl
cmp dword [esp + 0x14], esi
jle 0x45ca6c
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi*4]
test bl, bl
je 0x45ca50
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ca20
sub eax, dword [esp + 0x18]
mov ecx, 0x5f7c50
sar eax, 1
push eax
push edx
call fcn.00452fa0
push 1
push 0x5e227c
mov ecx, 0x5f7c50
call fcn.00452fa0
jmp 0x45ca65
push 0x5e21f4
push edx
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
inc esi
cmp esi, dword [esp + 0x14]
jl 0x45ca06
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00536b66
mov esp, ebp
pop ebp
ret