Function at 0x420410
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov edx, dword [0x565fa8]
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edi, [esp + 0x38]
xor edx, ebp
mov dword [esp + 0xe0], edx
push 3
push ecx
push eax
push edi
call fcn.0042e610
add esp, 0x10
cmp dword [esp + 0x3c], 0
je 0x4206ed
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 0x30], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x420498
mov esi, eax
push 0x5157ce
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4204a8
mov ecx, eax
lea eax, [esp + 0x30]
push eax
push ebx
call ecx
mov ebx, eax
jmp 0x4204aa
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, eax
jmp 0x4204b3
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], edx
lea ebx, [edx + eax*4]
test eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], ebx
jns 0x420525
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push str.current___end
push eax
push ecx
mov esi, edx
call fcn.0041f560
mov edx, esi
add esp, 0xc
test eax, eax
je 0x420525
lea ecx, [esp + 0x38]
push eax
push 0x24
push str..._.._base_containers_checked_iterators.h
call fcn.00427d80
lea ecx, [esp + 0x38]
call fcn.00426f60
mov edx, esi
lea esi, [esp + 0xc]
mov ecx, esi
push ebx
push ebx
mov dword [esp + 0xc], edx
push edx
call fcn.00421f50
lea ecx, [esp + 0x18]
push esi
call fcn.00422010
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x420688
lea ebx, [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x4205b5
jmp 0x420581
add dword [esp + 0x1c], 4
mov ecx, ebx
push esi
call fcn.00422010
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x420688
cmp eax, dword [esp + 0x20]
jne 0x4205b5
push str.current____end_
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041f560
add esp, 0xc
test eax, eax
je 0x4205b5
mov ecx, edi
push eax
push 0x9e
push str..._.._base_containers_checked_iterators.h
call fcn.00427d80
mov ecx, edi
call fcn.00426f60
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x4205db
cmp word [eax], 0
je 0x4205db
xor ecx, ecx
nop dword [eax]
cmp word [eax + ecx*2 + 2], 0
lea ecx, [ecx + 1]
jne 0x4205d0
push ecx
push eax
push edi
call fcn.0042fd20
add esp, 0xc
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jae 0x420620
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x38]
movsd qword [eax], xmm0
add dword [esp + 0x28], 0xc
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
jmp 0x420640
lea ecx, [esp + 0x24]
push edi
call fcn.004225a0
cmp byte [esp + 0x43], 0
jns 0x420640
push dword [esp + 0x38]
call fcn.004e6856
add esp, 4
nop dword [eax]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jne 0x420560
push str.current____end_
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041f560
add esp, 0xc
test eax, eax
je 0x420560
mov ecx, edi
push eax
push 0x5e
push str..._.._base_containers_checked_iterators.h
call fcn.00427d80
mov ecx, edi
call fcn.00426f60
jmp 0x420560
mov ecx, dword [esp + 8]
lea eax, [esp + 0x24]
push eax
call fcn.00420090
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4206ed
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0x4206c6
mov eax, esi
jmp 0x4206e0
cmp esi, edi
mov eax, edi
je 0x4206dc
cmp byte [eax - 1], 0
lea edi, [eax - 0xc]
jns 0x4206c0
push dword [eax - 0xc]
call fcn.004e6856
add esp, 4
jmp 0x4206c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esi
push eax
call fcn.004e6856
add esp, 4
mov ecx, dword [esp + 0xe0]
xor ecx, ebp
call fcn.004e6891
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8