Function at 0x4014b8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push edi
push esi
push ebx
mov ebx, dword [ebp + 0x10]
call sub.COMCTL32.DLL_InitCommonControls
test ebx, ebx
je 0x401500
mov edi, ebx
mov al, 0
cld
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
cmp ecx, 0xfffffffe
je 0x401500
mov esi, ebx
mov edi, 0x4013dd
mov ecx, 0xd
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x401500
call fcn.0040a40c
jmp 0x4018b8
add esp, 0xfffffffc
push 0x12
push 0x4013ea
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x40151e
mov byte [0x42287d], 1
add esp, 0xfffffffc
push 0xf
push 0x4013fd
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x40153a
call fcn.00403494
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
add esp, 0xfffffff8
lea edx, [ebp - 0x10]
mov dword [ebp - 0xc4], edx
push edx
call sub.KERNEL32.dll_GetCommandLineW
push eax
call fcn.0040acf0
add esp, 0xfffffff8
mov ecx, dword [ebp - 0xc4]
push ecx
push dword [ebp + 8]
call fcn.0040a7b8
add esp, 0x20
add esp, 0xfffffff4
push 0x9a
call fcn.004019cc
add esp, 0x10
test eax, eax
jne 0x4015a8
add esp, 0xfffffff4
push 0x9c
call fcn.004019cc
add esp, 0x10
test eax, eax
je 0x401699
xor esi, esi
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub edx, eax
mov eax, edx
sar eax, 2
cmp esi, eax
jae 0x401699
xor ebx, ebx
lea esi, [esi]
add esp, 0xfffffff4
push 0x9a
call fcn.004019cc
add esp, 0x10
test eax, eax
je 0x401600
add esp, 0xfffffff8
push 0x40140e
mov eax, ebx
add eax, dword [ebp - 0x10]
push dword [eax]
call sub.msvcrt.dll_wcscmp
add esp, 0x10
test eax, eax
jne 0x401600
call fcn.00403494
jmp 0x401680
add esp, 0xfffffff8
push 0x401414
mov eax, ebx
add eax, dword [ebp - 0x10]
push dword [eax]
call sub.msvcrt.dll_wcscmp
add esp, 0x10
test eax, eax
jne 0x401624
call fcn.0040a27c
jmp 0x401680
add esp, 0xfffffff4
push 0x9a
call fcn.004019cc
add esp, 0x10
test eax, eax
je 0x401680
add esp, 0xfffffff8
push 0x401426
mov eax, ebx
add eax, dword [ebp - 0x10]
push dword [eax]
call sub.msvcrt.dll_wcscmp
add esp, 0x10
test eax, eax
jne 0x401680
call fcn.00403494
call fcn.0040a27c
test al, al
jne 0x401699
push 0
push 0x40142c
push 0x401438
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0xfffffff4
push 1
call sub.msvcrt.dll_exit
mov esi, esi
add ebx, 4
inc esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4015c4
cmp byte [0x42287d], 0
jne 0x4016b9
add esp, 0xfffffff8
add esp, 0xfffffffe
push 1
add esp, 0xfffffffe
push 1
call fcn.004085a0
add esp, 0x10
add esp, 0xfffffff4
push 0x6c
call fcn.004019cc
add esp, 0x10
test eax, eax
je 0x4016f0
add esp, 0xfffffff4
push 0x278b
call fcn.004019cc
add esp, 0x10
test eax, eax
jne 0x4016f0
add esp, 0xfffffff4
mov eax, dword [ebp + 0x14]
push eax
call fcn.00408ce0
jmp 0x40179e
call fcn.00407578
test al, al
jne 0x4017a1
mov dword [ebp - 0xc0], 0x94
add esp, 0xfffffff4
lea eax, [ebp - 0xc0]
push eax
call sub.KERNEL32.dll_GetVersionExA
add esp, 0xc
test eax, eax
je 0x401738
cmp dword [ebp - 0xb0], 2
jne 0x401738
cmp dword [ebp - 0xbc], 4
jne 0x401738
mov byte [0x42287c], 1
jmp 0x4017a1
cmp byte [0x42287d], 0
jne 0x4017a1
add esp, 0xfffffff4
mov edi, dword [0x430194]
mov al, 0
cld
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [ecx + 0x3a]
push eax
call fcn.00416eb4
mov ebx, eax
mov edi, ebx
mov esi, 0x401478
cld
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
add esp, 0xfffffff8
push dword [0x430194]
push ebx
call sub.msvcrt.dll_strcat
add esp, 0x20
push 0x40
push dword [0x430194]
push ebx
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0xfffffff4
push ebx
call fcn.00416fd0
add esp, 0x10
add esp, 0xfffffff4
add esp, 0xfffffffe
push 1
call fcn.0040306c
add esp, 0x10
test eax, eax
je 0x4017cb
add esp, 0xfffffff8
push 0x4014b3
push 0x3f1
call fcn.004037a0
call fcn.0040a530
add esp, 0xfffffffc
add esp, 0xfffffffe
push 0
push 0
add esp, 0xfffffffe
push 1
call fcn.00409024
add esp, 0x10
test al, al
jne 0x4017fa
add esp, 0xfffffff4
push 0x53
call fcn.004037c0
add esp, 0xfffffff4
push 0x6c
call fcn.004019cc
add esp, 0x10
test eax, eax
je 0x40182e
add esp, 0xfffffff4
push 0x278b
call fcn.004019cc
add esp, 0x10
test eax, eax
je 0x40182e
add esp, 0xfffffff4
mov eax, dword [ebp + 0x14]
push eax
call fcn.00408ce0
add esp, 0x10
add esp, 0xfffffff8
add esp, 0xfffffffe
push 1
mov edx, dword [ebp - 0xc4]
push edx
call fcn.00405ac8
add esp, 0x10
test al, al
jne 0x40185c
add esp, 0xfffffff8
push 0
push 0x3ed
call fcn.004037a0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub eax, esi
sar eax, 2
je 0x4018b8
shl eax, 2
cmp eax, 0x80
jbe 0x401880
add esp, 0xfffffff4
push esi
call sub.msvcrt.dll_free
jmp 0x4018b8
lea ebx, [eax + 7]
shr ebx, 3
lea ebx, [ebx*4 - 4]
add esp, 0xfffffff4
push 0x430400
call sub.KERNEL32.dll_EnterCriticalSection
add esp, 0xc
mov eax, dword [ebx + 0x422c0c]
mov dword [esi], eax
mov dword [ebx + 0x422c0c], esi
add esp, 0xfffffff4
push 0x430400
call sub.KERNEL32.dll_LeaveCriticalSection
xor eax, eax
lea esp, [ebp - 0xe8]
pop ebx
pop esi
pop edi
leave
ret 0x10