Function at 0x45c410
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5f5ea4]
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 0x45c457
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0x5e11f8
call fcn.0045c390
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0x18], eax
push 0x5e1204
call fcn.0045c390
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov ebx, eax
push str._prot
call fcn.0045c390
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov esi, eax
push str._pid
call fcn.0045c390
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0xc], eax
push str._tail
call fcn.0045c390
movzx ecx, byte [0x5fc982]
add esp, 4
cmp byte [0x5fc934], 0
mov edi, 1
mov edx, eax
movzx eax, byte [0x5fc987]
cmovne ecx, edi
test esi, esi
mov byte [0x5fc982], cl
movzx ecx, byte [0x5fc984]
cmovne ecx, edi
cmp byte [0x5fc90b], 0
mov byte [0x5fc984], cl
cmovne eax, edi
mov byte [0x5fc987], al
test edx, edx
je 0x45c53b
mov ecx, edx
mov byte [0x5fc983], 1
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c520
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f6c50
call fcn.0044b730
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test ebx, ebx
je 0x45c643
push 0x5e1230
push ebx
call edi
test eax, eax
jne 0x45c579
mov dword [0x5f69f0], 0xa
mov byte [0x5fc985], 1
mov byte [0x5fc989], 1
mov byte [0x5fc980], 1
jmp 0x45c643
push str.local
push ebx
call edi
test eax, eax
jne 0x45c59b
mov dword [0x5f69f0], 0xb
mov byte [0x5fc985], 1
jmp 0x45c635
push 0x5e1244
push ebx
call edi
test eax, eax
jne 0x45c5bf
mov dword [0x5f69f0], 0xc
mov byte [0x5fc985], al
mov byte [0x5fc989], 1
jmp 0x45c63c
push str.share
push ebx
call edi
test eax, eax
jne 0x45c5e8
mov dword [0x5f69f0], 0xd
mov byte [0x5fc985], al
mov byte [0x5fc989], al
mov byte [0x5fc980], 1
jmp 0x45c643
push str.watch
push ebx
call edi
test eax, eax
jne 0x45c600
mov dword [0x5f69f0], 0xe
jmp 0x45c62e
push 0x5e1264
push ebx
call edi
test eax, eax
jne 0x45c618
mov dword [0x5f69f0], 0xf
jmp 0x45c62e
push 0x5e126c
push ebx
call edi
test eax, eax
jne 0x45c643
mov dword [0x5f69f0], 0x10
mov byte [0x5fc985], 0
mov byte [0x5fc989], 0
mov byte [0x5fc980], 0
mov al, byte [0x5fc937]
test al, al
je 0x45c68d
cmp al, 3
jne 0x45c661
or ecx, 0xffffffff
call fcn.0046ab00
mov byte [0x5fc986], 1
jmp 0x45c68d
cmp al, 2
jne 0x45c678
mov ecx, 1
call fcn.0046ab00
mov byte [0x5fc986], 1
jmp 0x45c68d
cmp al, 1
jne 0x45c68d
mov ecx, 2
call fcn.0046ab00
mov byte [0x5fc986], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c6a3
push eax
call fcn.0055a098
add esp, 4
mov dword [0x5fc97c], eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x45c6f9
push 0x10000
mov byte [0x5fc973], 1
mov dword [0x5f69f0], 0xb
mov byte [0x5fc985], 1
mov byte [0x5fc989], 1
call fcn.00536ab6
add esp, 4
mov dword [esp + 0x18], eax
push esi
push 0x8000
push eax
call fcn.0055a116
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, 0x5fe928
push eax
call fcn.0045c790
mov esi, 1
xor bl, bl
cmp dword [esp + 0x14], esi
jle 0x45c76c
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi*4]
test bl, bl
je 0x45c750
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 0x45c720
sub eax, dword [esp + 0x18]
mov ecx, 0x5f6c38
sar eax, 1
push eax
push edx
call fcn.00452f50
push 1
push 0x5e1274
mov ecx, 0x5f6c38
call fcn.00452f50
jmp 0x45c765
push 0x5e11ec
push edx
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
inc esi
cmp esi, dword [esp + 0x14]
jl 0x45c706
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret