Function at 0x412245
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x44edad
call fcn.0044d7cc
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x1c]
xor eax, eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4122f2
mov esi, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
test esi, esi
je 0x412432
mov eax, dword [ebp - 0x18]
push 0x18
pop edi
cmp esi, eax
je 0x4122bf
mov ebx, eax
mov ecx, esi
call fcn.0040581d
add esi, edi
cmp esi, ebx
jne 0x4122ac
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
sub eax, esi
cdq
idiv edi
imul ecx, eax, 0x18
mov eax, esi
cmp ecx, 0x1000
jb 0x412468
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412468
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x2c], ecx
jle 0x41241a
push 0x18
pop edi
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push dword [eax + esi*4]
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x30], esi
test esi, esi
jle 0x41243a
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
cmp esi, 0x7fffffff
ja 0x412473
mov ecx, esi
call fcn.00408707
mov edi, dword [ebp - 0x30]
add esi, eax
push edi
push 0
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], esi
call sub.VCRUNTIME140.dll_memset
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x24], esi
call fcn.00412cee
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov esi, dword [ebp - 0x34]
push ecx
push ecx
push edi
mov byte [ebp - 4], 1
push dword [ebp - 0x28]
push 0xffffffffffffffff
push dword [eax + esi*4]
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
cmp eax, dword [ebp - 0x14]
je 0x4123b4
push ecx
mov ecx, eax
call fcn.004058c4
push 0x18
pop edi
add dword [ebp - 0x18], edi
jmp 0x4123c4
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00414b06
push 0x18
pop edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x412408
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4123f2
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4122ec
push edx
push ecx
call fcn.0044cc37
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
jmp 0x41240a
xor ecx, ecx
mov eax, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x34], esi
cmp esi, dword [ebp - 0x2c]
jl 0x412305
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov eax, ebx
call fcn.0044d77b
ret
mov esi, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
test esi, esi
je 0x412432
mov eax, dword [ebp - 0x18]
cmp esi, eax
je 0x4122bf
mov ebx, eax
mov ecx, esi
call fcn.0040581d
add esi, edi
cmp esi, ebx
jne 0x412456
jmp 0x4122b9
push ecx
push esi
call fcn.0044cc37
pop ecx
pop ecx
jmp 0x412432
call fcn.00406675
int3