Function at 0x48248d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
mov dword [ebp - 8], 1
push 0x52d7ec
push 0x52d7f8
push str._s_PJL_r_n_PJL_FSFONTINFO_r_n_s
push 0x53cdbc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0xc], eax
call fcn.0040883f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4824d4
xor eax, eax
jmp 0x482808
mov eax, dword [ebp - 0xc]
push eax
push 0x53cdbc
call fcn.004089d2
cmp eax, dword [ebp - 0xc]
jae 0x48250b
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4824ff
push str._RCP__Write_error___FSFONTPITCHINFO
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 8], 0
jmp 0x482806
push 0x1000
push 0
push 0x53bdbc
call fcn.004cf390
add esp, 0xc
push 0x1000
push 0x53bdbc
call fcn.00408a86
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
push str._RCP__FSFONTPITCHINFO_read_bytes___d
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0xc], 2
jl 0x482566
cmp dword [ebp - 0xc], 0x1000
jle 0x482590
mov dword [ebp - 8], 0
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x48258b
mov eax, dword [ebp - 0xc]
push eax
push str.F_GetFontPitchInfo_:_nSize___d
call fcn.0044e760
add esp, 8
jmp 0x482804
xor ecx, ecx
mov cl, byte [0x53bdbc]
shl ecx, 8
xor edx, edx
mov dl, byte [0x53bdbd]
add ecx, edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x23
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x53df08], ecx
cmp dword [ebp - 0x1c], 0
jle 0x48264a
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
jge 0x482621
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x53bdbc
push ecx
call fcn.00408a86
mov dword [ebp - 0xa0], eax
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x482621
mov eax, dword [ebp - 0xa0]
push eax
push str._RCP__Read_bytes__d
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x53df14], eax
cmp dword [0x53df14], 0
jne 0x48264a
mov dword [ebp - 8], 0
jmp 0x482802
mov dword [ebp - 4], 0x53bdbe
mov dword [ebp - 0x18], 0
jmp 0x482663
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jge 0x4827eb
mov word [ebp - 0x128], 0
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1f
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [0x53df14]
mov esi, dword [ebp - 4]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x1f
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + ecx + 1]
shl eax, 8
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x1f
mov edx, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [edx + ecx + 2]
add eax, ebx
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [0x53df14]
mov word [edx + ecx + 2], ax
push 0x14
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1f
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 3]
push edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x28
mov ecx, dword [0x53df14]
lea edx, [ecx + eax + 4]
push edx
call fcn.004cfe40
add esp, 0xc
push 3
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1f
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x17]
push edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x28
mov ecx, dword [0x53df14]
lea edx, [ecx + eax + 0x19]
push edx
call fcn.004cfe40
add esp, 0xc
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1f
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [0x53df14]
mov esi, dword [ebp - 4]
mov al, byte [esi + eax + 0x1a]
mov byte [edx + ecx + 0x1d], al
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x1f
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + ecx + 0x1b]
shl eax, 8
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x1f
mov edx, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [edx + ecx + 0x1c]
add eax, ebx
mov word [ebp - 0x124], ax
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1f
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + eax + 0x1d]
shl edx, 8
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1f
mov ecx, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [ecx + eax + 0x1e]
add edx, ebx
mov word [ebp - 0x128], dx
mov edx, dword [ebp - 0x124]
and edx, 0xffff
mov dword [ebp - 0x12c], edx
fild dword [ebp - 0x12c]
fdiv dword [0x4ff128]
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x28
mov ecx, dword [0x53df14]
fstp dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x128]
and edx, 0xffff
mov dword [ebp - 0x130], edx
fild dword [ebp - 0x130]
fdiv dword [0x5003e8]
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x28
mov ecx, dword [0x53df14]
fstp dword [ecx + eax + 0x24]
jmp 0x48265a
call fcn.00408962
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4827fd
xor eax, eax
jmp 0x482808
mov eax, dword [ebp - 8]
jmp 0x482808
jmp 0x4827eb
jmp 0x4827eb
jmp 0x4827eb
pop esi
pop ebx
mov esp, ebp
pop ebp
ret