Function at 0x4523df
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 4], 0
cmp dword [0x469268], 0
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x45263f
mov dword [0x469268], 1
test edi, edi
je 0x45263f
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x45263f
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x1c], esi
jle 0x452638
push 0x41c51c
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x45248e
push 0x4214ac
push edi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x45262b
push 0x4214c0
push edi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x45262b
mov eax, dword [ebp + 8]
and dword [eax + 0x38], 0
jmp 0x45263f
push 0x42064c
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x452482
push 0x420664
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x45267b
push 0x402c70
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x45267b
push 0x420684
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x452646
push 0x3a
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x45262b
add eax, 2
push eax
mov dword [ebp - 0x20], eax
call fcn.00440bc3
test eax, eax
je 0x45262b
mov ecx, dword [ebp - 4]
and dword [ebp - 0xc], 0
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
test ecx, ecx
je 0x452558
jmp 0x45254b
mov eax, dword [ebx]
test eax, eax
je 0x45254f
mov eax, dword [eax]
test eax, eax
jne 0x452537
mov eax, 0x401424
push eax
push ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x452574
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp - 4]
test ebx, ebx
jne 0x452526
xor ebx, ebx
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x452584
push 0xb8
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x452578
call fcn.0044ede6
mov ebx, eax
mov dword [ebp - 8], eax
jmp 0x45257d
mov ebx, dword [ebx]
jmp 0x452551
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 1
and dword [edi + 0x38], 0
test ebx, ebx
je 0x4526de
push dword [ebp - 0x20]
mov esi, ebx
call fcn.00452318
mov esi, eax
test esi, esi
js 0x4525fd
push 0
mov eax, ebx
call fcn.0044f2ea
test eax, eax
je 0x4525fd
mov esi, dword [ebp + 8]
mov edi, ebx
call fcn.00450162
mov edi, dword [ebp + 8]
mov esi, eax
test esi, esi
js 0x4525ce
and dword [ebp - 0xc], 0
mov ebx, edi
call fcn.004515ea
mov ebx, dword [ebp - 8]
cmp dword [ebp - 0xc], 0
jne 0x4525ea
test esi, esi
jns 0x4525ea
push ebx
mov ebx, edi
call fcn.004501c9
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x4525ea
mov dword [ebp - 0xc], ecx
push esi
push 0x421510
push 4
pop esi
call fcn.00440126
mov ebx, dword [ebp - 8]
jmp 0x45260b
push esi
push 0x42153c
push 2
pop esi
call fcn.00440126
cmp dword [ebp - 0xc], 0
pop ecx
pop ecx
je 0x452622
mov edi, ebx
call fcn.0044eea4
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
pop ecx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x1c]
jl 0x452442
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
leave
ret 4
push 0x4206a0
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x45262b
push 0x3a
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x45262b
mov edi, dword [ebp + 8]
add eax, 2
lea edi, [edi + 0x20]
call fcn.0044056c
jmp 0x452628
push 0x3a
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x45262b
mov edi, dword [ebp + 8]
add eax, 2
push edi
mov dword [ebp - 4], eax
call fcn.004514fe
mov eax, dword [ebp - 4]
add edi, 0x10
call fcn.0044056c
push 0x402c70
push dword [ebx + esi*4]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x4526c7
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 1
push dword [ebp - 4]
push 0x4214d8
push 3
pop esi
call fcn.00440126
pop ecx
pop ecx
jmp 0x452625
mov ebx, dword [ebp - 0x18]
jmp 0x452628