Function at 0x40b6ad
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, 0x4140c8
mov ecx, ebx
mov esi, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00405f1b
push esi
push 0x403ae8
push 3
lea eax, [ebp - 0x28]
push 6
inc edi
push eax
mov dword [ebp - 0x28], edi
call fcn.0040d007
add esp, 0x14
push esi
call fcn.0040e2a4
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x2c], eax
jne 0x40b70f
mov dword [ebp - 8], 0x8007000e
jmp 0x40b911
push 5
lea ecx, [ebp - 0x48]
push ecx
push edi
push eax
call fcn.0040e447
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x40b90c
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc], esi
jbe 0x40b8fc
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + eax*4 - 0x48]
push 0x403920
push esi
call fcn.0040e3cd
test eax, eax
je 0x40b8af
push 0x403938
push esi
call fcn.0040e3cd
test eax, eax
je 0x40b8b6
push 0x403964
push esi
call fcn.0040e3cd
test eax, eax
je 0x40b8c0
push 0x4039b8
push esi
call fcn.0040e3cd
test eax, eax
jne 0x40b7b1
cmp dword [ebp - 4], 2
jae 0x40b8cb
cmp dword [ebp - 0x14], eax
jne 0x40b8cb
mov eax, dword [ebp - 4]
and dword [ebp + eax*4 - 0x34], 0
inc dword [ebp - 4]
mov dword [ebp - 0x14], edi
jmp 0x40b88c
push 0x4039e0
push esi
call fcn.0040e3cd
test eax, eax
jne 0x40b7e5
cmp dword [ebp - 4], 2
jae 0x40b8cb
cmp dword [ebp - 0x18], eax
jne 0x40b8cb
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov dword [ebp + eax*4 - 0x34], edi
mov dword [ebp - 0x18], edi
jmp 0x40b88c
push 0x403990
push esi
call fcn.0040e3cd
test eax, eax
jne 0x40b803
mov dword [0x414158], 2
jmp 0x40b88c
push 0x4039f8
push esi
call fcn.0040e3cd
test eax, eax
je 0x40b848
push 0x4039f8
push esi
call fcn.0040e41c
test eax, eax
jne 0x40b84b
cmp word [esi + 0xe], 0x3a
jne 0x40b84b
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
cmp eax, edi
pop ecx
jl 0x40b84b
cmp eax, 8
jae 0x40b84b
mov eax, dword [eax*4 + 0x403ac8]
mov dword [0x414158], eax
mov dword [ebp - 0x10], edi
push 0x403a08
push esi
call fcn.0040e3cd
test eax, eax
jne 0x40b85d
mov dword [ebp - 0x28], edi
push 0x403a28
push esi
call fcn.0040e3cd
push 0x403a3c
push esi
call fcn.0040e3cd
test eax, eax
jne 0x40b87a
mov dword [ebp - 0x24], edi
push 0x403a54
push esi
call fcn.0040e3cd
test eax, eax
jne 0x40b88c
mov dword [ebp - 0x20], edi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jb 0x40b73c
cmp dword [ebp - 4], 0
jbe 0x40b8df
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
call fcn.00408546
jmp 0x40b8bb
call fcn.0040b645
jmp 0x40b89b
call fcn.00409733
mov dword [ebp - 8], eax
jmp 0x40b911
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 1]
cmp ecx, dword [ebp - 0x1c]
jb 0x40b8d4
mov dword [ebp - 8], 0x80070057
jmp 0x40b911
push dword [ebp + eax*4 - 0x44]
call fcn.004085d5
jmp 0x40b8bb
cmp dword [ebp - 0x10], 0
je 0x40b8fa
push dword [ebp - 0x20]
mov ecx, ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x10]
call fcn.0040b60a
xor esi, esi
cmp dword [0x414158], esi
jne 0x40b90c
cmp dword [0x414170], esi
je 0x40b911
call fcn.00407fcf
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push 0x403a80
push 3
push 6
push eax
mov dword [ebp - 0x28], edi
call fcn.0040d007
push dword [ebp - 0x2c]
call fcn.0040d41d
add esp, 0x18
mov ecx, ebx
call fcn.00405f3e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x10