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

Disassembly:
push 0xffffffffffffffff
push 0x100e793c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x48]
mov ecx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::clear_void_]
push 0
push esi
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QBuffer::constructor_class_QByteArray___class_QObject__]
push ecx
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], 0
mov dword [esp + 0x44], esp
mov dword [eax], 4
call dword [sym.imp.QtCore4.dll_public_virtual:_bool___thiscall_QBuffer::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
mov eax, dword [edi + 0x44]
mov dword [esp + 0x14], eax
add eax, 0x34
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x14]
test byte [eax + 0x44], 2
jne 0x1001859f
mov edx, dword [eax + 0x34]
cmp edx, 1
je 0x1001859f
lea ecx, [esp + 0x14]
call fcn.10005680
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x64], 1
test ecx, ecx
je 0x10018897
lea eax, [esp + 0x18]
push eax
call fcn.1002d990
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x6c], 2
call fcn.100088e0
add esp, 8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x64], 4
test eax, eax
je 0x10018612
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10018612
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.10005300
mov eax, dword [esi]
test eax, eax
jne 0x10018612
push esi
call dword [0x100eb558]
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, eax
inc eax
mov dword [esp + 0x50], eax
test ecx, ecx
jne 0x1001862f
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x58]
je 0x1001862f
mov bl, 1
jmp 0x10018631
xor bl, bl
test byte [esp + 0x10], 2
je 0x1001867d
mov eax, dword [esp + 0x20]
and dword [esp + 0x10], 0xfffffffd
test eax, eax
je 0x1001867d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001867d
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.10005300
mov ecx, dword [esi]
test ecx, ecx
jne 0x1001867d
push esi
call dword [0x100eb558]
add esp, 4
test bl, bl
je 0x1001884e
test byte [esp + 0x10], 4
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], edx
je 0x100186e0
mov eax, dword [esp + 0x24]
and dword [esp + 0x10], 0xfffffffb
test eax, eax
je 0x100186e0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100186e0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.10005300
mov ecx, dword [esi]
test ecx, ecx
jne 0x100186e0
push esi
call dword [0x100eb558]
add esp, 4
lea esp, [esp]
test byte [esp + 0x10], 0x10
mov ebx, dword [esp + 0x50]
je 0x10018750
mov eax, dword [esp + 0x3c]
and dword [esp + 0x10], 0xffffffef
test eax, eax
je 0x10018750
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10018750
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebp, eax
cmp edi, esi
je 0x1001873f
lea esp, [esp]
mov eax, dword [esi - 4]
sub esi, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001873b
mov edx, dword [esi]
push edx
call dword [0x100eb564]
add esp, 4
cmp esi, edi
jne 0x10018720
mov eax, dword [ebp]
test eax, eax
jne 0x10018750
push ebp
call dword [0x100eb558]
add esp, 4
test ebx, ebx
je 0x100187f8
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x78]
call fcn.100175a0
push eax
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 5
call fcn.10005b40
mov ecx, eax
call dword [0x100eb560]
mov edx, dword [esp + 0x28]
mov byte [esp + 0x64], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100187a3
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x100eb564]
add esp, 4
dec dword [esp + 0x50]
test byte [esp + 0x10], 8
je 0x100186e0
mov eax, dword [esp + 0x2c]
and dword [esp + 0x10], 0xfffffff7
test eax, eax
je 0x100186e0
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x100186e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.10005300
mov eax, dword [esi]
test eax, eax
jmp 0x100186cd
add dword [esp + 0x54], 4
test byte [esp + 0x10], 1
je 0x10018612
mov eax, dword [esp + 0x30]
and dword [esp + 0x10], 0xfffffffe
test eax, eax
je 0x10018612
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10018612
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.10005300
mov ecx, dword [esi]
test ecx, ecx
jmp 0x10018606
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x64], 1
test eax, eax
je 0x10018893
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x10018893
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.10005300
mov eax, dword [esi]
test eax, eax
jne 0x10018893
push esi
call dword [0x100eb558]
add esp, 4
mov edi, dword [esp + 0x34]
mov ecx, dword [edi + 0x14]
call fcn.1006b250
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.1006b460
mov eax, dword [esp + 0x74]
test eax, eax
je 0x100188bd
mov ecx, dword [edi + 0x14]
push eax
call fcn.1006af60
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x38]
push edx
call dword [0x100eb4ec]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push 0xffffffffffffffff
mov bl, 6
push eax
mov byte [esp + 0x6c], bl
call dword [0x100eb538]
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x6c], 7
call fcn.1006b2a0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x64], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001891d
mov edx, dword [esp + 0x1c]
push edx
call dword [0x100eb564]
add esp, 4
mov eax, dword [esp + 0x38]
mov byte [esp + 0x64], 1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001893d
mov edx, dword [esp + 0x38]
push edx
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0x44]
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QBuffer::close_void_]
mov ecx, dword [edi + 0x14]
call fcn.1006ab30
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
mov byte [esp + 0x64], 0
test eax, eax
je 0x1001897b
add eax, 0x34
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001897b
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x18]
call fcn.10005360
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QBuffer::destructor_void_]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0xc