Function at 0x100135d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x48
test byte [0x100258e8], 8
jne 0x100138d8
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
cmp edi, 1
jne 0x10013a59
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0xf4]
cmp dword [esi + 0xf0], eax
jbe 0x10013888
mov ecx, dword [ebp + 0x10]
mov eax, 1
mov edx, dword [edx + ecx*4]
test edx, edx
jne 0x100137fe
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x34]
mov dword [esp], eax
mov eax, esi
call sym._get_glyf_pos
test eax, eax
je 0x100137fe
test byte [0x100258e8], 8
jne 0x100139c0
mov eax, dword [esi + 0xdc]
mov ecx, dword [ebp - 0x34]
lea eax, [eax + eax*4]
mov ebx, dword [esi + eax*4 + 0xc]
movzx edx, byte [ebx + ecx]
movzx eax, byte [ebx + ecx + 1]
shl edx, 8
or eax, edx
cmp ax, 0xffff
je 0x10013920
mov ecx, dword [esi + 0xfc]
mov edx, dword [ecx + 4]
test edx, edx
je 0x100136a3
mov ebx, dword [ebp - 0x34]
jmp 0x10013698
lea eax, [edi + 1]
mov edx, dword [ecx + eax*4]
test edx, edx
je 0x10013910
mov edi, eax
cmp ebx, edx
jae 0x10013688
lea edx, [edi*4 - 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [ebp - 0x38], eax
call eax
mov dword [esp + 4], 0
add eax, 0x12b
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [esi + 0xfc]
mov edx, dword [ebp - 0x3c]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ecx + edx]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xec]
mov dword [esp + 4], str._ld__ld_n
lea eax, [edi + eax - 2]
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._sprintf_2
mov eax, dword [ebp - 0x38]
mov dword [esp], ebx
call eax
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._PSDRV_WriteSpool
mov eax, dword [ebp + 8]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1002d63d
mov dword [esp], eax
call sym._PSDRV_WriteSpool
mov edi, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x30]
jb 0x10013835
lea esi, cs:[esi]
mov eax, dword [ebp + 8]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1002d63f
mov dword [esp], eax
call sym._PSDRV_WriteSpool
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 4], str.__s_findfont_exch_1_index_nhavetype42gdir_n_GlyphDirectory_get_begin__ld_exch_def_end_n_sfnts_get_4_index_get_3_index_2_index_putinterval_pop_nifelse_n_CharStrings_get_nbegin_n___s__ld_def_nend_npop_pop_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._sprintf_2
mov dword [esp], ebx
mov eax, dword [ebp - 0x38]
call eax
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._PSDRV_WriteSpool
mov eax, dword [esi + 0xf4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + ecx*4], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1002d647
mov dword [esp], eax
call sym._PSDRV_WriteSpool
inc edi
cmp dword [ebp - 0x30], edi
jbe 0x10013760
mov eax, dword [esi + 0xdc]
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xc]
movzx eax, byte [eax + edi]
mov dword [esp + 4], str._02x
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._sprintf_2
mov eax, dword [ebp - 0x38]
mov dword [esp], ebx
call eax
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._PSDRV_WriteSpool
mov eax, edi
sub eax, dword [ebp - 0x34]
and eax, 0xf
cmp eax, 0xf
jne 0x1001382b
jmp 0x10013810
mov eax, dword [ebp + 0x10]
shr eax, 7
inc eax
mov ecx, eax
shl eax, 9
shl ecx, 7
mov dword [esi + 0xf0], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov dword [esi + 0xf4], eax
sub esp, 0x10
jmp 0x10013622
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], str._ld__s_n
mov dword [esp + 8], str.T42_download_glyph
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0x100258e8
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_20
jmp 0x100135e6
lea edx, [edi*4]
mov edi, eax
jmp 0x100136a3
mov dword [ebp - 0x38], edi
lea ebx, [ebx + ecx + 0xa]
mov dword [ebp - 0x3c], esi
movzx edx, word [ebx + 2]
movzx esi, word [ebx]
rol dx, 8
rol si, 8
movzx edi, dx
test byte [0x100258e8], 8
jne 0x10013a10
lea eax, [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sym._get_glyph_name
lea eax, [ebp - 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._T42_download_glyph
lea eax, [ebx + 8]
add ebx, 6
test esi, 1
cmovne ebx, eax
test esi, 8
je 0x10013a00
add ebx, 2
and esi, 0x20
jne 0x1001392a
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov ecx, dword [esi + 0xfc]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x1001367f
jmp 0x100136a3
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], str.start___lx_end___lx_n
mov dword [esp + 8], str.T42_download_glyph
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], 0x100258e8
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_20
jmp 0x1001364a
test esi, 0x40
je 0x10013a48
add ebx, 4
jmp 0x10013998
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Sending_subglyph__04lx_for_glyph__04lx_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.T42_download_glyph
mov dword [esp + 4], 0x100258e8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_20
jmp 0x10013949
lea eax, [ebx + 8]
test esi, 0x80
cmovne ebx, eax
jmp 0x10013998
mov dword [esp + 8], 0x130
mov dword [esp + 4], str..._src_wine_dlls_wineps.drv_type42.c
mov dword [esp], str.pdl__type__Type42
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop