Function at 0x401910
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
mov eax, dword [sym.imp.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null]
push esi
push edi
mov dword [esp + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
call dword [sym.imp.QtCore4.dll_public:_static_enum_QSysInfo::WinVersion___cdecl_QSysInfo::windowsVersion_void_]
test al, 0xf
mov edi, dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
jne 0x40199a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray_const__]
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40197d
mov eax, dword [esp + 0x10]
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x14]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4019ab
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4019ab
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::operator_char_const__]
push 0x30
mov dword [esp + 0x1c], 0
call dword [sym.imp.QtCore4.dll_void____cdecl_qMalloc_unsigned_int_]
mov dword [esp + 0xc], eax
mov dword [eax], 1
mov ecx, dword [esp + 0xc]
mov eax, 8
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xc]
or dword [eax + 0xc], 1
mov eax, dword [esp + 0xc]
and dword [eax + 0xc], 0xfffffffd
mov eax, dword [esp + 0xc]
push 0x20
add eax, 0x10
push 0
push eax
call dword [sym.imp.QtCore4.dll_void____cdecl_qMemSet_void___int__unsigned_int_]
add esp, 0x10
lea ecx, [esp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push ecx
call sub.QtCore4.dll_void___cdecl_qWinMain_struct_HINSTANCE_____struct_HINSTANCE_____char___int__int___class_QVector_char____
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
add esp, 0x18
cmp eax, 1
je 0x401a50
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00401850
mov eax, dword [esp + 8]
add eax, 0x10
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00401000
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x401a82
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401a82
mov edx, dword [esp + 8]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401a99
mov edx, dword [esp + 0xc]
push edx
call edi
add esp, 4
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret 0x10