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

Disassembly:
push 0xffffffffffffffff
push 0x498728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
add eax, 4
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push 0x400
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], eax
call fcn.0047be00
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x8c]
jne 0x4677c7
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x90]
je 0x4677da
mov eax, 1
add dword [esp + 0x8c], eax
add dword [esp + 0x90], eax
mov eax, dword [esi + 0x204]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
sub edi, dword [esi + 0x98]
mov ecx, esi
call fcn.00477ee0
mov ebx, eax
mov eax, edi
cdq
idiv dword [esp + 0x10]
sub ebx, eax
imul ebx, dword [esp + 0x10]
add ebx, edi
cmp ebx, edi
jge 0x467821
mov ebx, edi
mov ecx, esi
call fcn.00463860
cmp eax, ebp
jge 0x46782e
mov eax, ebp
xor edi, edi
cmp dword [esp + 0x88], edi
jge 0x467840
mov dword [esp + 0x88], edi
cmp dword [esp + 0x84], edi
jge 0x467850
mov dword [esp + 0x84], edi
cmp dword [esp + 0x8c], eax
jle 0x467860
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x90], ebx
jle 0x467870
mov dword [esp + 0x90], ebx
mov ecx, esi
call fcn.00464fe0
mov ecx, esi
call fcn.00464f70
cmp dword [esp + 0x94], edi
mov ecx, dword [esi + 0x154]
mov edx, dword [esi + 0x158]
mov eax, dword [esi + 0x15c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x160]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
je 0x467ae5
lea eax, [esp + 0x5c]
push eax
push edi
mov ecx, esi
call fcn.00463770
mov ecx, esi
mov dword [esp + 0x60], edi
call fcn.00477ee0
mov ebp, dword [esp + 0x10]
imul eax, ebp
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x70], eax
call fcn.004457c0
add esp, 8
test eax, eax
jne 0x467932
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004457c0
add esp, 8
test eax, eax
je 0x467adc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x467940
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jg 0x46794e
mov ecx, edx
cdq
idiv ebp
mov edi, eax
mov eax, ecx
cdq
idiv ebp
test edi, edi
mov ebx, eax
mov dword [esp + 0x8c], ebx
jge 0x467967
xor edi, edi
mov ecx, esi
call fcn.00477ee0
sub eax, 1
cmp ebx, eax
jle 0x467986
mov ecx, esi
call fcn.00477ee0
sub eax, 1
mov dword [esp + 0x8c], eax
mov edx, dword [esi + 0x204]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
mov eax, dword [esi + 0x70]
push eax
push ebx
mov dword [esp + 0x98], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp edi, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
jg 0x467abf
mov ebx, edi
imul ebx, ebp
mov ecx, esi
call fcn.00477ee0
cmp edi, eax
jge 0x467ab8
cmp byte [0x4b1684], 0
je 0x4679e7
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00478b60
jmp 0x4679f9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
mov ecx, esi
call fcn.00478a00
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x54]
push edx
push ebp
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, esi
call fcn.004676c0
add dword [esp + 0x50], ebx
add dword [esp + 0x58], ebx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.004457c0
add esp, 8
test eax, eax
je 0x467a67
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.004457c0
add esp, 8
test eax, eax
jne 0x467aa6
cmp dword [esp + 0x98], eax
push edi
mov ecx, esi
je 0x467a60
call fcn.004780e0
jmp 0x467a96
call fcn.00478000
jmp 0x467a96
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.004457c0
add esp, 8
test eax, eax
je 0x467aa6
cmp dword [esp + 0x98], 0
push edi
mov ecx, esi
je 0x467a91
call fcn.004780e0
jmp 0x467a96
call fcn.00478070
test eax, eax
je 0x467aa6
push 1
push 0
push edi
mov ecx, esi
call fcn.00465050
add edi, 1
add ebx, ebp
cmp edi, dword [esp + 0x8c]
jle 0x4679c0
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x84]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x204]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, esi
call fcn.00456c70
jmp 0x467ae9
mov ebp, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esi + 0x154]
push eax
call edi
mov ecx, esi
call fcn.00464f70
imul eax, ebp
mov edx, dword [esi + 0x98]
sub edx, eax
push edx
mov ecx, esi
call fcn.00464fe0
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
neg eax
push eax
lea eax, [esp + 0x34]
push eax
call ebx
mov ecx, esi
call fcn.00464f70
imul eax, ebp
mov ecx, dword [esi + 0x98]
sub ecx, eax
push ecx
mov ecx, esi
call fcn.00464fe0
neg eax
push eax
lea edx, [esp + 0x44]
push edx
call ebx
mov ecx, esi
call fcn.00464e60
test eax, eax
mov ebp, dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x467be8
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call ebp
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call ebp
mov edi, eax
mov eax, dword [esp + 0x8c]
push 3
push eax
push edi
push edi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [esi + 0x204]
push 0
push edi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRgn]
mov edx, dword [esp + 0x8c]
push edx
call ebx
push edi
call ebx
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add dword [esp + 0x20], 1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
add eax, 1
sub ecx, 1
sub edx, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jge 0x467c68
cmp dword [esp + 0x20], edx
jge 0x467c68
push edx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
call ebp
push 4
mov edi, eax
mov eax, dword [esp + 0x90]
push edi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
call ebx
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add dword [esp + 0x20], 1
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, 1
sub ecx, 1
sub edx, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jge 0x467cd6
cmp dword [esp + 0x20], edx
jge 0x467cd6
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
call ebp
push 4
mov ebp, eax
push ebp
push edi
push edi
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebp
call ebx
mov ebp, dword [esp + 0x8c]
push 3
push ebp
push edi
push edi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [esi + 0x204]
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRgn]
push ebp
call ebx
push edi
call ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0x20