Function at 0x64012f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x64013762
mov eax, dword [esp + 0x114]
push ebx
mov ebx, 0x63
push ebp
push edi
cmp eax, 0x10
ja case.0x64012f42.3
movzx eax, byte [eax + 0x64013790]
jmp dword [eax*4 + 0x6401376c]
mov ebx, 3
jmp case.0x64012f42.3
mov ebx, 1
jmp case.0x64012f42.3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x64012f6d
cmp dword [esi + 0x10], ecx
je 0x6401375f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x64012f9e
cmp eax, 8
je 0x64012fa7
mov ecx, dword [esi + 0x3c]
lea eax, [ecx - 1]
mov dword [esi + 0x3c], eax
test ecx, ecx
jle 0x6401337f
mov ecx, esi
call fcn.64016120
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10c
ret 4
cmp eax, 8
jne 0x6401337f
test ecx, ecx
je case.0x64012f42.3
mov ecx, dword [ecx + 4]
call fcn.6400a930
test al, al
jne 0x640130b4
push 0
push 0
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xfc]
mov dword [esp + 0x24], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x114]
mov dword [esp + 0x2c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x1c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xbc]
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xcc]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xdc]
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
mov ecx, dword [esp + 0x18]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x18]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x2c]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x3c]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x40]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x3c]
jmp 0x640131d8
mov ecx, dword [esi + 0x1c]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
and eax, edx
cmp eax, 0xffffffff
jne 0x64013210
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 4]
call fcn.6400ad00
test al, al
jne 0x64013210
push 0
push 0
lea ecx, [esp + 0xec]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x10c]
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x11c]
mov dword [esp + 0x2c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xe4]
mov dword [esp + 0x24], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xb4]
mov dword [esp + 0x20], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x104]
mov dword [esp + 0x18], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xc4]
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xf4]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0xd4]
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
mov ecx, dword [esp + 0x14]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x28]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
push dword [ebp + 4]
push dword [ebp]
push dword [ebx + 4]
push dword [ebx]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
push 2
push str._q_receiveReply
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject___char_const___enum_Qt::ConnectionType__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
add esp, 0x5c
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10c
ret 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
or eax, edx
je 0x6401337f
mov ecx, dword [esi + 0x1c]
push 0
push 0
call sym.Qt5Network.dll_public_virtual:_void___thiscall_QNetworkReply::setReadBufferSize_long_long___int64__
mov ecx, dword [esi + 0x1c]
push 0
call fcn.6400c4a0
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x1c], 0
jne 0x6401337f
mov ecx, esi
call fcn.64015cf0
push 0
push 0
lea ecx, [esp + 0x5c]
mov dword [esi + 0x10], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x84]
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x94]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x6c]
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
mov ecx, dword [esp + 0x14]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x28]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
lea ecx, [esi + 0x80]
push dword [ebp + 4]
push dword [ebp]
push dword [ebx + 4]
push dword [ebx]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
push 2
push str._q_startNextRequest
call fcn.6400a250
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject___char_const___enum_Qt::ConnectionType__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
add esp, 0x5c
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10c
ret 4
mov ebx, 2
jmp case.0x64012f42.3
cmp dword [esi + 0x10], 2
jne 0x6401339d
mov ecx, dword [esi + 0x3c]
lea eax, [ecx - 1]
mov dword [esi + 0x3c], eax
test ecx, ecx
jg 0x64012f8a
mov ebx, 4
jmp case.0x64012f42.3
mov ebx, 0x69
jmp case.0x64012f42.3
mov ebx, 6
jmp case.0x64012f42.3
mov ecx, dword [esi + 0x3c]
lea eax, [ecx - 1]
mov dword [esi + 0x3c], eax
test ecx, ecx
jg 0x64012f8a
mov ebx, 0x66
jmp case.0x64012f42.3
mov ecx, dword [esi + 0x3c]
lea eax, [ecx - 1]
mov dword [esi + 0x3c], eax
test ecx, ecx
jg 0x64012f8a
mov ebx, 0x68
mov ebp, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x64013402
mov eax, 1
lock xadd dword [ebp], eax
mov eax, dword [esi + 0x80]
test eax, eax
je 0x6401341a
cmp dword [eax + 4], 0
je 0x6401341a
mov edi, dword [esi + 0x84]
jmp 0x6401341c
xor edi, edi
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
mov edi, dword [edi + 4]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
push eax
push dword [esi + 8]
lea eax, [esp + 0x30]
mov ecx, edi
push ebx
push eax
call fcn.6400e730
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 0x80]
test eax, eax
je 0x64013460
cmp dword [eax + 4], 0
je 0x64013460
mov ecx, dword [esi + 0x84]
jmp 0x64013462
xor ecx, ecx
push dword [esi + 8]
mov ecx, dword [ecx + 4]
call fcn.640115f0
or edi, 0xffffffff
test al, al
je 0x64013740
mov edi, dword [reloc.Qt5Core.dll___4QString__QAEAAV0_ABV0__Z]
mov edi, edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x640134b2
mov eax, dword [esi + 0x80]
test eax, eax
je 0x6401349e
cmp dword [eax + 4], ecx
je 0x6401349e
mov ecx, dword [esi + 0x84]
jmp 0x640134a0
xor ecx, ecx
push dword [esi + 8]
mov ecx, dword [ecx + 4]
call fcn.6400e0e0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x640134e2
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x28]
push eax
add ecx, 0x68
call edi
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.64089cd0
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x1c], 0
test ecx, ecx
je 0x640134e2
push 0
call fcn.64016540
mov eax, dword [esi + 0x80]
test eax, eax
je 0x640134fa
cmp dword [eax + 4], 0
je 0x640134fa
mov eax, dword [esi + 0x84]
jmp 0x640134fc
xor eax, eax
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0x74]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
je 0x64013480
mov eax, dword [esi + 0x80]
test eax, eax
je 0x64013528
cmp dword [eax + 4], 0
je 0x64013528
mov eax, dword [esi + 0x84]
jmp 0x6401352a
xor eax, eax
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0x78]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
je 0x64013480
mov eax, dword [esi + 0x80]
test eax, eax
je 0x64013556
cmp dword [eax + 4], 0
je 0x64013556
mov ecx, dword [esi + 0x84]
jmp 0x64013558
xor ecx, ecx
call fcn.6400dc20
cmp eax, 1
jne 0x640135d8
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x64]
call fcn.64011e70
lea ecx, [esp + 0x10]
xor edi, edi
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x640135ad
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::at_int_const]
lea ecx, [esp + 0x28]
push ecx
push ebx
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
call fcn.64089cd0
lea ecx, [esp + 0x10]
inc edi
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QListData::size_void_const]
cmp edi, eax
jl 0x64013583
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x640135ce
cmp ecx, 0xffffffff
je 0x640135d8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x640135d8
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
call fcn.6400e040
test ebp, ebp
je 0x640135ec
cmp dword [ebp + 4], 0
je 0x640135ec
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jmp 0x640135f4
mov dword [esp + 0x10], 0
push 0
push 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x84]
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x74]
mov dword [esp + 0x2c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x24], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x3c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x4c]
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x7c]
mov ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x5c]
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
mov ecx, dword [esp + 0x14]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x28]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x34]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x5c]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x5c]
push dword [ecx + 4]
push dword [ecx]
push dword [ebp + 4]
push dword [ebp]
push dword [ebx + 4]
push dword [ebx]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
push 2
push str._q_startNextRequest
push dword [esp + 0x68]
call dword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject___char_const___enum_Qt::ConnectionType__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
mov ebp, dword [esp + 0x88]
add esp, 0x5c
test ebp, ebp
je 0x6401373d
cmp dword [ebp + 4], 0
je 0x6401373d
cmp dword [esp + 0x18], 0
je 0x6401373d
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x6401372a
mov dword [esi + 0x10], ecx
jmp 0x64013739
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::SocketState___thiscall_QAbstractSocket::state_void_
neg eax
sbb eax, eax
and eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esi + 0x38], 0
or edi, 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test ebp, ebp
je 0x6401375f
lock xadd dword [ebp], edi
dec edi
jne 0x6401375f
push ebp
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10c
ret 4