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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
cmp ecx, 0xa
je 0x517919
test ecx, ecx
jne case.default.0x51790c
mov edx, dword [esp + 0x9c]
cmp edx, 0xe
ja case.default.0x51790c
mov ecx, dword [esp + 0x94]
jmp dword [edx*4 + 0x563244]
push 0
push 0
jmp 0x517998
mov edx, dword [eax + 4]
mov ecx, dword [edx]
test ecx, ecx
sete bl
cmp dword [edx + 4], 0
mov eax, dword [eax]
sete dl
or dl, bl
cmp ecx, 0x518210
jne 0x517945
test dl, dl
je 0x517945
mov dword [eax], 0
jmp case.default.0x51790c
cmp ecx, fcn.00518230
setne dh
xor dl, 1
or dh, dl
jne 0x517960
mov dword [eax], 1
jmp case.default.0x51790c
cmp ecx, fcn.00518250
setne dh
or dh, dl
jne 0x517978
mov dword [eax], 2
jmp case.default.0x51790c
cmp ecx, fcn.00518280
setne cl
or cl, dl
jne case.default.0x51790c
mov dword [eax], 3
jmp case.default.0x51790c
push 0
push 1
push 0x586c28
push ecx
call dword [method.QMetaObject.activate_QObject__QMetaObject_const__int__void_]
add esp, 0x90
jmp 0x518151
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
mov edx, dword [eax]
dec edx
cmp edx, 0xfffffffd
ja 0x5179c3
lock inc dword [eax]
mov dword [esp + 0x74], 0
lea esi, [esp + 0x70]
mov dword [esp + 0x78], esi
lea eax, [esp + 0x74]
push eax
push 2
push 0x586c28
push ecx
call dword [method.QMetaObject.activate_QObject__QMetaObject_const__int__void_]
add esp, 0x10
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517a09
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x70]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x6c], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517a22
lock inc dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov edx, dword [eax]
dec edx
cmp edx, 0xfffffffd
ja 0x517a36
lock inc dword [eax]
mov dword [esp + 0x74], 0
lea esi, [esp + 0x6c]
mov dword [esp + 0x78], esi
lea eax, [esp + 0x44]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
push eax
push 3
push 0x586c28
push ecx
call dword [method.QMetaObject.activate_QObject__QMetaObject_const__int__void_]
add esp, 0x10
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517a8a
test ecx, ecx
je 0x517a7c
lock dec dword [eax]
jne 0x517a8a
mov eax, dword [esp + 0x44]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517aaa
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x6c]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x68], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517ac3
lock inc dword [edx]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx edx, word [edx]
mov esi, dword [esi]
mov dword [esp + 0x40], esi
mov edi, dword [esi]
dec edi
cmp edi, 0xfffffffd
ja 0x517add
lock inc dword [esi]
mov esi, dword [eax + 0x10]
mov esi, dword [esi]
mov dword [esp + 0x3c], esi
mov edi, dword [esi]
dec edi
cmp edi, 0xfffffffd
ja 0x517af1
lock inc dword [esi]
mov esi, dword [eax + 0x14]
mov esi, dword [esi]
mov dword [esp + 0x38], esi
mov edi, dword [esi]
dec edi
cmp edi, 0xfffffffd
ja 0x517b05
lock inc dword [esi]
mov eax, dword [eax + 0x18]
movzx eax, byte [eax]
lea edi, [esp + 0x38]
lea ebx, [esp + 0x3c]
lea ebp, [esp + 0x40]
movzx edx, dx
lea esi, [esp + 0x68]
push eax
push edi
push ebx
push ebp
push edx
push esi
call fcn.00494120
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517b4f
test ecx, ecx
je 0x517b41
lock dec dword [eax]
jne 0x517b4f
mov eax, dword [esp + 0x38]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517b75
test ecx, ecx
je 0x517b67
lock dec dword [eax]
jne 0x517b75
mov eax, dword [esp + 0x3c]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517b9b
test ecx, ecx
je 0x517b8d
lock dec dword [eax]
jne 0x517b9b
mov eax, dword [esp + 0x40]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517bbb
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x68]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x64], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517bd4
lock inc dword [edx]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx edx, word [edx]
mov esi, dword [esi]
mov dword [esp + 0x34], esi
mov edi, dword [esi]
dec edi
cmp edi, 0xfffffffd
ja 0x517bee
lock inc dword [esi]
mov esi, dword [eax + 0x10]
mov esi, dword [esi]
mov dword [esp + 0x30], esi
mov edi, dword [esi]
dec edi
cmp edi, 0xfffffffd
ja 0x517c02
lock inc dword [esi]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
dec esi
cmp esi, 0xfffffffd
ja 0x517c16
lock inc dword [eax]
lea eax, [esp + 0x2c]
lea edi, [esp + 0x30]
lea ebx, [esp + 0x34]
movzx edx, dx
lea esi, [esp + 0x64]
push 0
push eax
push edi
push ebx
push edx
push esi
call fcn.00494120
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517c5b
test ecx, ecx
je 0x517c4d
lock dec dword [eax]
jne 0x517c5b
mov eax, dword [esp + 0x2c]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517c81
test ecx, ecx
je 0x517c73
lock dec dword [eax]
jne 0x517c81
mov eax, dword [esp + 0x30]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517ca7
test ecx, ecx
je 0x517c99
lock dec dword [eax]
jne 0x517ca7
mov eax, dword [esp + 0x34]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517cc7
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x64]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x60], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517ce0
lock inc dword [edx]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx edx, word [edx]
mov esi, dword [esi]
mov dword [esp + 0x28], esi
mov edi, dword [esi]
dec edi
cmp edi, 0xfffffffd
ja 0x517cfa
lock inc dword [esi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov esi, dword [eax]
dec esi
cmp esi, 0xfffffffd
ja 0x517d0e
lock inc dword [eax]
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
lea edi, [esp + 0x24]
lea ebx, [esp + 0x28]
movzx edx, dx
lea esi, [esp + 0x60]
push 0
push eax
push edi
push ebx
push edx
push esi
call fcn.00494120
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517d5c
test ecx, ecx
je 0x517d4e
lock dec dword [eax]
jne 0x517d5c
mov eax, dword [esp + 0x20]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517d82
test ecx, ecx
je 0x517d74
lock dec dword [eax]
jne 0x517d82
mov eax, dword [esp + 0x24]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517da8
test ecx, ecx
je 0x517d9a
lock dec dword [eax]
jne 0x517da8
mov eax, dword [esp + 0x28]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517dc8
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x60]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x5c], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517de1
lock inc dword [edx]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx eax, word [edx]
mov edx, dword [esi]
mov dword [esp + 0x1c], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517dfb
lock inc dword [edx]
mov edx, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x14]
lea edi, [esp + 0x18]
lea ebx, [esp + 0x1c]
movzx eax, ax
lea esi, [esp + 0x5c]
push 0
push edx
push edi
push ebx
push eax
push esi
call fcn.00494120
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517e4e
test ecx, ecx
je 0x517e40
lock dec dword [eax]
jne 0x517e4e
mov eax, dword [esp + 0x14]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517e74
test ecx, ecx
je 0x517e66
lock dec dword [eax]
jne 0x517e74
mov eax, dword [esp + 0x18]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517e9a
test ecx, ecx
je 0x517e8c
lock dec dword [eax]
jne 0x517e9a
mov eax, dword [esp + 0x1c]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517eba
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x5c]
jmp 0x51813d
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00494190
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00494440
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov edx, dword [eax]
dec edx
cmp edx, 0xfffffffd
ja 0x517ef1
lock inc dword [eax]
lea esi, [esp + 0x54]
push esi
call fcn.004944a0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517f1b
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x54]
jmp 0x51813d
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov edx, dword [eax]
dec edx
cmp edx, 0xfffffffd
ja 0x517f34
lock inc dword [eax]
lea esi, [esp + 0x50]
push esi
call fcn.004944d0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517f5e
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x50]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x4c], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517f77
lock inc dword [edx]
mov edx, dword [eax + 8]
mov edx, dword [edx]
mov dword [esp + 4], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x517f8b
lock inc dword [edx]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax]
lea edx, [esp + 4]
lea esi, [esp + 0x4c]
push eax
push edx
push esi
call fcn.00494500
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517fc7
test ecx, ecx
je 0x517fb9
lock dec dword [eax]
jne 0x517fc7
mov eax, dword [esp + 4]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x517fe7
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x4c]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x48], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x518000
lock inc dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp], eax
mov edx, dword [eax]
dec edx
cmp edx, 0xfffffffd
ja 0x518013
lock inc dword [eax]
mov eax, esp
lea esi, [esp + 0x48]
push 0
push eax
push esi
call fcn.00494500
mov eax, dword [esp]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x518046
test ecx, ecx
je 0x518038
lock dec dword [eax]
jne 0x518046
mov eax, dword [esp]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x518066
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x48]
jmp 0x51813d
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x58], edx
mov esi, dword [edx]
dec esi
cmp esi, 0xfffffffd
ja 0x51807f
lock inc dword [edx]
mov eax, dword [eax + 8]
movzx eax, word [eax]
mov edx, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
lea edx, [esp + 8]
lea edi, [esp + 0xc]
lea ebx, [esp + 0x10]
lea esi, [esp + 0x58]
push 0
push edx
push edi
push ebx
push eax
push esi
call fcn.00494120
mov eax, dword [esp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5180d9
test ecx, ecx
je 0x5180cb
lock dec dword [eax]
jne 0x5180d9
mov eax, dword [esp + 8]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5180ff
test ecx, ecx
je 0x5180f1
lock dec dword [eax]
jne 0x5180ff
mov eax, dword [esp + 0xc]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x518125
test ecx, ecx
je 0x518117
lock dec dword [eax]
jne 0x518125
mov eax, dword [esp + 0x10]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.default.0x51790c
test ecx, ecx
je 0x51813d
lock dec dword [eax]
jne case.default.0x51790c
mov eax, dword [esp + 0x58]
push 4
push 2
push eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
add esp, 0xc
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret