Function at 0x462632
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
xor eax, eax
push ebx
mov dword [ebp - 8], eax
mov eax, dword [0x4032f0]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [0x4032f4]
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041c120
lea eax, [ebp - 0x10]
push eax
call fcn.0041a5d0
pop ecx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041da70
xor ebx, ebx
mov esi, eax
inc ebx
cmp esi, 0xffffffff
je 0x462840
lea ecx, [ebp - 0x10]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x462691
sub ecx, edx
mov dword [ebp - 0x2c], 7
sar ecx, 1
xor eax, eax
add esi, ecx
mov word [ebp - 0x40], ax
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], edi
push eax
lea ecx, [ebp - 0x40]
call fcn.0041dc30
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax], 0x22
je 0x462836
xor eax, eax
mov dword [ebp - 0x44], 7
push esi
xor ebx, ebx
mov word [ebp - 0x58], ax
push ebx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.0041dc30
mov esi, 0x4013d4
lea eax, [ebp - 0x58]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004607e8
add esp, 0xc
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0041fa40
push eax
lea ecx, [ebp - 0xb0]
call fcn.0041c0b0
push esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004607e8
add esp, 0xc
lea ecx, [ebp - 0xb0]
push ebx
inc ebx
push ebx
call fcn.0041d9f0
xor edi, edi
lea ecx, [ebp - 0x88]
push edi
push ebx
call fcn.0041d9f0
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.0041d9f0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00421af0
xor eax, eax
mov dword [ebp - 0x14], 7
pop ecx
pop ecx
mov word [ebp - 0x28], ax
mov eax, 0x104
push eax
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
push eax
call fcn.00428450
pop ecx
pop ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4627df
push ecx
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423a50
lea ecx, [ebp - 0x88]
call fcn.00426480
push eax
lea ecx, [ebp - 0xe8]
call fcn.00421f90
lea ecx, [ebp - 0x88]
call fcn.0041c080
push dword [ebp + 8]
lea ecx, [ebp - 0x98]
call fcn.0042e450
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0047ba13
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.0041a590
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041d9f0
lea ecx, [ebp - 0xe8]
call fcn.004219a0
push edi
push ebx
lea ecx, [ebp - 0xc8]
call fcn.0041d9f0
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.0041d9f0
jmp 0x46284f
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.0041d9f0
xor eax, eax
push eax
push eax
call fcn.00421a40
pop ecx
pop ecx
test al, al
jne 0x462859
xor eax, eax
mov byte [ebp - 1], al
jmp 0x462900
call fcn.00421ad0
mov esi, eax
push esi
call fcn.00461592
push esi
call fcn.004614b3
push esi
call fcn.00463563
push 0x56
mov edi, 0x403010
push edi
call fcn.0041b4c0
add esp, 0x14
cmp eax, ebx
jl 0x4628d0
push 3
pop eax
mov dword [ebp - 8], eax
mov ecx, esi
xor eax, eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422bd0
push 0xffffffffffffffff
push 0x304
push edi
lea ecx, [ebp - 0x198]
call fcn.0041b540
add eax, 8
push 0x4032f8
push eax
call fcn.004200c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.0041bee0
add esp, 0x10
mov eax, dword [ebp - 8]
test al, 2
je 0x4628eb
and eax, 0xfffffffd
lea ecx, [ebp - 0x198]
mov dword [ebp - 8], eax
call fcn.0041b6f0
mov eax, dword [ebp - 8]
test al, 1
je 0x4628fb
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push ebx
call fcn.0041d9f0
mov byte [ebp - 1], bl
xor eax, eax
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.0041d9f0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret