Function at 0x45a700
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5ebea4]
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 0x45a747
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0052f395
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0x5d9120
call fcn.0045a680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0x18], eax
push 0x5d912c
call fcn.0045a680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov ebx, eax
push str._prot
call fcn.0045a680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov esi, eax
push str._pid
call fcn.0045a680
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0xc], eax
push str._tail
call fcn.0045a680
movzx ecx, byte [0x5f27dc]
add esp, 4
cmp byte [0x5f27b4], 0
mov edi, 1
mov edx, eax
movzx eax, byte [0x5f27e1]
cmovne ecx, edi
test esi, esi
mov byte [0x5f27dc], cl
movzx ecx, byte [0x5f27de]
cmovne ecx, edi
cmp byte [0x5f278b], 0
mov byte [0x5f27de], cl
cmovne eax, edi
mov byte [0x5f27e1], al
test edx, edx
je 0x45a82b
mov ecx, edx
mov byte [0x5f27dd], 1
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a810
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5ecbf0
call fcn.0044a910
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test ebx, ebx
je 0x45a933
push 0x5d9158
push ebx
call edi
test eax, eax
jne 0x45a869
mov dword [0x5ec9f0], 0xa
mov byte [0x5f27df], 1
mov byte [0x5f27e2], 1
mov byte [0x5f27d3], 1
jmp 0x45a933
push str.local
push ebx
call edi
test eax, eax
jne 0x45a88b
mov dword [0x5ec9f0], 0xb
mov byte [0x5f27df], 1
jmp 0x45a925
push 0x5d916c
push ebx
call edi
test eax, eax
jne 0x45a8af
mov dword [0x5ec9f0], 0xc
mov byte [0x5f27df], al
mov byte [0x5f27e2], 1
jmp 0x45a92c
push str.share
push ebx
call edi
test eax, eax
jne 0x45a8d8
mov dword [0x5ec9f0], 0xd
mov byte [0x5f27df], al
mov byte [0x5f27e2], al
mov byte [0x5f27d3], 1
jmp 0x45a933
push str.watch
push ebx
call edi
test eax, eax
jne 0x45a8f0
mov dword [0x5ec9f0], 0xe
jmp 0x45a91e
push 0x5d918c
push ebx
call edi
test eax, eax
jne 0x45a908
mov dword [0x5ec9f0], 0xf
jmp 0x45a91e
push 0x5d9194
push ebx
call edi
test eax, eax
jne 0x45a933
mov dword [0x5ec9f0], 0x10
mov byte [0x5f27df], 0
mov byte [0x5f27e2], 0
mov byte [0x5f27d3], 0
mov al, byte [0x5f27b7]
test al, al
je 0x45a976
cmp al, 3
jne 0x45a951
or ecx, 0xffffffff
call fcn.00463880
mov byte [0x5f27e0], 1
jmp 0x45a976
cmp al, 2
jne 0x45a968
mov ecx, 1
call fcn.00463880
mov byte [0x5f27e0], 1
jmp 0x45a976
cmp al, 1
jne 0x45a976
mov ecx, 2
call fcn.00463880
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45a98c
push eax
call fcn.00552b88
add esp, 4
mov dword [0x5f27d8], eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x45a9dd
push 0x10000
mov byte [0x5f27d2], 1
mov dword [0x5ec9f0], 0xb
mov byte [0x5f27df], 1
mov byte [0x5f27e2], 1
call fcn.0052f5a6
add esp, 4
mov dword [esp + 0x18], eax
push esi
push 0x8000
push eax
call fcn.00552c06
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.0045aa70
mov esi, 1
xor bl, bl
cmp dword [esp + 0x14], esi
jle 0x45aa50
nop word [eax + eax]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi*4]
test bl, bl
je 0x45aa34
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aa04
sub eax, dword [esp + 0x18]
mov ecx, 0x5ecbd8
sar eax, 1
push eax
push edx
call fcn.00451c60
push 1
push 0x5d919c
mov ecx, 0x5ecbd8
call fcn.00451c60
jmp 0x45aa49
push 0x5d9114
push edx
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
inc esi
cmp esi, dword [esp + 0x14]
jl 0x45a9f0
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052f395
mov esp, ebp
pop ebp
ret