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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x68], eax
and dword [esp], 0
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_GetClipBox]
lea eax, [esp + 0x48]
push eax
push ebp
mov ebx, ecx
call edi
lea eax, [esp + 0x48]
push eax
lea esi, [ebx + 0x18]
push esi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x101f97cc
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [esi]
push ebp
call dword [sym.imp.GDI32.dll_IntersectClipRect]
cmp dword [0x1023f3a4], ebx
jne 0x101f959c
lea eax, [esp + 0x48]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x48]
push eax
push eax
push dword [ebx + 0xac]
call fcn.1015692e
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ebp
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
lea eax, [esp + 0x48]
push eax
push ebp
call edi
call fcn.1000c10d
cmp eax, 1
jne 0x101f961f
mov eax, dword [0x1023f5c8]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x101f95e1
lea eax, [esp + 0x58]
push eax
push ebp
mov ecx, ebx
call fcn.101f9e12
lea esi, [ebx + 0x18]
mov eax, dword [0x1023f5c8]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x101f97b3
push ebp
mov ecx, ebx
call fcn.101f9ebc
jmp 0x101f97b3
push dword [0x1023cffc]
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
test eax, eax
je 0x101f97b3
cmp dword [esp + 0x84], 0
je 0x101f974b
cmp dword [ebx + 0x30], 0
jle 0x101f9700
mov edi, dword [ebx + 0x38]
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.101fa3d1
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.1004318d
push eax
mov ecx, ebx
call fcn.101fa3d1
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x34], ecx
jg 0x101f9700
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x24], eax
jle 0x101f9700
cmp dword [esp + 0x3c], eax
jge 0x101f96a6
push eax
mov eax, dword [esi]
inc eax
push eax
mov ecx, ebx
call fcn.101fa464
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], ecx
jg 0x101f96b5
mov ecx, ebx
call fcn.1004318d
jmp 0x101f96c1
mov eax, dword [esi]
push ecx
inc eax
push eax
mov ecx, ebx
call fcn.101fa464
mov edi, eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
mov ecx, ebx
call fcn.101f8f35
jmp 0x101f96fc
cmp dword [esp + 0x40], edi
jg 0x101f9700
mov eax, dword [ebx]
push ebp
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x9c]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.101f8fa5
test eax, eax
jne 0x101f96d5
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call fcn.1004318d
inc eax
push eax
mov ecx, ebx
call fcn.101fa3d1
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x101f95e4
lea eax, [esp + 0x68]
push eax
push ebp
mov ecx, ebx
call fcn.101f9e12
jmp 0x101f95e4
mov esi, dword [esp + 0x88]
cmp esi, dword [ebx + 0x38]
jge 0x101f975a
mov esi, dword [ebx + 0x38]
mov ecx, ebx
call fcn.1004318d
mov edi, dword [esp + 0x8c]
cmp edi, eax
jle 0x101f9775
mov ecx, ebx
call fcn.1004318d
mov edi, eax
cmp esi, edi
jg 0x101f97b3
lea eax, [esp + 0x18]
push eax
push esi
mov ecx, ebx
call fcn.101f8f35
jmp 0x101f97af
cmp dword [esp + 0x28], edi
jg 0x101f97b3
mov eax, dword [ebx]
push ebp
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call dword [eax + 0x9c]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.101f8fa5
test eax, eax
jne 0x101f9788
push 0
push ebp
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x101f97cc
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x6c
ret 0x10