Function at 0x407256
Capabilities:
Accept command line arguments

Disassembly:
push 0xa0
mov eax, 0x5389d5
call fcn.0053655e
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], cx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov dword [ebp - 4], edx
mov dword [ebp - 0xa0], edx
jb 0x40729c
mov ecx, dword [eax]
lea eax, [ebp - 0xa0]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0xa0], 0
mov ebx, eax
mov dword [ebp - 0x9c], ebx
jle 0x40733a
mov esi, dword [ebx]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.0040261b
xor esi, esi
cmp dword [ebp - 0xa0], esi
jle 0x40733a
push dword [ebx + esi*4]
lea ecx, [ebp - 0x40]
call fcn.00401cd4
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040a686
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 2
push eax
call fcn.0040d8c7
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00403ae4
lea ecx, [ebp - 0x7c]
call fcn.0040257a
test bl, bl
jne 0x4073db
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0040257a
mov ebx, dword [ebp - 0x9c]
inc esi
cmp esi, dword [ebp - 0xa0]
jl 0x4072d9
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x98]
lea eax, [ebp - 0x28]
push eax
call fcn.0041e25e
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x98], 0x22
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041e29b
add esp, 0x14
lea ecx, [ebp - 0x28]
push eax
call fcn.004035f6
lea ecx, [ebp - 0x94]
call fcn.0040257a
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x27
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041e29b
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.004035f6
lea ecx, [ebp - 0x94]
call fcn.0040257a
cmp dword [ebp - 0x18], 0
jne 0x40740e
push 0x559fc4
mov ecx, edi
call fcn.00401cd4
jmp 0x4075b9
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, edi
mov byte [ebp - 0x9c], al
push dword [ebp - 0x9c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00403889
lea ecx, [ebp - 0x40]
jmp 0x4075bc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040a686
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.0040d8c7
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
mov bl, al
call fcn.00403ae4
lea ecx, [ebp - 0x7c]
call fcn.0040257a
test bl, bl
je 0x407466
xor eax, eax
mov ecx, edi
mov byte [ebp - 0x98], al
push dword [ebp - 0x98]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403889
jmp 0x4075b9
push 0x55a6d0
lea ecx, [ebp - 0x94]
call fcn.00401cd4
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0041de2a
add esp, 0xc
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 7
call fcn.0040257a
mov esi, 0x559fc4
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040261b
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0x98], eax
cmp esi, eax
je 0x40758f
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
push esi
call fcn.00403913
cmp dword [ebp - 0x18], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
jne 0x407508
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00403bb9
jmp 0x407540
push eax
lea eax, [ebp - 0x70]
push 0x55a6d0
push eax
call fcn.0040469f
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 9
jb 0x407528
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403bb9
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.0040257a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040a686
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040d8c7
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
mov bl, al
call fcn.00403ae4
lea ecx, [ebp - 0x7c]
call fcn.0040257a
test bl, bl
jne 0x4075d1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0040257a
add esi, 0x18
cmp esi, dword [ebp - 0x98]
jne 0x4074d4
xor eax, eax
mov ecx, edi
mov byte [ebp - 0x98], al
push dword [ebp - 0x98]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00403889
lea ecx, [ebp - 0xac]
call fcn.00403ae4
lea ecx, [ebp - 0x28]
call fcn.0040257a
lea ecx, [ebp - 0x58]
call fcn.0040257a
mov eax, edi
call fcn.00536508
ret
xor eax, eax
mov ecx, edi
mov byte [ebp - 0x98], al
push dword [ebp - 0x98]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403889
lea ecx, [ebp - 0x40]
call fcn.0040257a
jmp 0x4075ae