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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebp, eax
mov edx, pe_nt_image_headers32
mov eax, 1
call fcn.00411690
mov ebx, eax
mov eax, ebp
call fcn.00423160
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], str.error_opening_font
mov dword [esp + 0x68], str.loading_font_failed
inc eax
jne 0x423e6f
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00411650
mov dword [ebx + 4], ebp
mov edi, dword [esp + 0x24]
mov dword [ebx + 8], edi
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov ecx, str.cmap
mov edx, edi
mov eax, ebp
call fcn.0040a500
mov dword [esp + 0x28], eax
mov ecx, str.loca
mov edx, edi
mov eax, ebp
call fcn.0040a500
mov dword [esp + 0x34], eax
mov dword [ebx + 0x10], eax
mov ecx, str.head
mov edx, edi
mov eax, ebp
call fcn.0040a500
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x14], eax
mov ecx, str.glyf
mov edx, edi
mov eax, ebp
call fcn.0040a500
mov dword [esp + 0x30], eax
mov dword [ebx + 0x18], eax
mov ecx, str.hhea
mov edx, edi
mov eax, ebp
call fcn.0040a500
mov esi, eax
mov dword [ebx + 0x1c], eax
mov ecx, str.hmtx
mov edx, edi
mov eax, ebp
call fcn.0040a500
mov edi, eax
mov dword [ebx + 0x20], eax
mov ecx, str.kern
mov edx, dword [esp + 0x24]
mov eax, ebp
call fcn.0040a500
mov dword [ebx + 0x24], eax
mov ecx, str.GPOS
mov edx, dword [esp + 0x24]
mov eax, ebp
call fcn.0040a500
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42404e
cmp dword [esp + 0x2c], 0
je 0x42404e
test esi, esi
je 0x42404e
test edi, edi
je 0x42404e
cmp dword [esp + 0x30], 0
je 0x424020
cmp dword [esp + 0x34], 0
je 0x42404e
mov ecx, str.maxp
mov edx, dword [esp + 0x24]
mov eax, ebp
call fcn.0040a500
mov edx, 0xffff
test eax, eax
jne 0x424328
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x28]
lea eax, [ebp + ecx + 2]
movzx esi, byte [eax]
and esi, 0xff
shl esi, 8
xor edx, edx
mov dl, byte [eax + 1]
mov eax, edx
add esi, eax
and esi, 0xffff
mov dword [ebx + 0x30], 0
je 0x42404e
lea edx, [ebp + ecx]
xor ecx, ecx
jmp 0x423ff9
cmp ax, 3
jne 0x423fed
xor eax, eax
mov al, byte [edx + 6]
shl eax, 8
movzx edi, byte [edx + 7]
and edi, 0xff
add eax, edi
cmp ax, 1
je 0x424010
cmp ax, 0xa
je 0x424010
inc ecx
add edx, 8
cmp esi, ecx
jle 0x424109
xor eax, eax
mov al, byte [edx + 4]
shl eax, 8
movzx edi, byte [edx + 5]
and edi, 0xff
add ax, di
jne 0x423fc7
mov eax, dword [edx + 8]
bswap eax
mov edi, dword [esp + 0x28]
add eax, edi
mov dword [ebx + 0x30], eax
jmp 0x423fed
mov dword [esp + 0x50], 2
xor esi, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov ecx, str.CFF
mov edx, dword [esp + 0x24]
mov eax, ebp
call fcn.0040a500
test eax, eax
jne 0x424138
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00411650
mov edx, 0x28
mov eax, 1
call fcn.00411690
mov esi, eax
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 0x3f800000
mov dword [eax + 0x24], 1
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
lea ebx, [eax + ecx + 4]
lea edi, [eax + ecx + 6]
xor edx, edx
mov dl, byte [edi]
shl edx, 8
movzx ebp, byte [edi + 1]
and ebp, 0xff
mov edi, ebp
add edx, edi
movsx edi, dx
lea ecx, [eax + ecx + 8]
xor eax, eax
mov al, byte [ecx]
shl eax, 8
xor edx, edx
mov dl, byte [ecx + 1]
mov ecx, edx
add eax, ecx
cwde
xor ecx, ecx
mov cl, byte [ebx]
shl ecx, 8
xor edx, edx
mov dl, byte [ebx + 1]
mov ebx, edx
add ecx, ebx
movsx ecx, cx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
call fcn.004116e0
mov dword [esi + 8], eax
mov edx, 0x10
mov eax, 1
call fcn.00411690
mov dword [eax], 0
mov dword [esi + 0xc], eax
mov eax, esi
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebx + 0x30], 0
je 0x42404e
mov eax, dword [esp + 0x2c]
lea edx, [ebp + eax + 0x32]
xor eax, eax
mov al, byte [edx]
shl eax, 8
xor ecx, ecx
mov cl, byte [edx + 1]
mov edx, ecx
add eax, edx
and eax, 0xffff
mov dword [ebx + 0x34], eax
jmp 0x42405a
xor edx, edx
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x7c], edx
add eax, ebp
mov dword [esp + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], 0x20000000
lea edi, [esp + 0x6c]
lea esi, [ebx + 0x38]
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xor eax, eax
mov al, byte [esi + 2]
mov dword [esp + 0x70], eax
lea edx, [esp + 0x6c]
lea eax, [esp + 0x40]
call fcn.0040a060
lea esi, [esp + 0x84]
lea edx, [esp + 0x6c]
mov eax, esi
call fcn.0040a060
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov ecx, 3
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x78]
call fcn.0040a3b0
lea edx, [esp + 0x6c]
lea eax, [esp + 0x40]
call fcn.0040a060
lea edx, [esp + 0x6c]
lea eax, [esp + 0x40]
call fcn.0040a060
lea edi, [ebx + 0x50]
mov ecx, 3
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x54]
mov dword [esp], eax
mov ecx, 1
mov edx, 0x11
lea eax, [esp + 0x78]
call fcn.0040a220
lea eax, [esp + 0x50]
mov dword [esp], eax
mov ecx, 1
mov edx, 0x106
lea eax, [esp + 0x78]
call fcn.0040a220
lea eax, [esp + 0x58]
mov dword [esp], eax
mov ecx, 1
mov edx, 0x124
lea eax, [esp + 0x78]
call fcn.0040a220
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov ecx, 1
mov edx, 0x125
lea eax, [esp + 0x78]
call fcn.0040a220
lea edi, [esp + 0xc]
mov ecx, 3
lea esi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, 3
mov edi, esp
lea esi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x40]
call fcn.0040a590
lea edi, [ebx + 0x5c]
mov ecx, 3
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x50], 2
jne 0x42404e
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
test eax, eax
je 0x42404e
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4242f4
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x42404e
cmp eax, 0x20000000
jbe 0x4242ae
mov eax, 0x20000000
mov dword [esp + 0x70], eax
lea edx, [esp + 0x6c]
lea eax, [esp + 0x40]
call fcn.0040a060
lea edi, [ebx + 0x68]
mov ecx, 3
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
cmp esi, 0x20000000
ja 0x424347
mov edx, dword [esp + 0x34]
add edx, esi
mov eax, 0x20000000
sub eax, esi
mov dword [esp + 0x30], eax
mov dword [ebx + 0x74], edx
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x7c], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x20000000
jbe 0x424304
mov eax, 0x20000000
mov dword [esp + 0x70], eax
lea edx, [esp + 0x6c]
lea eax, [esp + 0x40]
call fcn.0040a060
lea edi, [ebx + 0x44]
mov ecx, 3
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
jmp 0x423f68
lea eax, [ebp + eax + 4]
xor edx, edx
mov dl, byte [eax]
shl edx, 8
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, ecx
add edx, eax
and edx, 0xffff
jmp 0x423f85
xor edx, edx
jmp 0x4242ea