Function at 0x4035d0
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.0040b127
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
push ebx
push ebx
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x15
push ebx
push ecx
push 0x4010f4
push 0x4000000
call fcn.004035b5
pop ecx
pop ecx
xor edx, edx
mov ecx, eax
call fcn.00404c9f
mov ecx, 0x402498
call fcn.0040b1c1
mov ecx, 0x4024e8
call fcn.0040b1c1
mov ecx, 0x402538
call fcn.0040b1c1
mov ecx, 0x402580
call fcn.0040b1c1
mov ecx, 0x4025d0
call fcn.0040b1c1
mov ecx, 0x402620
call fcn.0040b1c1
mov ecx, 0x402670
call fcn.0040b1c1
mov ecx, 0x4026b8
call fcn.0040b1c1
mov eax, 0x40b07a
test eax, eax
je 0x40367c
push eax
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x40fb18], eax
jmp 0x403682
mov dword [0x40fb18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea eax, [esp + 0xc]
push eax
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0
push 0
mov ebx, eax
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x1a
push 0
push ecx
call esi
push eax
push 0x401120
push 0x4000000
call fcn.004035b5
add esp, 0xc
xor edx, edx
mov ecx, eax
call fcn.00404c9f
test ebx, ebx
jne 0x403700
push ebx
push ebx
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x1d
push ebx
push ecx
push 0x401144
push 0x2000000
call fcn.004035b5
pop ecx
pop ecx
xor edx, edx
mov ecx, eax
call fcn.00404c9f
jmp 0x40384f
xor esi, esi
cmp dword [esp + 0xc], 1
push esi
push esi
jne 0x403731
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x23
push esi
push ecx
push 0x401174
push 0x4000000
call fcn.004035b5
pop ecx
pop ecx
jmp 0x40383f
cmp dword [esp + 0x14], 2
jne 0x403817
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x27
push esi
push ecx
push dword [ebx + 4]
push 0x4011a0
push 0x4000000
call fcn.004035b5
add esp, 0xc
xor edx, edx
mov ecx, eax
call fcn.00404c9f
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
push 0x4011d0
push dword [ebx + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x4037b8
xor esi, esi
push esi
push esi
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x2a
push esi
push ecx
push 0x4011e4
push 0x4000000
call fcn.004035b5
pop ecx
pop ecx
xor edx, edx
mov ecx, eax
call fcn.00404c9f
call fcn.0040b3cf
jmp 0x403848
push 0x401204
push dword [ebx + 4]
call esi
pop ecx
xor esi, esi
pop ecx
push esi
push esi
test eax, eax
jne 0x4037fd
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x2f
push esi
push ecx
push 0x40121c
push 0x4000000
call fcn.004035b5
pop ecx
pop ecx
xor edx, edx
mov ecx, eax
call fcn.00404c9f
call fcn.0040b4fc
jmp 0x403848
call edi
push eax
push dword [ebp + 4]
push 0x4010e0
push ecx
push 0x34
push esi
push ecx
push dword [ebx + 4]
push 0x40123c
jmp 0x403832
call edi
push eax
push dword [ebp + 4]
mov eax, dword [esp + 0x1c]
push 0x4010e0
push ecx
push 0x39
push esi
push ecx
dec eax
push eax
push 0x401278
push 0x2000000
call fcn.004035b5
add esp, 0xc
xor edx, edx
mov ecx, eax
call fcn.00404c9f
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10