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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x181cf008]
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 + 0x10], 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 + 0x10]
add esi, eax
cmp edi, esi
jl 0x1812f4cb
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 0x1812f500
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
sub eax, ecx
imul eax, dword [ebx + 0x2c]
cdq
idiv dword [esp + 0x10]
sub esi, eax
cmp esi, ecx
jl 0x1812f4fc
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 + 0x1c], 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.1800b46e
push dword [esp + 0x3c]
push edi
push esi
call ebx
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x1812f6e8
mov eax, dword [esp + 0x3c]
and dword [esp + 0x14], 0
cmp dword [eax + 8], 0
jbe 0x1812f6e8
lea edx, [eax + 0x20]
mov dword [esp + 0x18], edx
push edx
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]
mov ecx, dword [esi + 0x44]
push 8
pop edx
call fcn.1812e85d
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, eax
cmp esi, 0xffffffff
je 0x1812f6c7
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 eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
inc eax
mov edx, dword [esp + 0x18]
add edx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp eax, dword [ecx + 8]
jb 0x1812f603
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1812f7f3
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.1812f38c
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 0x1812f77c
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.1812f38c
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.1812f38c
push edi
push edi
lea eax, [esp + 0x70]
push eax
call esi
mov edi, dword [esp + 0x1c]
push 5
pop edx
mov ecx, dword [edi + 0x40]
call fcn.1812e85d
mov ecx, dword [edi + 0x3c]
mov esi, eax
push 5
pop edx
call fcn.1812e85d
push esi
push eax
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.1812f38c
lea ecx, [esp + 0x3c]
call fcn.1800b4aa
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 0x1812f840
push eax
call esi
test ebx, ebx
je 0x1812f84b
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 0x1812f873
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1812f87e
push eax
call esi
mov ecx, dword [esp + 0x104]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18145fe4
mov esp, ebp
pop ebp
ret 0x10