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

Disassembly:
push 0xffffffffffffffff
push 0x5058e4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ebp, dword [sym.imp.QtGui4.dll_public:_static_class_QDesktopWidget____cdecl_QApplication::desktop_void_]
call ebp
mov esi, eax
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDesktopWidget::primaryScreen_void_const]
mov ebx, dword [sym.imp.QtGui4.dll_public:_class_QRect___thiscall_QDesktopWidget::availableGeometry_int_const]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call ebx
mov esi, dword [esp + 0xd0]
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_class_QWidget____thiscall_QWidget::parentWidget_void_const]
mov edx, dword [esi + 0x10]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 0x18]
sub esi, dword [edx + 0x14]
sub edi, dword [edx + 0x10]
add edx, 0x10
inc esi
inc edi
test eax, eax
je 0x42cdff
lea ecx, [esp + 0x8c]
push ecx
mov ecx, eax
call dword [sym.imp.QtGui4.dll_public:_class_QRect___thiscall_QWidget::frameGeometry_void_]
jmp 0x42ce0f
lea ecx, [esp + 0xac]
push 0xffffffffffffffff
push ecx
call ebp
mov ecx, eax
call ebx
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], eax
mov eax, edx
sub eax, ecx
inc eax
sub eax, edi
mov dword [esp + 0x64], edx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x68]
sub eax, ebp
inc eax
sub eax, esi
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
sar edi, 1
sar ebx, 1
add edi, ecx
add ebx, ebp
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov ebp, dword [esp + 0x18]
lea edx, [ebp + 0x25c]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0xcc], 0
call fcn.004242f0
add esp, 8
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov byte [esp + 0xc4], 1
lea esp, [esp]
mov edx, eax
inc eax
mov dword [esp + 0x30], eax
test edx, edx
jne 0x42ced1
cmp ecx, dword [esp + 0x38]
je 0x42ced1
mov esi, dword [ecx]
test eax, eax
je 0x42cec4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call fcn.0041de20
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
jmp 0x42cea3
mov ecx, dword [esp + 0x34]
add ecx, 4
mov dword [esp + 0x34], ecx
jmp 0x42ce90
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xc4], 0
test eax, eax
je 0x42cf02
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42cf02
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
test eax, eax
jne 0x42cf02
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea edx, [ebp + 0x260]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00424230
add esp, 8
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov byte [esp + 0xc4], 2
mov edx, eax
inc eax
mov dword [esp + 0x50], eax
test edx, edx
jne 0x42cf6e
cmp ecx, dword [esp + 0x58]
je 0x42cf6e
mov esi, dword [ecx]
lea esp, [esp]
test eax, eax
je 0x42cf61
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], esi
call fcn.0041de20
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x50], eax
jmp 0x42cf40
mov ecx, dword [esp + 0x54]
add ecx, 4
mov dword [esp + 0x54], ecx
jmp 0x42cf26
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xc4], 0
test eax, eax
je 0x42cf9f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42cf9f
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
test eax, eax
jne 0x42cf9f
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
add ebp, 0x264
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.00424290
add esp, 8
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov byte [esp + 0xc4], 3
mov edx, eax
inc eax
mov dword [esp + 0x40], eax
test edx, edx
jne 0x42d004
cmp ecx, dword [esp + 0x48]
je 0x42d004
mov esi, dword [ecx]
test eax, eax
je 0x42cff7
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], esi
call fcn.0041de20
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jmp 0x42cfd6
mov ecx, dword [esp + 0x44]
add ecx, 4
mov dword [esp + 0x44], ecx
jmp 0x42cfc3
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc4], 0
test eax, eax
je 0x42d035
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42d035
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
test eax, eax
jne 0x42d035
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
cmp edx, 1
jle 0x42d182
jmp 0x42d050
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov esi, ebx
push ecx
mov ebp, edi
mov dword [esp + 0x78], esi
call fcn.00424600
add esp, 8
mov eax, dword [esp + 0x24]
mov byte [esp + 0xc4], 4
mov ecx, dword [esp + 0x20]
mov edx, ecx
inc ecx
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x42d0ed
cmp eax, dword [esp + 0x28]
je 0x42d0ed
mov esi, dword [eax]
lea ecx, [ecx]
cmp dword [esp + 0x20], 0
je 0x42d0dc
cmp esi, dword [esp + 0xd0]
je 0x42d0ce
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_class_QRect___thiscall_QWidget::frameGeometry_void_]
mov eax, edi
sub eax, dword [esp + 0x7c]
jns 0x42d0b7
neg eax
cmp eax, 0xa
jl 0x42d0d4
mov eax, ebx
sub eax, dword [esp + 0x80]
jns 0x42d0c9
neg eax
cmp eax, 0xa
jl 0x42d0d4
dec dword [esp + 0x20]
jmp 0x42d090
add ebp, 0x16
add dword [esp + 0x70], 0x16
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x70]
add eax, 4
mov dword [esp + 0x24], eax
jmp 0x42d076
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xc4], 0
test eax, eax
je 0x42d11e
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42d11e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x42d11e
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
cmp ebp, edi
jne 0x42d126
cmp esi, ebx
je 0x42d17a
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x64]
inc ecx
add ecx, ebp
cmp ecx, edx
mov edi, ebp
mov ebx, esi
jl 0x42d150
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edi, edx
inc ecx
sub edi, ecx
mov ecx, dword [eax + 0x1c]
sub ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x68]
inc ecx
add ecx, ebx
cmp ecx, edx
jl 0x42d16c
mov ecx, dword [eax + 0x1c]
sub ecx, dword [eax + 0x14]
mov ebx, edx
inc ecx
sub ebx, ecx
cmp edi, ebp
jne 0x42d17e
cmp ebx, esi
je 0x42d050
jmp 0x42d17e
mov edi, ebp
mov ebx, esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xcc]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esp + 0xc4], 0xffffffff
test eax, eax
je 0x42d1be
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x42d1be
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
jne 0x42d1be
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 8