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

Disassembly:
push 0xffffffffffffffff
push 0x49abc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], vtable.CFont.0
mov ebx, dword [esp + 0x440]
push 0x48
push 0x5a
push ebx
mov dword [esp + 0x444], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x88], eax
mov edi, 0x4ba2ac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
lea edx, [esp + 0xa4]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x9c], 0
shr ecx, 2
mov byte [esp + 0x9d], 0
mov byte [esp + 0x9e], 0
mov byte [esp + 0x9f], 0
mov byte [esp + 0xa0], 4
mov byte [esp + 0xa1], 0
mov byte [esp + 0xa2], 0
mov byte [esp + 0xa3], 0x20
push 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x40]
call fcn.00476be4
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x60]
push ecx
push 5
push str.19999
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], 0xffffff
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x436dff
mov ecx, dword [ebp + 0x48]
test ecx, ecx
jle 0x436dba
lea edi, [eax + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov eax, dword [ebp + 0x54]
test eax, eax
jle 0x436d9d
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x50]
xor ecx, ecx
mov cl, byte [edi - 8]
cmp ecx, eax
jne 0x436d8b
cmp dword [ebp + 0x58], 1
jne 0x436ce1
xor eax, eax
mov al, byte [edi - 5]
jmp 0x436d5a
cmp eax, 0xbe
je 0x436d55
cmp eax, 0xc2
je 0x436d55
xor eax, eax
xor edx, edx
mov al, byte [edi]
mov dl, byte [edi - 1]
shl eax, 8
add eax, edx
xor ecx, ecx
mov cl, byte [edi - 2]
xor edx, edx
mov dl, byte [edi - 3]
push 0
shl eax, 8
add eax, ecx
push 0x100
shl eax, 8
add eax, edx
cdq
mov dword [esp + 0x3c], eax
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x40], edx
cdq
push edx
push eax
call fcn.00446060
mov ecx, eax
xor eax, eax
mov al, byte [edi + 1]
mov esi, edx
cdq
add ecx, eax
push 1
adc esi, edx
push 0
push esi
push ecx
call fcn.00446060
mov ecx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x38]
adc eax, edx
jmp 0x436d5f
xor eax, eax
mov al, byte [edi - 3]
cdq
mov ecx, eax
mov eax, edx
cmp dword [esp + 0x2c], eax
jl 0x436d75
jg 0x436d6d
cmp dword [esp + 0x28], ecx
jbe 0x436d75
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x1c], eax
jg 0x436d8b
jl 0x436d83
cmp dword [esp + 0x18], ecx
jae 0x436d8b
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
add edi, 0xc
dec eax
mov dword [esp + 0x10], eax
jne 0x436cc4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edi, 0x190
dec eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
jne 0x436cb5
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1d4]
push str._I64d
push ecx
call fcn.00445f52
lea edi, [esp + 0x1dc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x60]
dec ecx
push edx
lea eax, [esp + 0x1d0]
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
add ecx, edx
mov edx, dword [esp + 0x84]
sub edx, edi
mov dword [ebp + 0x68], eax
add edx, 0xfffffffc
sub eax, ecx
push 1
push ebx
mov dword [ebp + 0x60], ecx
mov dword [esp + 0x84], 0
mov dword [ebp + 0x64], 0
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp + 0x74]
xor edi, edi
test ecx, ecx
jle 0x436f41
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
cdq
idiv ecx
mov esi, eax
test esi, esi
jge 0x436e6e
xor esi, esi
jmp 0x436e7b
cmp esi, 0xff
jle 0x436e7b
mov esi, 0xff
mov ecx, eax
test ecx, ecx
jge 0x436e85
xor ecx, ecx
jmp 0x436e92
cmp ecx, 0xff
jle 0x436e92
mov ecx, 0xff
test eax, eax
jge 0x436e9a
xor eax, eax
jmp 0x436ea6
cmp eax, 0xff
jle 0x436ea6
mov eax, 0xff
xor edx, edx
and esi, 0xff
mov dh, al
mov dl, cl
lea ecx, [esp + 0x44]
shl edx, 8
or edx, esi
push edx
push 1
push 0
call fcn.00476c51
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
and eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x60]
mov esi, eax
mov eax, dword [ebp + 0x64]
push 0
add eax, edi
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
add edx, edi
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x44], vtable.CGdiObject.0
lea ecx, [esp + 0x44]
mov byte [esp + 0x438], 1
call fcn.00476c3b
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0x40
mov byte [esp + 0x438], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x74]
cmp edi, ecx
jl 0x436e5d
push 0
push 2
push 0
lea ecx, [esp + 0x58]
call fcn.00476c51
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
mov byte [esp + 0x438], 2
and eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x60]
dec ecx
push 0
dec edx
push ecx
push edx
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
mov esi, dword [sym.imp.GDI32.dll_LineTo]
dec eax
inc ecx
push eax
push ecx
push ebx
call esi
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x68]
inc edx
inc eax
push edx
push eax
push ebx
call esi
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x60]
inc ecx
dec edx
push ecx
push edx
push ebx
call esi
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x60]
dec eax
dec ecx
push eax
push ecx
push ebx
call esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x707070
push 1
push 0
lea ecx, [esp + 0x74]
call fcn.00476c51
push 0x404040
push 1
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x444], 3
call fcn.00476c51
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x4374a0
mov edx, dword [0x4bfcf8]
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x330]
push 0x100
push ecx
push 0
push eax
push 0
push 0x400
mov byte [esp + 0x450], 5
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov eax, dword [ebp + 0x4c]
lea edx, [esp + 0x230]
push 0x100
push edx
push 0
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea ecx, [esp + 0x230]
lea edx, [esp + 0x330]
push ecx
push edx
lea eax, [esp + 0xd4]
push str._s__s
push eax
call fcn.00445f52
add esp, 0x10
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x6c]
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x60]
mov esi, dword [sym.imp.GDI32.dll_TextOutA]
not ecx
dec ecx
add edx, 2
push ecx
lea ecx, [esp + 0xd0]
push ecx
push edx
push eax
push ebx
call esi
mov eax, dword [ebp + 0x48]
lea ecx, [esp + 0x330]
push 0x100
push ecx
lea eax, [eax + eax*4]
push 0
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x4c]
shl edx, 4
lea ecx, [edx + eax - 0x190]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x4c]
lea edx, [esp + 0x230]
push 0x100
lea eax, [eax + eax*4]
push edx
push 0
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx - 0x190]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [esp + 0x230]
lea ecx, [esp + 0x330]
push eax
push ecx
lea edx, [esp + 0xd4]
push str._s__s
push edx
call fcn.00445f52
add esp, 0x10
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xcc]
push ecx
mov ecx, dword [ebp + 0x6c]
add ecx, 2
push eax
push ecx
push edx
push ebx
call esi
push 0xffff
push 1
push 0
lea ecx, [esp + 0x40]
call fcn.00476c51
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
and eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jne 0x43723c
cmp ecx, dword [esp + 0x1c]
jne 0x43723c
push ecx
push eax
lea eax, [esp + 0xd4]
push str._I64d
push eax
call fcn.00445f52
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x74]
mov edi, dword [ebp + 0x64]
not ecx
dec ecx
cdq
push ecx
lea ecx, [esp + 0xd0]
sub eax, edx
push ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, dword [ebp + 0x60]
sar ecx, 1
sar eax, 1
sub ecx, eax
sub edx, 4
add ecx, edi
push ecx
push edx
push ebx
call esi
mov eax, dword [ebp + 0x74]
mov esi, dword [ebp + 0x64]
cdq
sub eax, edx
push 0
sar eax, 1
add eax, esi
push eax
mov eax, dword [ebp + 0x60]
push eax
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x74]
mov edi, dword [ebp + 0x64]
cdq
mov ecx, dword [ebp + 0x68]
sub eax, edx
sar eax, 1
add eax, edi
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x437467
push ecx
push eax
lea edx, [esp + 0xd4]
push str._I64d
push edx
call fcn.00445f52
mov eax, dword [esp + 0x24]
lea edi, [esp + 0xdc]
cdq
sub eax, edx
or ecx, 0xffffffff
mov edx, eax
xor eax, eax
add esp, 0x10
sar edx, 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], edx
push ecx
mov ecx, dword [ebp + 0x6c]
sub ecx, edx
mov edx, dword [ebp + 0x60]
lea eax, [esp + 0xd0]
sub edx, 4
push eax
push ecx
push edx
push ebx
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xd4]
push str._I64d
push edx
call fcn.00445f52
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + 0x60]
not ecx
dec ecx
lea eax, [esp + 0xcc]
push ecx
mov ecx, dword [ebp + 0x64]
sub ecx, edi
push eax
sub edx, 4
push ecx
push edx
push ebx
call esi
mov ecx, dword [ebp + 0x48]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x30], esi
jle 0x437467
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x24], 0
imul eax, esi
cdq
idiv ecx
add eax, dword [ebp + 0x60]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x54]
test eax, eax
jle 0x437449
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x4c]
xor ecx, ecx
mov cl, byte [esi + eax + 0x10]
lea esi, [esi + eax + 0x10]
mov eax, dword [ebp + 0x50]
cmp ecx, eax
jne 0x437426
cmp dword [ebp + 0x58], 1
jne 0x43733e
xor eax, eax
mov al, byte [esi + 3]
jmp 0x4373ba
cmp eax, 0xbe
je 0x4373b5
cmp eax, 0xc2
je 0x4373b5
xor eax, eax
xor edx, edx
mov al, byte [esi + 8]
mov dl, byte [esi + 7]
shl eax, 8
add eax, edx
xor ecx, ecx
mov cl, byte [esi + 6]
xor edx, edx
mov dl, byte [esi + 5]
push 0
shl eax, 8
add eax, ecx
push 0x100
shl eax, 8
add eax, edx
cdq
mov edi, eax
xor eax, eax
mov al, byte [esi + 0xa]
mov dword [esp + 0xd0], edx
cdq
push edx
push eax
call fcn.00446060
mov ecx, eax
xor eax, eax
mov al, byte [esi + 9]
mov esi, ecx
mov ecx, edx
cdq
add esi, eax
push 1
adc ecx, edx
push 0
push ecx
push esi
call fcn.00446060
mov ecx, dword [esp + 0xc8]
add edi, eax
adc ecx, edx
jmp 0x4373bf
xor eax, eax
mov al, byte [esi + 5]
cdq
mov edi, eax
mov ecx, edx
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub edi, esi
sbb ecx, eax
mov eax, dword [ebp + 0x74]
cdq
push edx
push eax
push ecx
push edi
call fcn.00446060
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
sub ecx, esi
mov esi, dword [esp + 0x1c]
sbb esi, edi
push esi
push ecx
push edx
push eax
call fcn.00445fb0
mov esi, dword [ebp + 0x6c]
sub esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x43741c
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
push 0
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x20]
push esi
push ecx
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x7c], esi
mov dword [ebp + 0x78], edx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x54]
inc eax
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
jl 0x437319
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
inc esi
add ecx, 0x190
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x48]
cmp esi, ecx
jl 0x4372ee
mov eax, dword [esp + 0x5c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x438], 6
call fcn.00476c3b
lea ecx, [esp + 0x44]
mov byte [esp + 0x438], 4
call fcn.004736e5
jmp 0x4374a5
mov esi, vtable.CGdiObject.0
mov ecx, dword [esp + 0x54]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x438], 7
call fcn.00476c3b
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x438], 8
call fcn.00476c3b
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x438], 9
call fcn.00476c3b
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x438], 0xa
call fcn.00476c3b
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret 4