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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x2c]
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
push eax
xor edx, edx
mov dword [ebp - 0x48], ebx
xor ecx, ecx
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call fcn.004131c0
push str.cmap
mov edx, edi
mov ecx, ebx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
call fcn.00413670
mov edx, dword [ebp + 8]
mov edi, eax
push str.loca
mov ecx, ebx
mov dword [ebp - 0x34], edi
call fcn.00413670
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.head
mov dword [ebp - 0x14], eax
mov dword [esi + 0x10], eax
call fcn.00413670
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.glyf
mov dword [ebp - 0x38], eax
mov dword [esi + 0x14], eax
call fcn.00413670
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hhea
mov dword [ebp - 8], eax
mov dword [esi + 0x18], eax
call fcn.00413670
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hmtx
mov dword [ebp - 0x10], eax
mov dword [esi + 0x1c], eax
call fcn.00413670
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.kern
mov dword [ebp - 0xc], eax
mov dword [esi + 0x20], eax
call fcn.00413670
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.GPOS
mov dword [esi + 0x24], eax
call fcn.00413670
add esp, 0x24
mov dword [esi + 0x28], eax
test edi, edi
je 0x413978
cmp dword [ebp - 0x38], 0
je 0x413978
cmp dword [ebp - 0x10], 0
je 0x413978
cmp dword [ebp - 0xc], 0
je 0x413978
cmp dword [ebp - 8], 0
je 0x41398b
cmp dword [ebp - 0x14], 0
jne 0x413bc9
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ea9e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.CFF
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.00413670
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x413978
lea eax, [ebp - 0x2c]
xor edx, edx
push eax
xor ecx, ecx
call fcn.004131c0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004131c0
mov ecx, dword [ebp - 0x30]
mov edx, 0x20000000
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
lea ecx, [ebx + ecx]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004131c0
mov edx, 2
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
call fcn.00413180
call fcn.00413120
movzx edx, al
lea ecx, [ebp - 0x20]
call fcn.00413160
lea eax, [ebp - 0x2c]
push eax
call fcn.00413240
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00413240
add esp, 8
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x44]
push eax
xor ecx, ecx
call fcn.004134e0
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.00413240
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.00413240
mov edx, 0x11
lea ecx, [ebp - 0x2c]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.00413460
lea eax, [ebp - 0xc]
mov edx, 0x106
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.00413460
lea eax, [ebp - 0x10]
push eax
push 1
mov edx, 0x124
lea ecx, [ebp - 0x2c]
call fcn.00413460
lea eax, [ebp - 0x14]
mov edx, 0x125
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.00413460
movq xmm0, qword [ebp - 0x2c]
add esp, 0x2c
mov eax, dword [ebp - 0x24]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x20]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x18]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00413780
add esp, 0x1c
cmp dword [ebp - 0xc], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x413978
mov eax, dword [ebp - 8]
test eax, eax
je 0x413978
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x413ba4
cmp dword [ebp - 0x14], 0
je 0x413978
lea ecx, [ebp - 0x20]
call fcn.00413160
lea eax, [ebp - 0x44]
push eax
call fcn.00413240
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x18]
sub eax, edx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004131e0
add esp, 0xc
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00413160
lea eax, [ebp - 0x44]
push eax
call fcn.00413240
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.maxp
call fcn.00413670
add esp, 4
test eax, eax
je 0x413bf1
lea ecx, [ebx + 4]
add ecx, eax
call fcn.00413590
movzx eax, ax
mov dword [esi + 0xc], eax
jmp 0x413bf8
mov dword [esi + 0xc], 0xffff
add edi, ebx
lea ecx, [edi + 2]
call fcn.00413590
movzx eax, ax
mov dword [ebp - 0x30], eax
mov dword [esi + 0x2c], 0
test eax, eax
je 0x413c59
add edi, 8
mov ebx, eax
lea ecx, [edi - 4]
call fcn.00413590
movzx eax, ax
test eax, eax
je 0x413c41
cmp eax, 3
jne 0x413c4e
lea ecx, [edi - 2]
call fcn.00413590
movzx eax, ax
sub eax, 1
je 0x413c41
sub eax, 9
jne 0x413c4e
mov ecx, edi
call fcn.004135d0
add eax, dword [ebp - 0x34]
mov dword [esi + 0x2c], eax
add edi, 8
sub ebx, 1
jne 0x413c18
mov ebx, dword [ebp - 0x48]
cmp dword [esi + 0x2c], 0
je 0x413978
mov ecx, dword [ebp - 0x38]
add ecx, 0x32
add ecx, ebx
call fcn.00413590
mov ecx, dword [ebp - 4]
movzx eax, ax
xor ecx, ebp
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
pop esi
pop ebx
call fcn.0042ea9e
mov esp, ebp
pop ebp
ret