Function at 0x43007c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
xor eax, eax
push ebx
mov dword [ebp - 8], eax
mov eax, dword [0x402508]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [0x40250c]
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x70]
call fcn.00413a20
lea eax, [ebp - 0x10]
push eax
call fcn.004114c0
pop ecx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x70]
call fcn.00418780
xor ebx, ebx
mov esi, eax
inc ebx
cmp esi, 0xffffffff
je 0x430281
lea ecx, [ebp - 0x10]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4300db
sub ecx, edx
mov dword [ebp - 0x14], 7
sar ecx, 1
xor eax, eax
add esi, ecx
mov word [ebp - 0x28], ax
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x18], edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00414780
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x22
je 0x430277
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.00414780
mov esi, 0x401850
lea eax, [ebp - 0x58]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0042d598
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.004146b0
push eax
lea ecx, [ebp - 0xc8]
call fcn.00413a80
push esi
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0042d598
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ebx
inc ebx
push ebx
call fcn.00414a30
xor edi, edi
lea ecx, [ebp - 0x88]
push edi
push ebx
call fcn.00414a30
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00414a30
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004124d0
xor eax, eax
mov dword [ebp - 0x2c], 7
pop ecx
pop ecx
mov word [ebp - 0x40], ax
mov eax, 0x104
push eax
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], edi
push eax
call fcn.004211c0
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 0x430220
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.004177a0
push eax
lea ecx, [ebp - 0xb0]
call fcn.00412e90
lea ecx, [ebp - 0x88]
call fcn.00413b30
push dword [ebp + 8]
lea ecx, [ebp - 0x98]
call fcn.0041f060
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0044a84a
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.00411470
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00414a30
lea ecx, [ebp - 0xb0]
call fcn.00412370
push edi
push ebx
lea ecx, [ebp - 0xe0]
call fcn.00414a30
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00414a30
jmp 0x430290
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00414a30
xor eax, eax
push eax
push eax
call fcn.004123d0
pop ecx
pop ecx
test al, al
jne 0x43029a
xor eax, eax
mov byte [ebp - 1], al
jmp 0x430336
call fcn.004124b0
mov edi, eax
push edi
call fcn.0042f3ee
push edi
call fcn.00430835
push 0x63
mov esi, 0x402380
push esi
call fcn.004195d0
add esp, 0x10
cmp eax, ebx
jl 0x430303
push 3
pop eax
push 0xffffffffffffffff
push 0x20a
push esi
lea ecx, [ebp - 0x190]
mov dword [ebp - 8], eax
call fcn.004197f0
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x88]
push eax
call fcn.004129a0
push eax
lea eax, [esi + 8]
push 0x402510
push eax
call fcn.00416090
pop ecx
pop ecx
push eax
call fcn.00417450
pop ecx
pop ecx
mov eax, dword [ebp - 8]
test al, 2
je 0x43031e
and eax, 0xfffffffd
lea ecx, [ebp - 0x190]
mov dword [ebp - 8], eax
call fcn.004198f0
mov eax, dword [ebp - 8]
test al, 1
je 0x430331
xor eax, eax
lea ecx, [ebp - 0x88]
push eax
push ebx
call fcn.00414a30
mov byte [ebp - 1], bl
xor eax, eax
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.00414a30
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret