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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x563650
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x194]
mov edx, dword [ecx + 0x19c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
call fcn.00475c40
test eax, eax
je 0x490129
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x1b8]
mov edi, dword [esi + 0x80]
imul edi, dword [0x5c3e08]
push 0
push eax
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00473d30
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x1bc]
push 0
push edx
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0x70]
push edx
call fcn.00473d30
mov ecx, dword [esi + 0x7c]
mov eax, dword [esp + 0x64]
mov edx, dword [0x5c3df4]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esi + 0x68]
sub eax, ecx
inc eax
imul eax, edx
sub ebx, ecx
add eax, ebp
imul ebx, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x1bc]
sub ecx, dword [eax + 0x1b8]
mov eax, dword [esi + 0x64]
add ebx, ebp
mov ebp, eax
sub ebp, edi
add ebp, dword [esp + 0x18]
inc ecx
cmp eax, ebp
mov edx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edx
jle 0x48fda2
mov dword [esp + 0x58], eax
jmp 0x48fdae
mov ebp, eax
sub ebp, edi
add ebp, dword [esp + 0x18]
mov dword [esp + 0x58], ebp
sub eax, edi
add eax, dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x490088
jmp 0x48fdd4
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x1b8]
mov ebx, dword [ecx + 0x31c]
mov ecx, dword [ecx + 0x1a8]
add eax, ebp
lea eax, [eax + eax*8]
mov eax, dword [ebx + eax*4 + 0x10]
mov dword [esp + 0x70], eax
lea eax, [ebp + ebp*2]
mov ebx, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, vtable.CRgn.0
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esi + 0x68]
cmp eax, edx
mov byte [esp + 0xa8], 2
mov dword [esp + 0x30], eax
jg 0x48fe4e
mov dword [esp + 0x30], edx
mov ecx, dword [0x5c3df4]
mov eax, dword [esp + 0x74]
add ecx, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x60]
call fcn.00509caa
cmp ebx, dword [esp + 0x4c]
jne 0x48fec2
mov eax, dword [0x5c3198]
mov ecx, dword [esi + 0x64]
imul eax, ebx
mov edx, ecx
sub edx, edi
add edx, eax
cmp ecx, edx
jle 0x48fea0
mov dword [esp + 0x2c], ecx
jmp 0x48fea8
sub eax, edi
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
add eax, ebx
imul eax, dword [0x5c3198]
sub eax, edi
add eax, ecx
mov dword [esp + 0x34], eax
jmp 0x48ff4f
push 0
push 0
push 1
push 0
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0xa0]
push 0
mov dword [esp + 0x40], 0
call fcn.004791c0
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x1c]
mov edx, eax
sub edx, edi
add edx, ecx
cmp eax, edx
jle 0x48ff03
mov dword [esp + 0x2c], eax
jmp 0x48ff0d
mov edx, eax
sub edx, edi
add edx, ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x4c]
push 0
push 0
push 1
push 0
push eax
push ebx
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0xa0]
push 0
mov dword [esp + 0x40], 0
call fcn.004791c0
mov edx, dword [0x5c3198]
imul edx, dword [esp + 0x24]
sub edx, edi
add edx, dword [esi + 0x64]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x54]
call fcn.00509caa
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x40]
call fcn.00509caa
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x40]
push 3
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetRgnBox]
push esi
lea ecx, [esp + 0x8c]
call fcn.00509a70
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 3
call fcn.005096b3
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push 0x550009
sub eax, edx
push eax
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x98]
push edx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
push 0
lea ecx, [esp + 0x8c]
call fcn.005096b3
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x49000c
add ebp, eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 2
call fcn.00509ac4
mov ebx, vtable.CRgn.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x3c], ebx
call fcn.00408be0
lea ecx, [esp + 0x50]
mov byte [esp + 0xa8], 0
mov dword [esp + 0x50], ebx
call fcn.00408be0
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x5c], ebx
call fcn.00408be0
mov edx, dword [0x5c3df4]
add dword [esp + 0x44], edx
inc dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x48fdd0
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x164]
mov edx, dword [esi + 0x68]
add ecx, dword [esp + 0x28]
add edi, eax
mov dword [esp + 0x80], edi
mov edi, dword [esi + 0x168]
add edi, edx
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x80]
imul edx, dword [0x5c3e08]
mov dword [esp + 0x78], eax
sub eax, edx
mov ebp, eax
mov eax, dword [esi + 0x20]
push eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x5b3b28]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
push ebx
push ebp
push edi
mov ecx, esi
call fcn.0048c060
mov eax, dword [esp + 0x48]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x20]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0048afb0
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret