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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x18195008]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov ebx, ecx
mov dword [eax], 1
xor eax, eax
push edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x78]
push eax
push dword [ebx + 4]
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x28]
lea esi, [esp + 0x78]
sub eax, dword [ebx + 0x24]
lea edi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x80]
mov ecx, edi
mov esi, dword [esp + 0x78]
sub ecx, esi
imul eax, ecx
cdq
idiv dword [esp + 0xc]
add esi, eax
cmp edi, esi
jl 0x181098c7
mov edi, esi
push 0xfffffffffffffff0
push dword [ebx + 4]
mov dword [esp + 0x78], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x181098fc
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
sub eax, ecx
imul eax, dword [ebx + 0x2c]
cdq
idiv dword [esp + 0xc]
sub esi, eax
cmp esi, ecx
jl 0x181098f8
mov ecx, esi
mov dword [esp + 0x68], ecx
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea eax, [esp + 0x78]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x24], esi
call edi
push 4
push eax
push esi
push esi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xc0]
and dword [esp + 0xb8], 0
push ecx
push eax
mov dword [esp + 0xc4], eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea esi, [esp + 0x78]
mov ebx, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x2c], ebx
movsd dword es:[edi], dword [esi]
push ebx
mov dword [esp + 0xbc], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x58]
mov esi, eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
push eax
push ecx
push ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x54]
xor ebx, ebx
push ebx
neg ecx
mov dword [esp + 0x34], eax
push ecx
mov ecx, dword [esp + 0x58]
neg ecx
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov esi, dword [esp + 0x20]
push ebx
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetRegionData]
push esi
call ebx
push ecx
mov edi, eax
lea ecx, [esp + 0x40]
push edi
call fcn.18009edb
mov eax, dword [esp + 0x3c]
push eax
push edi
push esi
mov dword [esp + 0x1c], eax
call ebx
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x18109ae6
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [eax + 8], edi
jbe 0x18109ae6
mov ecx, edi
mov dword [esp + 0x18], edi
add ecx, 0x20
add eax, ecx
push eax
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x94]
lea esi, [esp + 0x88]
lea edi, [esp + 0x98]
sub eax, 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
push ebx
push 0x138
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [esp + 0x9c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push dword [esi + 0x48]
lea eax, [esp + 0x8c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FrameRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [esi + 0x44]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, eax
cmp esi, 0xffffffff
je 0x18109ac3
xor edi, edi
lea eax, [esp + 0x88]
push edi
push edi
push edi
push eax
push 2
push edi
push edi
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add ecx, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [edx + 8]
mov eax, edx
mov dword [esp + 0x18], ecx
jb 0x18109a03
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x18109bdd
mov eax, dword [esp + 0x74]
lea esi, [esp + 0x68]
lea edi, [esp + 0x98]
add eax, 0xfffffffe
movsd dword es:[edi], dword [esi]
push 0xbdbdbd
push 0xa5a5a5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa0]
push eax
push ebx
call fcn.18109788
mov eax, dword [esp + 0x68]
lea esi, [esp + 0x68]
lea edi, [esp + 0xa8]
inc eax
movsd dword es:[edi], dword [esi]
push 0xbdbdbd
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0xb8], eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x18109b7a
xor ecx, ecx
lea eax, [esp + 0xa8]
push ecx
push ecx
push ecx
push eax
push 2
push ecx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push ebx
call esi
inc dword [esp + 0x68]
lea eax, [esp + 0x68]
sub dword [esp + 0x74], 2
push 0xd66d23
push 0xf0863c
push eax
push ebx
call fcn.18109788
mov esi, dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x68]
or edi, 0xffffffff
push edi
push edi
push eax
call esi
push 0xfc9044
push 0xfec26e
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.18109788
push edi
push edi
lea eax, [esp + 0x70]
push eax
call esi
mov eax, dword [esp + 0x1c]
push dword [eax + 0x40]
push dword [eax + 0x3c]
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.18109788
lea ecx, [esp + 0x3c]
call fcn.18009eb8
push 0xcc0020
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x18109c2a
push eax
call esi
test ebx, ebx
je 0x18109c35
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0xc0]
call dword [sym.imp.USER32.dll_EndPaint]
and dword [esp + 0xb8], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x18109c5d
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x18109c68
push eax
call esi
mov ecx, dword [esp + 0x104]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18120ca0
mov esp, ebp
pop ebp
ret 0x10