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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
movzx eax, byte [esp + 0xc8]
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x3e], al
movzx eax, byte [esp + 0xcc]
mov byte [esp + 0x3f], al
mov eax, dword [ebx]
mov dword [esp + 0x4c], eax
mov edx, dword [eax]
test edx, edx
je 0x665e48fc
cmp edx, 0xffffffff
jne 0x665e48d4
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [0x66a1fa64]
mov dword [esp + 0x20], eax
call eax
sub esp, 4
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], 0
test edx, edx
jle 0x665e463b
lea esi, [esi]
lea esi, [esi]
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
call eax
sub esp, 4
cmp dword [esp + 0x54], 3
ja 0x665e48f5
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
call eax
sub esp, 4
movzx eax, byte [esp + 0x3f]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xffffffff
xor eax, 1
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], 0xffffffff
shl eax, 5
add esi, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], esi
mov dword [esp + 0x98], eax
mov eax, dword [0x66a1f9dc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x665e45f6
mov dword [esp + 0x1c], 0
lea ebp, [esp + 0x5c]
lea esi, [esp + 0x60]
lea esi, [esi]
nop
mov eax, dword [0x66a1f9dc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
mov byte [esp + 0x84], 0
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [0x66a20908]
lea eax, [esp + 0x4b]
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
call dword [0x66a1fa5c]
sub esp, 4
lea eax, [esp + 0x64]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov dword [esp], esi
call ebx
sub esp, 4
cmp byte [esp + 0x3e], 0xfc
mov ebx, dword [esp + 0x60]
mov byte [esp + 0x3c], 0
je 0x665e4750
mov edx, dword [esp + 0x4c]
mov ebx, dword [0x66a208b4]
xor edi, edi
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
sub ecx, eax
test ecx, ecx
jg 0x665e453a
jmp 0x665e45c2
cmp ecx, 0xffffffff
je 0x665e451f
lock sub dword [edx], 1
mov edx, dword [esp + 0x60]
je 0x665e4561
mov edx, dword [esp + 0x4c]
test al, al
jne 0x665e458b
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
add edi, 1
sub ecx, eax
cmp edi, ecx
jge 0x665e45c2
add eax, edi
mov ecx, esi
mov eax, dword [edx + eax*4 + 0x10]
mov dword [esp], eax
call dword [0x66a20674]
sub esp, 4
mov dword [esp + 4], ebp
mov dword [esp], esi
call ebx
mov edx, dword [esp + 0x60]
mov ecx, dword [edx]
test ecx, ecx
jne 0x665e4510
mov byte [esp + 0x18], al
mov dword [esp], edx
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [0x66a1f9d8]
movzx eax, byte [esp + 0x18]
mov edx, dword [esp + 0x4c]
test al, al
je 0x665e4527
mov eax, dword [edx]
lea ecx, [esp + 0x4c]
cmp eax, 1
ja 0x665e47c0
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 8]
add edx, edi
mov ebx, dword [eax + edx*4 + 0x10]
mov dword [esp], edi
call dword [0x66a20220]
sub esp, 4
test ebx, ebx
je 0x665e45c2
cmp byte [esp + 0x3d], 0
jne 0x665e4680
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
test edx, edx
je 0x665e4730
cmp edx, 0xffffffff
je 0x665e45e3
lock sub dword [eax], 1
mov eax, dword [esp + 0x5c]
je 0x665e4730
add dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x58], eax
jg 0x665e4410
cmp byte [esp + 0x3d], 0
jne 0x665e48b1
mov eax, dword [esp + 0x9c]
mov edx, dword [eax]
test edx, edx
je 0x665e4893
cmp edx, 0xffffffff
je 0x665e4628
lock sub dword [eax], 1
mov eax, dword [esp + 0x9c]
je 0x665e4893
add dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x50], eax
jg 0x665e4350
mov ecx, dword [esp + 0xc0]
call dword [0x66a202f8]
test eax, eax
sete bl
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
test edx, edx
je 0x665e48dd
cmp edx, 0xffffffff
je 0x665e466e
lock sub dword [eax], 1
mov eax, dword [esp + 0x4c]
je 0x665e48dd
add esp, 0xac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0x44
call fcn.6678d230
mov dword [esp], ebx
mov ecx, eax
mov edi, eax
call method.QWidgetItemV2.QWidgetItemV2_QWidget_
sub esp, 4
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x74], edi
je 0x665e4870
xor eax, eax
test byte [esp + 0x4b], 2
setne al
add eax, 1
mov dword [esp], eax
mov ecx, ebx
call method.QToolBar.setOrientation_Qt::Orientation_
mov edx, dword [ebx]
mov ecx, ebx
sub esp, 4
movzx eax, byte [esp + 0x4b]
and eax, 1
mov dword [esp], eax
call dword [edx + 0x34]
mov ecx, dword [ebx + 4]
sub esp, 4
lea eax, [esp + 0x64]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x3c]
mov dword [esp], eax
call fcn.665dc240
sub esp, 0xc
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.667cc360
sub esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
test edx, edx
jne 0x665e45d0
lea esi, [esi]
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x665e45e3
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x20]
mov dword [esp], esi
call eax
mov eax, ebx
sub esp, 4
and eax, 1
mov byte [esp + 0x3c], al
mov edi, dword [esp + 0x60]
je 0x665e4880
mov eax, ebx
movzx edx, di
shr ebx, 0x11
shr eax, 1
mov dword [esp + 0x18], edx
sub edx, 0x7fff
movzx eax, ax
lea ecx, [eax - 0x7fff]
lea eax, [eax + ebx - 0x8000]
mov ebx, edi
mov edi, dword [esp + 0x18]
shr ebx, 0x10
lea ebx, [edi + ebx - 0x8000]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
jmp 0x665e44ec
mov eax, dword [edx + 8]
lea ecx, [edx + eax*4 + 0x10]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
call dword [0x66a20218]
sub esp, 4
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
shl eax, 2
lea ecx, [edx + eax + 0x10]
cmp dword [esp + 0x24], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x28]
je 0x665e4824
mov edx, dword [edx + 0xc]
shl edx, 2
sub edx, eax
test edx, edx
jle 0x665e4824
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.6678ef40
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x665e484d
cmp eax, 0xffffffff
je 0x665e459a
mov ebx, dword [esp + 0x18]
mov eax, 0xffffffff
lock xadd dword [ebx], eax
cmp eax, 1
jne 0x665e459a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
call dword [0x66a20228]
mov ecx, dword [esp + 0x24]
jmp 0x665e459a
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
jmp 0x665e46b7
mov ebx, 0xffffffff
mov eax, 0xffffffff
xor edx, edx
xor ecx, ecx
jmp 0x665e47aa
mov dword [esp + 8], 4
mov dword [esp + 4], 0x14
mov dword [esp], eax
call dword [0x66a1f9d8]
jmp 0x665e4628
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
lea ecx, [eax + esi + 0x14]
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.667cc5e0
sub esp, 4
jmp 0x665e4601
lock add dword [eax], 1
jmp 0x665e4316
mov dword [esp], eax
call dword [0x66a20228]
add esp, 0xac
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
xor ebx, ebx
jmp 0x665e464d
mov eax, dword [eax + 4]
lea ecx, [esp + 0x4c]
mov dword [esp], eax
call dword [0x66a20218]
mov eax, dword [ebx]
sub esp, 4
mov edx, dword [eax + 8]
lea ebx, [eax + edx*4 + 0x10]
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 8]
lea edx, [esi*4]
lea ecx, [eax + edx + 0x10]
cmp ebx, ecx
je 0x665e4316
mov eax, dword [eax + 0xc]
shl eax, 2
sub eax, edx
test eax, eax
jle 0x665e4316
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ecx
call fcn.6678ef40
jmp 0x665e4316