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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3c], 0
mov ebx, edx
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
mov edx, eax
push str.cmap
movq qword [edi + 0x34], xmm0
mov ecx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0x3c], 0
call fcn.00416810
mov edx, dword [ebp + 8]
mov esi, eax
push str.loca
mov ecx, ebx
mov dword [ebp - 0xc], esi
call fcn.00416810
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.head
mov dword [ebp - 0x18], eax
mov dword [edi + 0x10], eax
call fcn.00416810
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.glyf
mov dword [ebp - 0x14], eax
mov dword [edi + 0x14], eax
call fcn.00416810
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hhea
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
call fcn.00416810
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.hmtx
mov dword [ebp - 0x10], eax
mov dword [edi + 0x1c], eax
call fcn.00416810
mov edx, dword [ebp + 8]
mov ecx, ebx
push 0x4908c8
mov dword [ebp - 8], eax
mov dword [edi + 0x20], eax
call fcn.00416810
mov edx, dword [ebp + 8]
mov ecx, ebx
push 0x4908d0
mov dword [edi + 0x24], eax
call fcn.00416810
add esp, 0x20
mov dword [edi + 0x28], eax
test esi, esi
je 0x416b3e
cmp dword [ebp - 0x14], 0
je 0x416b3e
cmp dword [ebp - 0x10], 0
je 0x416b3e
cmp dword [ebp - 8], 0
je 0x416b3e
cmp dword [ebp - 4], 0
je 0x416b47
cmp dword [ebp - 0x18], 0
jne 0x416e78
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, ebx
push str.CFF
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.00416810
add esp, 4
test eax, eax
je 0x416b3e
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], 0
add eax, ebx
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x64], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x70], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x3c], 0x20000000
mov dword [ebp - 0x1c], 0x20000000
mov dword [ebp - 0x20], 2
call fcn.004162b0
movzx ecx, al
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
cmovle eax, ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004162f0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004162f0
push ecx
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
call fcn.004166e0
lea ecx, [ebp - 0x24]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
movq qword [ebp - 0x30], xmm0
call fcn.004162f0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004162f0
mov edx, 0x11
lea ecx, [ebp - 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x4c], xmm0
mov dword [edi + 0x54], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00416550
add esp, 0x1c
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
nop dword [eax]
cmp dword [ebp - 0x38], eax
jge 0x416cac
lea ecx, [ebp - 0x3c]
call fcn.004163e0
mov dword [ebp + esi*4 - 8], eax
inc esi
cmp esi, 1
jge 0x416cac
mov eax, dword [ebp - 0x34]
jmp 0x416c90
lea eax, [ebp - 0x48]
mov edx, 0x106
push eax
lea ecx, [ebp - 0x30]
call fcn.00416550
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x416ced
lea ecx, [ebp - 0x3c]
call fcn.004163e0
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 1
jge 0x416ced
mov eax, dword [ebp - 0x34]
jmp 0x416cd1
lea eax, [ebp - 0x48]
mov edx, 0x124
push eax
lea ecx, [ebp - 0x30]
call fcn.00416550
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x416d2e
lea ecx, [ebp - 0x3c]
call fcn.004163e0
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 1
jge 0x416d2e
mov eax, dword [ebp - 0x34]
jmp 0x416d12
lea eax, [ebp - 0x48]
mov edx, 0x125
push eax
lea ecx, [ebp - 0x30]
call fcn.00416550
add esp, 4
xor esi, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x38], eax
jge 0x416d6f
lea ecx, [ebp - 0x3c]
call fcn.004163e0
mov dword [ebp + esi*4 - 4], eax
inc esi
cmp esi, 1
jge 0x416d6f
mov eax, dword [ebp - 0x34]
jmp 0x416d53
movq xmm0, qword [ebp - 0x30]
sub esp, 0xc
mov eax, dword [ebp - 0x28]
mov ecx, esp
mov esi, dword [ebp - 0x1c]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x24]
mov dword [ecx + 8], eax
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], esi
lea eax, [ebp - 0x48]
push eax
call fcn.004168b0
add esp, 0x1c
cmp dword [ebp - 0x10], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], eax
jne 0x416b3e
cmp dword [ebp - 8], 0
je 0x416b3e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x416e46
cmp dword [ebp - 4], 0
je 0x416b3e
cmp eax, esi
jg 0x416de2
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x416de5
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.004162f0
mov esi, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, esi
mov dword [ebp - 0x3c], 0
sub edx, ecx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x64], xmm0
mov dword [edi + 0x6c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
movq xmm0, qword [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
test ecx, ecx
js 0x416e3e
test edx, edx
js 0x416e3e
cmp ecx, esi
jg 0x416e3e
mov eax, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, edx
movq xmm0, qword [ebp - 0x3c]
movq qword [edi + 0x70], xmm0
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 8]
cmp eax, esi
jg 0x416e54
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x416e57
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.004162f0
mov esi, dword [ebp - 0xc]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [edi + 0x40], xmm0
mov dword [edi + 0x48], eax
mov edx, dword [ebp + 8]
mov ecx, ebx
push 0x4908e0
call fcn.00416810
add esp, 4
test eax, eax
je 0x416e9f
movzx ecx, byte [eax + ebx + 4]
movzx eax, byte [eax + ebx + 5]
shl ecx, 8
add ecx, eax
jmp 0x416ea4
mov ecx, 0xffff
mov dword [edi + 0xc], ecx
movzx ecx, byte [esi + ebx + 2]
movzx eax, byte [esi + ebx + 3]
shl ecx, 8
add eax, ecx
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x14], eax
je 0x416b3e
mov edx, ebx
add esi, 5
not edx
add esi, ebx
mov dword [ebp + 8], edx
movzx ecx, byte [esi - 1]
movzx eax, byte [esi]
shl ecx, 8
add eax, ecx
je 0x416f09
cmp eax, 3
jne 0x416f37
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
add eax, ecx
sub eax, 1
je 0x416efc
sub eax, 9
jne 0x416f37
lea ecx, [esi + 3]
call fcn.004167f0
add eax, dword [ebp - 0xc]
jmp 0x416f31
lea ecx, [edx + esi]
movzx edx, byte [ecx + ebx + 4]
add ecx, ebx
shl edx, 8
movzx eax, byte [ecx + 5]
add edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 7]
shl edx, 8
add edx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edi + 0x2c], eax
add esi, 8
sub dword [ebp - 0x14], 1
jne 0x416ed2
cmp dword [edi + 0x2c], 0
je 0x416b3e
mov eax, dword [edi + 0x14]
movzx ecx, byte [ebx + eax + 0x32]
movzx eax, byte [ebx + eax + 0x33]
shl ecx, 8
add ecx, eax
mov eax, 1
mov dword [edi + 0x30], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret