Function at 0x458070
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x5e8ea4]
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 0x4580b7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0052c886
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0x5d5e7c
call fcn.00457ff0
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov dword [esp + 0x18], eax
push 0x5d5e88
call fcn.00457ff0
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov ebx, eax
push str._prot
call fcn.00457ff0
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
mov esi, eax
push str._pid
call fcn.00457ff0
movzx ecx, byte [0x5ef798]
add esp, 4
cmp byte [0x5ef754], 0
mov edx, 1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmovne ecx, edx
mov dword [esp + 0xc], eax
movzx eax, byte [0x5ef79c]
test esi, esi
mov byte [0x5ef798], cl
movzx ecx, byte [0x5ef799]
cmovne ecx, edx
cmp byte [0x5ef72b], 0
mov byte [0x5ef799], cl
cmovne eax, edx
mov byte [0x5ef79c], al
test ebx, ebx
je 0x458260
push 0x5d5ea8
push ebx
call edi
test eax, eax
jne 0x458191
mov dword [0x5e99f0], 0xa
mov byte [0x5ef79a], 1
mov byte [0x5ef79d], 1
mov byte [0x5ef787], 1
jmp 0x45825b
push str.local
push ebx
call edi
test eax, eax
jne 0x4581b3
mov dword [0x5e99f0], 0xb
mov byte [0x5ef79a], 1
jmp 0x45824d
push 0x5d5ebc
push ebx
call edi
test eax, eax
jne 0x4581d7
mov dword [0x5e99f0], 0xc
mov byte [0x5ef79a], al
mov byte [0x5ef79d], 1
jmp 0x458254
push str.share
push ebx
call edi
test eax, eax
jne 0x458200
mov dword [0x5e99f0], 0xd
mov byte [0x5ef79a], al
mov byte [0x5ef79d], al
mov byte [0x5ef787], 1
jmp 0x45825b
push str.watch
push ebx
call edi
test eax, eax
jne 0x458218
mov dword [0x5e99f0], 0xe
jmp 0x458246
push 0x5d5edc
push ebx
call edi
test eax, eax
jne 0x458230
mov dword [0x5e99f0], 0xf
jmp 0x458246
push 0x5d5ee4
push ebx
call edi
test eax, eax
jne 0x45825b
mov dword [0x5e99f0], 0x10
mov byte [0x5ef79a], 0
mov byte [0x5ef79d], 0
mov byte [0x5ef787], 0
mov edx, 1
mov al, byte [0x5ef756]
test al, al
je 0x4582a0
cmp al, 3
jne 0x45827e
or ecx, 0xffffffff
call fcn.00461130
mov byte [0x5ef79b], 1
jmp 0x4582a0
cmp al, 2
jne 0x458292
mov ecx, edx
call fcn.00461130
mov byte [0x5ef79b], 1
jmp 0x4582a0
cmp al, 1
jne 0x4582a0
mov ecx, 2
call fcn.00461130
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4582b6
push eax
call fcn.00550088
add esp, 4
mov dword [0x5ef794], eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x458307
push 0x10000
mov byte [0x5ef786], 1
mov dword [0x5e99f0], 0xb
mov byte [0x5ef79a], 1
mov byte [0x5ef79d], 1
call fcn.0052ca97
add esp, 4
mov dword [esp + 0x18], eax
push esi
push 0x8000
push eax
call fcn.00550106
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.004583a0
mov esi, 1
xor bl, bl
cmp dword [esp + 0x14], esi
jle 0x45837c
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi*4]
test bl, bl
je 0x458360
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x458330
sub eax, dword [esp + 0x18]
mov ecx, 0x5e9bc0
sar eax, 1
push eax
push edx
call fcn.0044fc90
push 1
push 0x5d5eec
mov ecx, 0x5e9bc0
call fcn.0044fc90
jmp 0x458375
push 0x5d5e70
push edx
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
inc esi
cmp esi, dword [esp + 0x14]
jl 0x458314
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052c886
mov esp, ebp
pop ebp
ret