Function at 0x1004a370
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x14
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x1004a383
mov al, 1
pop edi
add esp, 0x14
ret
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
mov byte [esp + 0x13], 0
push eax
lea ecx, [esp + 0x17]
call fcn.10049cd0
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push esi
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea ecx, [esp + 0x1c]
push 1
call ebx
mov ebp, dword [sym.imp.Qt5Core.dll_public:_static_struct_HINSTANCE______cdecl_QSystemLibrary::load_wchar_t_const___bool_]
push eax
call ebp
add esp, 8
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], 1
test eax, eax
je 0x1004a608
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WTOpenW
push eax
call esi
mov cl, byte [esp + 0x20]
mov dword [edi], eax
test cl, cl
jne 0x1004a424
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
jmp 0x1004a428
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1004a430
xor edx, edx
jmp 0x1004a442
push str.WTClose
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], edx
test cl, cl
jne 0x1004a461
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
test eax, eax
jne 0x1004a469
xor edx, edx
jmp 0x1004a47b
push str.WTInfoW
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 8], edx
test cl, cl
jne 0x1004a49a
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
test eax, eax
jne 0x1004a4a2
xor edx, edx
jmp 0x1004a4b4
push str.WTEnable
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc], edx
test cl, cl
jne 0x1004a4d3
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
test eax, eax
jne 0x1004a4db
xor edx, edx
jmp 0x1004a4ed
push str.WTOverlap
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x10], edx
test cl, cl
jne 0x1004a50c
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
test eax, eax
jne 0x1004a514
xor edx, edx
jmp 0x1004a526
push str.WTPacketsGet
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x14], edx
test cl, cl
jne 0x1004a545
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
test eax, eax
jne 0x1004a54d
xor edx, edx
jmp 0x1004a55f
push str.WTGetW
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x18], edx
test cl, cl
jne 0x1004a57e
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
mov cl, 1
mov dword [esp + 0x20], eax
add esp, 8
mov byte [esp + 0x20], cl
test eax, eax
jne 0x1004a586
xor edx, edx
jmp 0x1004a598
push str.WTQueueSizeGet
push eax
call esi
mov cl, byte [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1c], edx
test cl, cl
jne 0x1004a5b6
push 1
lea ecx, [esp + 0x20]
call ebx
push eax
call ebp
add esp, 8
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], 1
test eax, eax
je 0x1004a5c2
push str.WTQueueSizeSet
push eax
call esi
cmp dword [edi], 0
mov dword [edi + 0x20], eax
je 0x1004a608
cmp dword [edi + 4], 0
je 0x1004a608
cmp dword [edi + 8], 0
je 0x1004a608
cmp dword [edi + 0xc], 0
je 0x1004a608
cmp dword [edi + 0x10], 0
je 0x1004a608
cmp dword [edi + 0x14], 0
je 0x1004a608
cmp dword [edi + 0x1c], 0
je 0x1004a608
test eax, eax
je 0x1004a608
lea ecx, [esp + 0x1c]
mov bl, 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
pop esi
pop ebp
mov al, bl
pop ebx
pop edi
add esp, 0x14
ret
lea ecx, [esp + 0x1c]
xor bl, bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
pop esi
pop ebp
mov al, bl
pop ebx
pop edi
add esp, 0x14
ret