Function at 0x1014c8a
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe50
mov eax, dword [0x1048628]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xe2c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
mov ebx, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xe28], eax
xor eax, eax
lea edi, [ebp - 0xe34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, 0x104acc0
mov dword [ebp - 0xe34], 8
mov dword [ebp - 0xe30], 0x20ff
call fcn.0100eedd
lea eax, [ebp - 0xe34]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp - 0xe28]
test eax, eax
jl 0x10153cf
push 0x100
lea eax, [ebp - 0xa14]
push eax
push 0x64
push esi
call fcn.0101b740
test eax, eax
jne 0x1014d21
xor esi, esi
jmp 0x10153c7
push 0x1002634
xor edi, edi
inc edi
push edi
push 0
call fcn.0101d674
test eax, eax
mov esi, dword [sym.imp.msvcrt.dll_wcsstr]
mov dword [ebp - 0xe28], eax
je 0x1014d4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1014d68
test ebx, ebx
je 0x1015341
push 0x1002620
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x1015333
mov eax, dword [ebp - 0xe2c]
mov dword [0x1048bd0], eax
call fcn.0100f115
call fcn.010121b8
call fcn.010122ab
push 0
mov dword [0x104831c], edi
call fcn.0100f0ad
test ebx, ebx
je 0x1014dea
push 0x1002618
push ebx
call esi
neg eax
sbb eax, eax
neg eax
push 0x100260c
push ebx
mov dword [0x1048bd4], eax
call esi
neg eax
sbb eax, eax
neg eax
push 0x10025f8
push ebx
mov dword [0x1048bd8], eax
call esi
add esp, 0x18
test eax, eax
je 0x1014e43
and dword [0x1048bd4], 0
call fcn.01026d43
call fcn.010163ff
push 3
call fcn.0100f0ad
mov dword [0x104831c], 2
xor edi, edi
cmp dword [0x1048bd4], edi
je 0x1014df7
mov dword [ebp + 0x14], edi
lea eax, [ebp - 0xa14]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0xe2c]
call fcn.01014c07
cmp eax, edi
mov dword [ebp - 0xe2c], eax
jne 0x101521a
cmp dword [ebp - 0xe28], edi
je 0x1014d1a
push dword [ebp - 0xe28]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xe28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1014d1a
mov edi, 0x10025e4
push edi
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10151bb
push 0x10025c8
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10151bb
push 0x1002620
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014f04
call fcn.0102aee8
test eax, eax
jne 0x1014efd
xor edi, edi
cmp dword [0x1048bd4], edi
jne 0x1014e1a
mov esi, 0x100
push esi
lea eax, [ebp - 0x40c]
push eax
push 0xba
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x1014e1a
push esi
lea eax, [ebp - 0x60c]
push eax
push 0xad
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x1014e1a
mov al, byte [0x104acc2]
neg al
sbb eax, eax
and eax, 0x180000
or eax, 0x10
push eax
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
call fcn.0101b8b5
jmp 0x1014e1a
push 1
jmp 0x1014ddb
push 0x10025b0
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x1014dea
push 1
call fcn.0100f0ad
push 2
pop edi
push 0x5a
push 4
mov dword [0x104831c], edi
call fcn.010259af
test eax, eax
jne 0x1014dea
push eax
push 0xa28
push eax
push 5
call fcn.01028147
test eax, eax
jne 0x1014dea
call fcn.0100ef7a
sub eax, edi
je 0x1014fd1
dec eax
jne 0x1015041
mov esi, 0x100
push esi
lea eax, [ebp - 0x60c]
push eax
push 0xbb
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x1015041
push esi
lea eax, [ebp - 0x40c]
push eax
push 0xad
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x1015041
mov al, byte [0x104acc2]
neg al
sbb eax, eax
and eax, 0x180000
or eax, 0x130
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x60c]
push eax
xor esi, esi
push esi
call fcn.0101b8b5
jmp 0x10153a7
mov esi, 0x100
push esi
lea eax, [ebp - 0x60c]
push eax
push 0xbc
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x1015041
push esi
lea eax, [ebp - 0x40c]
push eax
push 0xad
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x1015041
mov al, byte [0x104acc2]
neg al
sbb eax, eax
and eax, 0x180000
or eax, 0x134
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x60c]
push eax
xor esi, esi
push esi
call fcn.0101b8b5
cmp eax, 6
jne 0x10153a7
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101da4d
test eax, eax
mov edi, 0x1002594
je 0x1015082
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100f5a7
test eax, eax
jl 0x1015082
lea eax, [ebp - 0x20c]
push eax
call fcn.010257cb
xor ebx, ebx
cmp eax, ebx
jne 0x10150c3
jmp 0x1015084
xor ebx, ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101d0b6
test eax, eax
je 0x1014d1a
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100f5a7
test eax, eax
jl 0x1014d1a
lea eax, [ebp - 0x20c]
push eax
call fcn.010257cb
cmp eax, ebx
je 0x1014d1a
push esi
lea eax, [ebp - 0x814]
push eax
call fcn.0101d3e2
test eax, eax
mov edi, 0x208
je 0x1015137
push 0x1002574
push esi
lea eax, [ebp - 0x814]
push eax
call fcn.0100f5a7
test eax, eax
jl 0x1015137
lea eax, [ebp - 0x814]
push eax
call fcn.010257cb
test eax, eax
je 0x1015137
lea eax, [ebp - 0x814]
push eax
push 0x1002518
lea eax, [ebp - 0xe24]
push edi
push eax
call fcn.0100f541
add esp, 0x10
test eax, eax
jl 0x1015137
push 0xa
push ebx
lea eax, [ebp - 0xe24]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
call fcn.0101dd78
push esi
lea eax, [ebp - 0x814]
push eax
call fcn.0101d3e2
test eax, eax
je 0x1014d1a
push 0x10024fc
push esi
lea eax, [ebp - 0x814]
push eax
call fcn.0100f5a7
test eax, eax
jl 0x1014d1a
lea eax, [ebp - 0x814]
push eax
call fcn.010257cb
test eax, eax
je 0x1014d1a
lea eax, [ebp - 0x814]
push eax
push 0x10024a8
lea eax, [ebp - 0xe24]
push edi
push eax
call fcn.0100f541
add esp, 0x10
test eax, eax
jl 0x1014d1a
push 0xa
push ebx
lea eax, [ebp - 0xe24]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
call fcn.0101dd78
jmp 0x1014d1a
push edi
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x10151e2
call fcn.01025c43
test eax, eax
je 0x1014d1a
push 1
push 0
call fcn.01011fe7
mov esi, eax
jmp 0x10153c7
push 0
call fcn.01011eb4
jmp 0x10151db
lea eax, [ebp - 0xe50]
push eax
push dword [ebp - 0xe2c]
call fcn.0101b551
test eax, eax
jne 0x101521a
lea eax, [ebp - 0xe50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xe50]
push eax
call fcn.0101a903
push edi
push edi
lea eax, [ebp - 0xe50]
push edi
push eax
call fcn.0101af74
test eax, eax
jne 0x10151eb
cmp dword [ebp - 0xe28], edi
je 0x101524d
push dword [ebp - 0xe28]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xe28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1048bf8]
cmp ecx, edi
je 0x1015264
push 1
call fcn.0100f168
mov dword [0x1048bf8], edi
mov ecx, dword [0x1048bfc]
cmp ecx, edi
je 0x101527b
push 1
call fcn.0100f18e
mov dword [0x1048bfc], edi
cmp ebx, edi
je 0x10152a8
push 0x10025f8
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x1015295
push edi
call fcn.0101679d
jmp 0x10152a8
push 0x1002498
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10152a8
call fcn.010125fc
push dword [ebp - 0xe2c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call fcn.010123f9
push ebx
call fcn.01013559
cmp dword [0x1048be0], edi
je 0x1015323
mov esi, 0x104
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.0102858f
test eax, eax
je 0x1015323
lea eax, [ebp - 0x20c]
push eax
call fcn.0102534f
push 0x1001f18
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100f5a7
test eax, eax
jl 0x1015323
lea eax, [ebp - 0x20c]
push eax
call fcn.010257cb
test eax, eax
je 0x1015323
push 0xa
push edi
push edi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
call fcn.0101dd78
call fcn.0102aa81
mov esi, dword [ebp - 0xe48]
jmp 0x10153c7
push 0x10025f8
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10153a5
mov esi, 0x100
push esi
lea eax, [ebp - 0x40c]
push eax
push 0xac
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x10153a5
push esi
lea eax, [ebp - 0x60c]
push eax
push 0xad
push dword [0x1048bd0]
call fcn.0101b740
test eax, eax
je 0x10153a5
mov al, byte [0x104acc2]
neg al
sbb eax, eax
and eax, 0x180000
or eax, 0x10
push eax
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0
call fcn.0101b8b5
xor esi, esi
cmp dword [ebp - 0xe28], esi
je 0x10153c7
push dword [ebp - 0xe28]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xe28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01018732
leave
ret 0x10