Function at 0x10017cd
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0xc], esi
mov edi, 0x1003270
push edi
call fcn.010014e7
push 0x1001258
mov dword [0x1003290], 0x10011d8
mov dword [0x1003040], edi
call fcn.010015b8
mov ebx, dword [ebp + 8]
push 0x7b
push ebx
call fcn.0100256d
push 9
pop ecx
xor eax, eax
push 0x2710
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x38], 0x10017bc
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
mov edi, 0x1001228
push eax
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_RegisterClassW]
push esi
push ebx
push esi
push esi
push esi
push esi
mov eax, 0x80000000
push eax
push eax
push esi
push 0x100114c
push edi
push 0x80
call fcn.01002706
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x10018c3
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x1001aef
test byte [eax + 0x1c], 4
je 0x1001aef
call fcn.01001365
push eax
mov eax, dword [0x1003040]
push 0x10011c8
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100228e
jmp 0x1001aef
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x1001aad
cmp dword [ebp - 0xc], 1
jle 0x1001a71
push esi
push esi
mov edi, 0x100120c
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1001a3f
push 0x7b
push eax
call fcn.010022ba
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x1001a04
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push dword [eax]
mov dword [ebp + 8], esi
call fcn.01001724
test eax, eax
je 0x10019c5
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x100198d
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
lea edx, [ecx + 2]
mov di, word [ecx]
inc ecx
inc ecx
cmp di, si
jne 0x1001942
push dword [ebp + 0x14]
sub ecx, edx
mov edx, dword [ebp + 0x10]
sar ecx, 1
lea ecx, [edx + ecx*2 + 2]
push ecx
push ebx
push dword [ebp - 8]
call eax
mov ecx, dword [0x1003040]
cmp ecx, 0x1003040
je 0x10019ba
test byte [ecx + 0x1c], 0x10
je 0x10019ba
push eax
push dword [ebp + 8]
push 0x10011c8
push 0xd
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010013f2
jmp 0x10019ba
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x10019ba
test byte [eax + 0x1c], 8
je 0x10019ba
push 0x80070057
push edi
push dword [ebp + 8]
push 0x10011c8
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001448
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10019f9
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x10019f9
test byte [eax + 0x1c], 4
je 0x10019f9
call fcn.01001365
push eax
mov eax, dword [ebp - 4]
push dword [eax]
mov eax, dword [0x1003040]
push 0x10011c8
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100137f
lea eax, [ebp - 0x14]
push eax
call fcn.01002468
jmp 0x1001a34
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x1001a34
test byte [eax + 0x1c], 4
je 0x1001a34
call fcn.01001365
push eax
mov eax, dword [0x1003040]
push edi
push 0x10011c8
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100137f
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoFreeLibrary]
jmp 0x1001aa2
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x1001aa2
test byte [eax + 0x1c], 4
je 0x1001aa2
call fcn.01001365
push eax
mov eax, dword [0x1003040]
push edi
push 0x10011c8
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100137f
jmp 0x1001aa2
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x1001a9a
test byte [eax + 0x1c], 8
je 0x1001a9a
push 0x80070057
push 0x10011c8
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100228e
push dword [ebp - 8]
call fcn.0100164b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1001adc
mov eax, dword [0x1003040]
cmp eax, 0x1003040
je 0x1001adc
test byte [eax + 0x1c], 4
je 0x1001adc
call fcn.01001365
push eax
mov eax, dword [0x1003040]
push 0x10011c8
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100228e
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.0100264b
call fcn.01001606
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10