Function at 0x4052d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5027f1
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x55209c]
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 edi, ecx
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x45c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x40532b
xor al, al
jmp 0x405634
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405363
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x440]
call fcn.00406ac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x440]
push eax
mov ecx, edi
call fcn.00405a30
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x4053e0
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4053d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405650
push edx
push ecx
call fcn.004c27d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
test bl, bl
jne 0x405324
cmp dword [ebp - 0x45c], 3
jl 0x405324
mov edx, dword [esi + 4]
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405420
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xdc]
call fcn.00406ac0
mov edx, dword [esi + 8]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405444
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xf4]
call fcn.00406ac0
cmp dword [ebp - 0x45c], 4
jl 0x40562b
push dword [esi + 0xc]
lea ecx, [ebp - 0x458]
call fcn.00406800
mov dword [ebp - 4], 1
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x440]
call fcn.00406860
mov byte [ebp - 4], 2
lea eax, [ebp - 0x440]
push 4
push eax
call fcn.004196d0
add esp, 8
lea ecx, [ebp - 0x440]
call fcn.00418ae0
test al, al
je 0x405540
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004da4e0
add esp, 0xc
lea ecx, [ebp - 0x428]
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push 0x208
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x405531
cmp eax, dword [ebp - 0x430]
je 0x405531
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405510
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x48]
call fcn.00406ac0
jmp 0x405540
lea eax, [ebp - 0x440]
push eax
lea ecx, [edi + 0x48]
call fcn.00406790
cmp dword [ebp - 0x45c], 5
jl 0x40556a
mov edx, dword [esi + 0x10]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405551
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x60]
call fcn.00406ac0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x4055ae
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4055a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405655
push edx
push ecx
call fcn.004c27d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x40560e
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405604
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40565a
push edx
push ecx
call fcn.004c27d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
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.004c1f5d
mov esp, ebp
pop ebp
ret
call fcn.004e566f
call fcn.004e566f
call fcn.004e566f
int3