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

Disassembly:
push 0xffffffffffffffff
push 0x492348
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 + 0x84]
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.004762c0
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x8c]
jne 0x462927
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x90]
je 0x46293a
mov eax, 1
add dword [esp + 0x8c], eax
add dword [esp + 0x90], eax
mov eax, dword [esi + 0x1e4]
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 + 0x90]
mov ecx, esi
call fcn.004727c0
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 0x462981
mov ebx, edi
mov ecx, esi
call fcn.0045e9b0
cmp eax, ebp
jge 0x46298e
mov eax, ebp
xor edi, edi
cmp dword [esp + 0x88], edi
jge 0x4629a0
mov dword [esp + 0x88], edi
cmp dword [esp + 0x84], edi
jge 0x4629b0
mov dword [esp + 0x84], edi
cmp dword [esp + 0x8c], eax
jle 0x4629c0
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x90], ebx
jle 0x4629d0
mov dword [esp + 0x90], ebx
mov ecx, esi
call fcn.004600f0
mov ecx, esi
call fcn.00460080
cmp dword [esp + 0x94], edi
mov ecx, dword [esi + 0x144]
mov edx, dword [esi + 0x148]
mov eax, dword [esi + 0x14c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x150]
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 0x462c45
lea eax, [esp + 0x5c]
push eax
push edi
mov ecx, esi
call fcn.0045e8c0
mov ecx, esi
mov dword [esp + 0x60], edi
call fcn.004727c0
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.00441c50
add esp, 8
test eax, eax
jne 0x462a92
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00441c50
add esp, 8
test eax, eax
je 0x462c3c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x462aa0
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jg 0x462aae
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 0x462ac7
xor edi, edi
mov ecx, esi
call fcn.004727c0
sub eax, 1
cmp ebx, eax
jle 0x462ae6
mov ecx, esi
call fcn.004727c0
sub eax, 1
mov dword [esp + 0x8c], eax
mov edx, dword [esi + 0x1e4]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
mov eax, dword [esi + 0x68]
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 0x462c1f
mov ebx, edi
imul ebx, ebp
mov ecx, esi
call fcn.004727c0
cmp edi, eax
jge 0x462c18
cmp byte [0x4aa648], 0
je 0x462b47
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.004732a0
jmp 0x462b59
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
mov ecx, esi
call fcn.00473140
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.00462820
add dword [esp + 0x50], ebx
add dword [esp + 0x58], ebx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00441c50
add esp, 8
test eax, eax
je 0x462bc7
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00441c50
add esp, 8
test eax, eax
jne 0x462c06
cmp dword [esp + 0x98], eax
push edi
mov ecx, esi
je 0x462bc0
call fcn.004729c0
jmp 0x462bf6
call fcn.004728e0
jmp 0x462bf6
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00441c50
add esp, 8
test eax, eax
je 0x462c06
cmp dword [esp + 0x98], 0
push edi
mov ecx, esi
je 0x462bf1
call fcn.004729c0
jmp 0x462bf6
call fcn.00472950
test eax, eax
je 0x462c06
push 1
push 0
push edi
mov ecx, esi
call fcn.00460160
add edi, 1
add ebx, ebp
cmp edi, dword [esp + 0x8c]
jle 0x462b20
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 + 0x1e4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, esi
call fcn.00452100
jmp 0x462c49
mov ebp, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esi + 0x144]
push eax
call edi
mov ecx, esi
call fcn.00460080
imul eax, ebp
mov edx, dword [esi + 0x90]
sub edx, eax
push edx
mov ecx, esi
call fcn.004600f0
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.00460080
imul eax, ebp
mov ecx, dword [esi + 0x90]
sub ecx, eax
push ecx
mov ecx, esi
call fcn.004600f0
neg eax
push eax
lea edx, [esp + 0x44]
push edx
call ebx
mov ecx, esi
call fcn.0045ff70
test eax, eax
mov ebp, dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x462d48
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 + 0x1e4]
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 0x462dc8
cmp dword [esp + 0x20], edx
jge 0x462dc8
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 0x462e36
cmp dword [esp + 0x20], edx
jge 0x462e36
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 + 0x1e4]
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.00476730
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0x20