Function at 0x4042ff
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00406bf6
push dword [ebp - 0x10]
xor edi, edi
push 0x401a50
push 3
lea eax, [ebp - 0x24]
push 6
inc edi
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
call fcn.0040633e
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.00407ab8
test eax, eax
jge 0x404362
mov dword [ebp - 4], 0x8007000e
jmp 0x4045ea
push esi
push 5
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebp - 0x14]
call fcn.00407c48
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x4045b8
mov dword [ebp - 0xc], ebx
jbe 0x4045e9
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + eax*4 - 0x40]
push 0x4015f4
push esi
call fcn.00407bce
test eax, eax
je 0x40459b
push 0x401604
push esi
call fcn.00407bce
test eax, eax
je 0x40459b
push 0x40162c
push esi
call fcn.00407bce
test eax, eax
je 0x40452e
push 0x40167c
push esi
call fcn.00407bce
test eax, eax
je 0x404538
push 0x401654
push esi
call fcn.00407bce
test eax, eax
je 0x404552
push 0x401504
push esi
call fcn.00407bce
test eax, eax
je 0x404559
push 0x40151c
push esi
call fcn.00407bce
test eax, eax
je 0x404560
push 0x4016a8
push esi
call fcn.00407bce
test eax, eax
je 0x404567
push 0x401534
push esi
call fcn.00407bce
test eax, eax
je 0x40456e
push 0x401560
push esi
call fcn.00407bce
test eax, eax
je 0x404575
push 0x4015b4
push esi
call fcn.00407bce
test eax, eax
jne 0x40447c
cmp ebx, 2
jae 0x40458b
cmp dword [ebp - 0x18], eax
jne 0x40458b
and dword [ebp + ebx*4 - 0x2c], eax
inc ebx
mov dword [ebp - 0x18], edi
jmp 0x404508
push 0x4015dc
push esi
call fcn.00407bce
test eax, eax
jne 0x4044a7
cmp ebx, 2
jae 0x40458b
cmp dword [ebp - 0x1c], eax
jne 0x40458b
mov dword [ebp + ebx*4 - 0x2c], edi
inc ebx
mov dword [ebp - 0x1c], edi
jmp 0x404508
push 0x40158c
push esi
call fcn.00407bce
test eax, eax
je 0x404505
push 0x401728
push esi
call fcn.00407c1d
test eax, eax
je 0x404505
push 0x4016c0
push esi
call fcn.00407bce
test eax, eax
je 0x404594
push 0x40170c
push esi
call fcn.00407c1d
test eax, eax
je 0x404505
push 0x4016e0
push esi
call fcn.00407c1d
test eax, eax
je 0x404505
push 0x40175c
push esi
call fcn.00407c1d
test eax, eax
jne 0x404508
mov dword [ebp - 8], edi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
jb 0x404389
test ebx, ebx
jbe 0x4045d8
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00403c65
jmp 0x4045e6
call fcn.00407249
jmp 0x4045e6
call fcn.00407840
mov dword [ebp - 4], eax
test eax, eax
jl 0x4045e9
call fcn.0040714c
jmp 0x4045e6
call fcn.00407830
jmp 0x40453d
call fcn.00403e80
jmp 0x404517
call fcn.00403ede
jmp 0x404517
call fcn.00403f4a
jmp 0x404517
call fcn.00403de9
jmp 0x4045e6
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 1]
cmp ecx, dword [ebp - 0x20]
jae 0x40458b
push dword [ebp + eax*4 - 0x3c]
call fcn.00403d15
jmp 0x4045e6
mov dword [ebp - 4], 0x80070057
jmp 0x4045e9
call fcn.00407759
jmp 0x4045e6
call fcn.00406b86
test eax, eax
je 0x4045b1
push edi
push 0xd79
push 0
call fcn.004042a0
call fcn.00407159
jmp 0x4045e6
push 3
pop eax
push 0x401a18
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push 6
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], ebx
call fcn.0040633e
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x4045e9
push dword [ebp - 0x10]
call fcn.0040407d
mov dword [ebp - 4], eax
pop esi
push dword [ebp - 4]
and dword [ebp - 0x24], 0
push 0x4019c8
push 3
lea eax, [ebp - 0x24]
push 6
push eax
mov dword [ebp - 0x20], edi
call fcn.0040633e
push dword [ebp - 0x14]
call fcn.00406fd6
mov eax, dword [ebp - 4]
add esp, 0x18
pop edi
pop ebx
leave
ret 0x10