Function at 0x10015dd3
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x10040b84
call fcn.1003efaa
mov ebx, ecx
lea edi, [ebx + 4]
push 0x1000a438
push dword [edi]
mov dword [ebp - 0x20], edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x38]
call fcn.100103be
lea ecx, [ebp - 0x14]
xor esi, esi
push ecx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.1003e175
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.10010740
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x10015e76
push esi
push 0x100079ec
mov ecx, edi
call fcn.1003e175
call fcn.1002d823
push eax
lea ecx, [ebp - 0x10]
call fcn.1003e175
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebx + 0x48]
push dword [ebx + 0x38]
push eax
call fcn.1003e175
add esp, 0x10
mov ecx, edi
push esi
mov esi, dword [ebp - 0x10]
push esi
call fcn.1003e175
sub esp, 0xc
mov ecx, ebx
call fcn.1003e175
push esi
push 4
jmp 0x10015ec6
cmp dword [ebx + 0x40], 0
jne 0x10015ee7
push esi
push 0x100079ec
mov ecx, edi
call fcn.1003e175
call fcn.1002d823
push eax
lea ecx, [ebp - 0x10]
call fcn.1003e175
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push dword [ebx + 0x48]
push dword [ebx + 0x34]
push eax
call fcn.1003e175
add esp, 0xc
mov ecx, edi
push esi
mov esi, dword [ebp - 0x10]
push esi
call fcn.1003e175
sub esp, 0xc
mov ecx, ebx
call fcn.1003e175
push esi
push 1
mov ebx, dword [ebx + 0x50]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x1004d3bc]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1002d9fa
jmp 0x10015fdc
push ecx
mov ecx, esp
push 0x10007a4c
call fcn.10027aaa
mov edi, dword [ebx + 0x50]
push 7
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov edi, dword [ebx + 0x50]
or dword [ebp - 0x1c], 0xffffffff
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0x40], edx
jle 0x10015fa4
lea ecx, [ebx + 0x3c]
mov eax, dword [ebx + 0x4c]
push edx
mov esi, dword [eax]
call fcn.1003e175
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [0x1004d3bc]
mov ecx, dword [ebx + 0x4c]
call dword [esi]
push 0
mov byte [ebp - 4], 5
lea ecx, [ebx + 4]
push dword [ebp - 0x10]
call fcn.1003e175
push 0
push 0x100079ec
lea ecx, [ebx + 4]
call fcn.1003e175
mov edi, dword [ebx + 0x50]
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov edx, dword [edi]
mov esi, dword [edx + 0x2c]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
mov edx, dword [ebp - 0x18]
lea ecx, [ebx + 0x3c]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0x40]
jl 0x10015f2f
mov edi, dword [ebx + 0x50]
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
mov edi, dword [ebx + 0x50]
mov eax, dword [edi]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x1004d3bc]
mov ecx, edi
call esi
push 0
push 1
push dword [ebp - 0x1c]
mov ecx, ebx
push 0
call fcn.1003e175
mov ecx, dword [ebp - 0x20]
push 0
push 0
call fcn.1003e175
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
call fcn.1003ef84
ret