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

Disassembly:
push 0xffffffffffffffff
push 0x200d1fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ebp
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [edi + 0x48]
mov dword [esp + 0x60], ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x20098b6c
mov edx, dword [esp + 0x48]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push eax
push 1
push 0x200e9310
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [0x200ea82c]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x200ea834]
mov ebx, dword [0x200ea830]
lea eax, [eax + edx*2]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebp
lea esi, [ecx + eax]
mov eax, dword [edi + 0x78]
mov dword [esp + 0x20], esi
neg esi
cmp eax, ebp
jle 0x20098c82
mov edx, dword [edi + 0x74]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x10], eax
lea ebp, [eax + 8]
add eax, 0x18
mov ecx, ebp
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jge 0x20098c21
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [0x200ea828]
mov edx, dword [esp + 0x2c]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x28], eax
mov eax, ecx
mov eax, dword [eax + 0x28]
mov edx, dword [0x200ea830]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
add ecx, ebx
cmp ecx, edx
jle 0x20098c4f
mov ecx, dword [esp + 0x20]
mov ebx, dword [0x200ea830]
sub esi, ecx
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x24]
lea ecx, [eax + ebx]
mov dword [ebp], ebx
add edx, esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ecx, dword [0x200ea830]
add eax, ecx
mov ecx, dword [edi + 0x78]
add ebx, eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x20098bbc
mov eax, dword [esp + 0x68]
xor ebx, ebx
neg esi
mov dword [edi + 0x44], esi
mov edx, dword [edi + 0x74]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x78]
sub esi, ecx
test eax, eax
mov dword [esp + 0x68], esi
jle 0x20098ce1
mov ecx, dword [edi + 0x74]
mov edx, dword [esp + 0x68]
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
push edx
mov esi, dword [ecx + ebx*4]
push 0
add esi, 8
push esi
call ebp
mov eax, dword [edi + 0x44]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jle 0x20098cce
neg eax
push eax
push 0
push esi
call ebp
mov eax, dword [0x200ea834]
push eax
push 0
push esi
call ebp
mov eax, dword [edi + 0x78]
inc ebx
cmp ebx, eax
jl 0x20098ca3
mov ecx, dword [0x200ea834]
mov edx, dword [edi + 0x44]
mov eax, dword [esp + 0x18]
add edx, ecx
test eax, eax
mov dword [edi + 0x44], edx
je 0x20098dcf
mov eax, dword [edi + 0x78]
xor ebx, ebx
test eax, eax
jle 0x20098dcf
mov ecx, dword [edi + 0x74]
lea ebp, [ebx + 1]
cmp ebp, eax
mov edx, dword [ecx + ebx*4]
mov edx, dword [edx + 0xc]
jge 0x20098d3a
lea esi, [ecx + ebp*4]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x68]
mov esi, dword [esi]
cmp dword [esi + 0xc], edx
jne 0x20098d3a
mov esi, dword [esp + 0x68]
inc ebp
add esi, 4
cmp ebp, eax
mov dword [esp + 0x68], esi
jl 0x20098d1f
mov ecx, dword [ecx + ebp*4 - 4]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx + 0x10]
mov ecx, dword [0x200ea830]
sub eax, edx
sub eax, ecx
mov ecx, ebp
dec eax
sub ecx, ebx
mov dword [esp + 0x18], eax
cdq
idiv ecx
cmp ebx, ebp
mov dword [esp + 0x20], eax
jge 0x20098dc2
mov ecx, eax
imul ecx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], ecx
jmp 0x20098d76
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x74]
mov eax, dword [esp + 0x68]
sub eax, ecx
push 0
mov esi, dword [edx + ebx*4]
push eax
add esi, 8
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esi + 8], eax
lea eax, [ebp - 1]
cmp ebx, eax
jne 0x20098db3
test ecx, ecx
je 0x20098db3
mov eax, dword [esp + 0x18]
cdq
idiv ecx
add edx, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x68]
inc ebx
add edx, ecx
cmp ebx, ebp
mov dword [esp + 0x68], edx
jl 0x20098d72
mov eax, dword [edi + 0x78]
mov ebx, ebp
cmp ebp, eax
jl 0x20098d08
mov eax, dword [edi + 0x78]
xor esi, esi
test eax, eax
jle 0x20098e00
mov ebp, dword [esp + 0x10]
lea ebx, [ebp + 0x18]
add ebp, 8
push ebx
push ebp
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x20098df8
push 1
push esi
mov ecx, edi
call fcn.200992f0
mov eax, dword [edi + 0x78]
inc esi
cmp esi, eax
jl 0x20098de2
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x20098e18
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.200cdd72
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 4