Function at 0x40da10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x18]
push edi
mov edi, 0xffffffff
push esi
mov esi, 4
push ebx
sub esp, 0xbc
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x8c]
mov dword [esp], eax
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x74], 0x40e8d0
mov dword [ebp - 0x70], 0x44d6f4
mov dword [ebp - 0x68], 0x40dc90
call fcn.0041a020
mov dword [ebp - 0x88], edi
mov eax, dword [sym.imp.QtCore4.dll_QByteArray::shared_null]
mov dword [ebp - 0x28], eax
mov dword [esp], eax
call sub.KERNEL32.dll_InterlockedIncrement
mov dword [ebp - 0x88], esi
sub esp, 4
mov eax, dword [method.QSysInfo.windowsVersion__]
call eax
test al, 0xf
jne 0x40db36
call sub.KERNEL32.dll_GetCommandLineW
mov dword [esp + 4], eax
mov ebx, 0xffffffff
lea edx, [ebp - 0x48]
mov dword [esp + 8], ebx
mov dword [esp], edx
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
sub esp, 4
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x38]
mov dword [esp + 4], eax
mov ecx, 3
mov eax, dword [method.QString.toLocal8Bit___const]
mov dword [esp], edx
mov dword [ebp - 0x88], ecx
call eax
sub esp, 4
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x38]
mov dword [esp], edx
mov edx, 2
mov dword [esp + 4], eax
mov eax, dword [method.QByteArray.operator_QByteArray_const_]
mov dword [ebp - 0x88], edx
call eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, 3
mov dword [ebp - 0x88], eax
call sub.KERNEL32.dll_InterlockedDecrement
sub esp, 4
test eax, eax
jne 0x40db0b
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.QtCore4.dll_qFree_void_]
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x88], eax
call sub.KERNEL32.dll_InterlockedDecrement
sub esp, 4
test eax, eax
jne 0x40db56
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
jmp 0x40db56
mov edi, 4
mov dword [ebp - 0x88], edi
call sub.KERNEL32.dll_GetCommandLineA
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call dword [method.QByteArray.operator_char_const_]
xor esi, esi
mov ebx, 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x90], esi
mov ecx, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x88], ecx
call fcn.004224f0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
dec eax
jne 0x40db8d
lea eax, [edx + 0x10]
cmp dword [edx + 0xc], eax
je 0x40dbac
mov eax, dword [edx + 8]
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov edx, 1
mov dword [esp + 4], eax
mov eax, dword [method.QByteArray.realloc_int_]
mov dword [ebp - 0x88], edx
call eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x58]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, 1
mov dword [ebp - 0x88], eax
call sub.QtCore4.dll_qWinMain_HINSTANCE____HINSTANCE____char__int__int__QVector_char__
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
dec eax
je 0x40dbfe
lea edx, [ebp - 0x58]
mov dword [esp], edx
call fcn.004223a0
mov eax, dword [ebp - 0x58]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
mov eax, 1
mov dword [ebp - 0x88], eax
call fcn.0040b600
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40dc4c
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x88], eax
call sub.KERNEL32.dll_InterlockedDecrement
sub esp, 4
test eax, eax
je 0x40ddd9
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x88], eax
call sub.KERNEL32.dll_InterlockedDecrement
sub esp, 4
test eax, eax
je 0x40ddc8
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.0041a100
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.QtCore4.dll_qFree_void_]
jmp 0x40dc6d
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.004223d0
jmp 0x40dc4c