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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.00449490
movsx eax, word [esp + 0x84]
mov ecx, 0x708
cdq
idiv ecx
test edx, edx
jne 0x44d67a
fld qword [ebx + 0xe0]
fimul dword [esp + 0x8c]
fld qword [ebx + 0xe8]
fdivp st(1)
call fcn.00470bcb
mov dword [esp + 0x8c], eax
fld qword [ebx + 0xd8]
fimul dword [esp + 0x90]
fld qword [ebx + 0xe8]
fdivp st(1)
call fcn.00470bcb
mov dword [esp + 0x90], eax
jmp 0x44d6bc
fld qword [ebx + 0xd8]
fimul dword [esp + 0x8c]
fld qword [ebx + 0xe8]
fdivp st(1)
call fcn.00470bcb
mov dword [esp + 0x8c], eax
fld qword [ebx + 0xe0]
fimul dword [esp + 0x90]
fld qword [ebx + 0xe8]
fdivp st(1)
call fcn.00470bcb
mov dword [esp + 0x90], eax
cmp dword [esp + 0x8c], 4
jl 0x44dada
mov si, word [esp + 0x84]
neg esi
cmp word [esp + 0x88], 3
jne 0x44d6ef
add si, cx
movsx eax, si
mov ecx, 0xe10
cdq
idiv ecx
mov esi, edx
mov ecx, dword [esp + 0x8c]
mov dword [0x491014], ecx
mov dword [0x491018], 0
movsx ecx, si
mov dword [0x49101c], ecx
mov dword [0x491020], ecx
push 0x491014
call dword [sym.imp.GDI32.DLL_CreateFontIndirectA]
mov dword [esp + 0x28], eax
push eax
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx + 0x130]
cmp ecx, dword [ebx + 0x12c]
je 0x44d752
push dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x98]
call fcn.004716c0
add esp, 4
push eax
push dword [esp + 0x9c]
push dword [ebx + 0x130]
call dword [sym.imp.GDI32.DLL_GetTextExtentPointA]
mov ax, word [ebx + 0x138]
and eax, 3
test eax, eax
je 0x44d796
cmp eax, 2
je 0x44d7a0
cmp eax, 1
je 0x44d7b1
jmp 0x44d7bb
mov dword [esp + 0x3c], 0
jmp 0x44d7bb
mov eax, dword [esp + 0x34]
neg eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x3c], eax
jmp 0x44d7bb
mov eax, dword [esp + 0x34]
neg eax
mov dword [esp + 0x3c], eax
mov ax, word [ebx + 0x138]
and eax, 0xc
cmp eax, 4
je 0x44d7d7
cmp eax, 8
je 0x44d7e1
test eax, eax
je 0x44d7f2
jmp 0x44d7fc
mov dword [esp + 0x40], 0
jmp 0x44d7fc
mov eax, dword [esp + 0x38]
neg eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
jmp 0x44d7fc
mov eax, dword [esp + 0x38]
neg eax
mov dword [esp + 0x40], eax
push dword [esp + 0x84]
lea ecx, [esp + 0x40]
call fcn.00427c88
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
add dword [esp + 0x3c], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x40], eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test ax, ax
je 0x44d8b2
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_GetROP2]
cmp eax, 7
jne 0x44d8b2
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
push dword [esp + 0x84]
lea ecx, [esp + 0x50]
call fcn.00427c88
mov eax, dword [esp + 0x3c]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
add dword [esp + 0x50], eax
lea ecx, [esp + 0x44]
call fcn.004276ea
push dword [esp + 0x9c]
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x50]
jmp 0x44daa5
push 0
lea eax, [ebx + 0x12c]
push dword [eax]
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.DLL_SetTextAlign]
push dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.GDI32.DLL_SetTextColor]
push 1
mov eax, dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.GDI32.DLL_SetBkMode]
push dword [esp + 0x94]
call fcn.004716c0
add esp, 4
push eax
push dword [esp + 0x98]
push dword [esp + 0x48]
push dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
push dword [eax]
call dword [sym.imp.GDI32.DLL_TextOutA]
cmp dword [esp + 0x98], 0
je 0x44daa5
push dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fdiv qword [0x491054]
call fcn.00470bcb
mov dword [esp + 0x60], eax
push eax
push 0
call dword [sym.imp.GDI32.DLL_CreatePen]
mov dword [esp + 0x60], eax
push eax
mov ecx, dword [esp + 0x20]
push dword [ecx]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x64], eax
xor esi, esi
xor edi, edi
lea ebp, [ebx + 0x130]
mov eax, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x44d9aa
mov ecx, dword [esp + 0x98]
movsx ecx, byte [ecx]
test cl, 0x80
je 0x44da73
mov edi, 1
mov dword [esp + 0x68], esi
jmp 0x44da73
mov ecx, dword [esp + 0x98]
movsx ecx, byte [ecx]
test cl, 0x80
jne 0x44da73
xor edi, edi
lea ecx, [esp + 0x34]
push ecx
push dword [esp + 0x6c]
push dword [esp + 0x9c]
push dword [ebp]
call dword [sym.imp.GDI32.DLL_GetTextExtentPointA]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x34]
push ecx
push esi
push dword [esp + 0x9c]
push dword [ebp]
call dword [sym.imp.GDI32.DLL_GetTextExtentPointA]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], ecx
push dword [esp + 0x84]
lea ecx, [esp + 0x70]
call fcn.00427c88
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
add dword [esp + 0x70], ecx
push dword [esp + 0x84]
lea ecx, [esp + 0x78]
call fcn.00427c88
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x40]
add dword [esp + 0x78], ecx
push edi
push dword [esp + 0x74]
push dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
push dword [ecx]
call dword [sym.imp.GDI32.DLL_MoveToEx]
push dword [esp + 0x78]
push dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
push dword [ecx]
call dword [sym.imp.GDI32.DLL_LineTo]
inc esi
mov ecx, dword [esp + 0x98]
inc dword [esp + 0x98]
cmp byte [ecx], 0
jne 0x44d985
push dword [esp + 0x64]
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_SelectObject]
push dword [esp + 0x60]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push dword [esp + 0x2c]
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_SelectObject]
mov eax, dword [ebx + 0x130]
cmp eax, dword [ebx + 0x12c]
je 0x44dace
push dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.DLL_SelectObject]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.DLL_DeleteObject]
jmp 0x44daf9
push dword [esp + 0x9c]
mov eax, dword [esp + 0x84]
push dword [eax + 4]
push dword [eax]
push dword [ebx + 0x12c]
call dword [sym.imp.GDI32.DLL_SetPixel]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x20