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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d7ec2
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
call fcn.0049614c
mov ebx, eax
mov eax, dword [esp + 0xf8]
cmp eax, 1
je 0x49c242
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x49c1ca
jmp dword [eax*4 + 0x49c8d0]
push 1
mov ecx, esi
call fcn.0049653c
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0049863c
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x49c299
push 1
mov ecx, esi
call fcn.004960fc
xor eax, eax
jmp 0x49c299
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jl 0x49c21c
mov eax, ecx
mov ecx, dword [esp + 0xfc]
push eax
push ecx
mov ecx, esi
call fcn.004984ec
xor eax, eax
jmp 0x49c299
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x49c299
mov eax, dword [esp + 0xfc]
push ebp
cmp eax, 0xc
push edi
ja case.default.0x49c250
jmp dword [eax*4 + 0x49c8e0]
push 0
mov ecx, esi
call fcn.0049653c
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jl 0x49c26c
mov eax, ecx
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x50]
cmp edx, edi
jl 0x49c278
mov edx, edi
push 1
push 0
push 0
push eax
push edx
mov ecx, esi
call fcn.0049863c
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xe8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 0xc
push 0
mov ecx, esi
call fcn.0049653c
mov ecx, ebx
call fcn.00491fac
mov ebp, eax
test ebp, ebp
je 0x49c570
mov ecx, ebx
call fcn.00491fec
test eax, eax
je 0x49c570
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov ecx, 3
mov edi, dword [eax]
cmp edx, ecx
jne 0x49c317
cmp ebp, dword [eax + 4]
jg 0x49c317
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0049863c
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
jmp 0x49c28f
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0x48]
cmp edx, ecx
jne 0x49c332
cmp edi, ebp
jg 0x49c3e6
add ebp, dword [eax + 4]
jmp 0x49c33f
cmp edi, ebp
jge 0x49c33f
sub ebp, dword [eax + 4]
cmp edi, ebp
jle 0x49c33f
mov ebp, edi
cmp ebp, 0xffffffff
je 0x49c3e6
mov ecx, ebx
call fcn.0049206c
cmp eax, ebp
jle 0x49c360
mov ecx, ebx
call fcn.0049206c
mov dword [esp + 0x10], eax
jmp 0x49c364
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.00491fac
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
mov ecx, ebx
jge 0x49c37e
call fcn.00491fac
dec eax
jmp 0x49c392
call fcn.0049206c
cmp eax, ebp
jle 0x49c390
mov ecx, ebx
call fcn.0049206c
jmp 0x49c392
mov eax, ebp
mov edx, dword [esi + 0x4c]
mov ecx, esi
push edx
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00499e3c
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x49c3d5
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x48], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
jmp 0x49c3e6
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0049863c
mov ecx, ebx
call fcn.00491fac
dec eax
cmp eax, edi
jge 0x49c3fc
mov ecx, ebx
call fcn.00491fac
dec eax
jmp 0x49c3fe
mov eax, edi
test eax, eax
jge 0x49c406
xor edi, edi
jmp 0x49c41c
mov ecx, ebx
call fcn.00491fac
dec eax
cmp eax, edi
jge 0x49c41c
mov ecx, ebx
call fcn.00491fac
mov edi, eax
dec edi
mov ecx, ebx
call fcn.00491fec
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x49c449
push ebp
push edi
mov ecx, ebx
call fcn.0049216c
test eax, 0x80000
je 0x49c442
dec edi
xor ebp, ebp
jmp 0x49c443
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x49c42d
mov ecx, ebx
mov dword [esp + 0x14], 0
call fcn.0049206c
cmp edi, eax
jge 0x49c495
lea edx, [esp + 0x70]
mov ecx, esi
push edx
call fcn.00495aec
mov eax, dword [eax + 4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], eax
jle 0x49c4e4
push ebx
mov ecx, esi
call fcn.0049592c
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00495cfc
inc ebx
mov dword [esp + 0x18], eax
cmp ebx, edi
jl 0x49c475
jmp 0x49c4e4
push 1
push 1
push 0
lea edx, [esp + 0x8c]
push edi
push edx
mov ecx, esi
call fcn.00498dac
mov ecx, dword [eax + 4]
test ecx, ecx
jge 0x49c4b6
xor edi, edi
jmp 0x49c4cf
push 1
push 1
push 0
lea eax, [esp + 0xdc]
push edi
push eax
mov ecx, esi
call fcn.00498dac
mov edi, dword [eax + 4]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.00497d6c
mov edx, dword [eax + 4]
add edx, edi
mov dword [esp + 0x18], edx
push 0
lea ecx, [esp + 0x50]
call fcn.004cd10e
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x104], 0
call fcn.0042f1fc
mov ecx, dword [esp + 0x60]
add esp, 0xc
lea eax, [esp + 0x14]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x49c557
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.004cd180
jmp case.default.0x49c250
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0049863c
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
jmp 0x49c28f
push 0
mov ecx, esi
call fcn.0049653c
mov ecx, ebx
call fcn.00491fec
mov ecx, ebx
mov ebp, eax
call fcn.00491fac
test eax, eax
je 0x49c2f9
test ebp, ebp
je 0x49c2f9
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
mov ecx, 4
mov edi, dword [eax]
cmp edx, ecx
jne 0x49c5e4
cmp ebp, dword [eax + 4]
jg 0x49c5e4
push 1
push 0
push 0
push 0
push 0
jmp 0x49c280
mov edx, dword [esp + 0x104]
mov ebp, dword [esi + 0x4c]
cmp edx, ecx
jne 0x49c5ff
cmp edi, ebp
jg 0x49c6b3
add ebp, dword [eax + 4]
jmp 0x49c60c
cmp edi, ebp
jge 0x49c60c
sub ebp, dword [eax + 4]
cmp edi, ebp
jle 0x49c60c
mov ebp, edi
cmp ebp, 0xffffffff
je 0x49c6b3
mov ecx, ebx
call fcn.0049207c
cmp eax, ebp
jle 0x49c62d
mov ecx, ebx
call fcn.0049207c
mov dword [esp + 0x10], eax
jmp 0x49c631
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.00491fec
mov ecx, dword [esp + 0x10]
dec eax
cmp eax, ecx
mov ecx, ebx
jge 0x49c64b
call fcn.00491fec
dec eax
jmp 0x49c65f
call fcn.0049207c
cmp eax, ebp
jle 0x49c65d
mov ecx, ebx
call fcn.0049207c
jmp 0x49c65f
mov eax, ebp
mov ecx, dword [esi + 0x48]
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
mov ecx, esi
call fcn.00499e3c
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x49c6a2
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
jmp 0x49c6b3
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0049863c
mov ecx, ebx
call fcn.00491fec
dec eax
cmp eax, edi
jge 0x49c6c9
mov ecx, ebx
call fcn.00491fec
dec eax
jmp 0x49c6cb
mov eax, edi
test eax, eax
jge 0x49c6d3
xor edi, edi
jmp 0x49c6e9
mov ecx, ebx
call fcn.00491fec
dec eax
cmp eax, edi
jge 0x49c6e9
mov ecx, ebx
call fcn.00491fec
mov edi, eax
dec edi
mov ecx, ebx
call fcn.00491fac
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x49c716
push edi
push ebp
mov ecx, ebx
call fcn.0049216c
test eax, 0x40000
je 0x49c70f
dec edi
xor ebp, ebp
jmp 0x49c710
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x49c6fa
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.0049207c
cmp edi, eax
jge 0x49c761
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.00495aec
mov edx, dword [eax]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x14], edx
jle 0x49c7ac
push ebx
mov ecx, esi
call fcn.00495a0c
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.00495bcc
inc ebx
mov dword [esp + 0x14], eax
cmp ebx, edi
jl 0x49c741
jmp 0x49c7ac
push 1
push 1
push edi
lea ecx, [esp + 0x9c]
push 0
push ecx
mov ecx, esi
call fcn.00498dac
cmp dword [eax], 0
jge 0x49c780
xor edi, edi
jmp 0x49c798
push 1
push 1
push edi
lea edx, [esp + 0xac]
push 0
push edx
mov ecx, esi
call fcn.00498dac
mov edi, dword [eax]
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.00497d6c
mov ecx, dword [eax]
add ecx, edi
mov dword [esp + 0x14], ecx
push 0
lea ecx, [esp + 0x50]
call fcn.004cd10e
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov dword [esp + 0x104], 1
call fcn.0042f1fc
mov eax, dword [esp + 0x60]
add esp, 0xc
lea edx, [esp + 0x14]
push 1
push edx
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x49c81f
push eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf8], 0xffffffff
call fcn.004cd180
jmp case.default.0x49c250
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [edi + ecx - 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea ecx, [eax + edx - 1]
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push edx
mov ecx, ebx
call fcn.00493a6c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
inc edx
push edx
push eax
lea eax, [esp + 0xcc]
push ecx
push eax
mov ecx, esi
call fcn.004980dc
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push 1
lea edx, [esp + 0x20]
push 1
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0049850c
jmp case.default.0x49c250