Function at 0x4052b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503711
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x55306c]
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 0x40530b
xor al, al
jmp 0x405614
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 0x405343
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x440]
call fcn.00406aa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x440]
push eax
mov ecx, edi
call fcn.00405a10
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x4053c0
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4053b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405630
push edx
push ecx
call fcn.004c2683
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 0x405304
cmp dword [ebp - 0x45c], 3
jl 0x405304
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 0x405400
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xdc]
call fcn.00406aa0
mov edx, dword [esi + 8]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405424
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0xf4]
call fcn.00406aa0
cmp dword [ebp - 0x45c], 4
jl 0x40560b
push dword [esi + 0xc]
lea ecx, [ebp - 0x458]
call fcn.004067e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x440]
call fcn.00406840
mov byte [ebp - 4], 2
lea eax, [ebp - 0x440]
push 4
push eax
call fcn.00419390
add esp, 8
lea ecx, [ebp - 0x440]
call fcn.004187a0
test al, al
je 0x405520
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004da2d0
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 0x405511
cmp eax, dword [ebp - 0x430]
je 0x405511
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4054f0
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x48]
call fcn.00406aa0
jmp 0x405520
lea eax, [ebp - 0x440]
push eax
lea ecx, [edi + 0x48]
call fcn.00406770
cmp dword [ebp - 0x45c], 5
jl 0x40554a
mov edx, dword [esi + 0x10]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405531
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x60]
call fcn.00406aa0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x40558e
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405635
push edx
push ecx
call fcn.004c2683
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 0x4055ee
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4055e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40563a
push edx
push ecx
call fcn.004c2683
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.004c1e08
mov esp, ebp
pop ebp
ret
call fcn.004e546f
call fcn.004e546f
call fcn.004e546f
int3