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

Disassembly:
push 0xffffffffffffffff
push 0x548948
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0x84]
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], 0
call fcn.004701e0
mov ecx, dword [edi + 0x84]
push ebp
mov ebx, eax
call fcn.004701e0
mov ecx, dword [edi + 0x84]
push esi
mov ebp, eax
call fcn.004701e0
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov esi, eax
mov dword [esp + 0x40], ecx
xor eax, eax
mov dword [esp + 0x44], edx
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x14]
add eax, dword [edx + 0x3c]
mov edx, dword [edx + 0x54]
add ecx, dword [esp + 0x4c]
test edx, edx
mov dword [esp + 0x14], edx
jne 0x496871
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
add eax, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call fcn.004e9f86
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x8c]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x6c]
call fcn.004ea326
mov dword [esp + 0xc4], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push 0x550009
sub eax, edx
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x58]
mov dword [esp + 0x24], ecx
push eax
mov ecx, edi
mov dword [esp + 0x2c], edx
call fcn.004e9f86
xor eax, eax
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, ebp
je 0x4969ab
mov ecx, dword [eax + 0x3c]
add dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x54]
add dword [esp + 0x18], ecx
test eax, eax
jne 0x496996
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], ecx
mov eax, esi
mov ecx, dword [eax + 0x3c]
add dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x54]
add dword [esp + 0x18], ecx
test eax, eax
jne 0x4969d1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x20]
push eax
push ecx
mov dword [esp + 0x54], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x50]
add ecx, edx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_ClipCursor]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
push 0
push 0
push 0
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x20]
jne 0x496b8d
jmp 0x496a70
mov eax, dword [esp + 0xa0]
sub eax, 0x200
je 0x496a9a
sub eax, 2
je 0x496b5d
lea ecx, [esp + 0x9c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x496b38
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x24]
shr edx, 0x10
movsx eax, dx
sub eax, dword [esp + 0xd4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0x550009
push eax
mov eax, dword [esp + 0x28]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x78]
push eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push 0x550009
push eax
mov eax, dword [esp + 0x28]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x78]
push eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
push 0
push 0
push 0
lea edx, [esp + 0xa8]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x20]
je 0x496a70
jmp 0x496b8d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push 0x550009
sub eax, edx
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x496c68
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x48], edx
mov edx, eax
add eax, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x48]
mov edx, dword [ebp + 0x44]
mov ebx, dword [ebp]
add eax, ecx
mov ecx, dword [ebp + 0x48]
push ecx
mov ecx, edx
push ecx
push eax
push edx
mov edx, dword [ebx + 0x24]
mov ecx, ebp
call edx
mov ecx, dword [esi + 0x44]
mov ebp, dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esi]
push ebp
mov ebp, ecx
add eax, ebx
push ebp
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, esi
call eax
mov ecx, dword [esi + 0x44]
mov ebp, dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x14]
push ebp
mov ebp, ecx
sub eax, ebx
mov ebx, dword [esi + 0xc]
push ebp
push eax
mov dword [esp + 0x5c], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push ecx
mov ecx, esi
mov dword [esi + 0xc], 1
mov dword [esi + 0x14], 0
call eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x496c4d
mov eax, dword [edi + 0x20]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi + 0x20]
push 0
push 0x4959a0
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x68]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004ea37a
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0xc