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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
push edi
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x30]
mov dword [esi + 4], ebx
call fcn.1006f360
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov edi, str.cmap
mov edx, ebx
call fcn.1006f760
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edi, str.loca
mov edx, ebx
call fcn.1006f760
mov dword [ebp - 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov edi, str.head
mov edx, ebx
call fcn.1006f760
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov edi, str.glyf
mov edx, ebx
call fcn.1006f760
mov dword [ebp - 0xc], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov edi, str.hhea
mov edx, ebx
call fcn.1006f760
mov dword [ebp - 0x14], eax
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov edi, str.hmtx
mov edx, ebx
call fcn.1006f760
mov dword [ebp - 0x10], eax
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov edi, str.kern
mov edx, ebx
call fcn.1006f760
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov edi, str.GPOS
mov edx, ebx
call fcn.1006f760
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [ebp - 4], eax
je 0x1006fa08
cmp dword [ebp - 0x18], eax
je 0x1006fa08
cmp dword [ebp - 0x14], eax
je 0x1006fa08
cmp dword [ebp - 0x10], eax
je 0x1006fa08
cmp dword [ebp - 0xc], eax
je 0x1006fa11
cmp dword [ebp - 8], eax
jne 0x1006fc59
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov edi, str.CFF
mov edx, ebx
mov dword [ebp - 0xc], 2
call fcn.1006f760
mov edi, eax
test edi, edi
je 0x1006fa08
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x30]
call fcn.1006f360
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], eax
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x30]
call fcn.1006f360
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], eax
lea ecx, [edi + ebx]
mov edx, 0x20000000
lea eax, [ebp - 0x30]
call fcn.1006f360
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x34], ecx
mov dword [ebp - 0x24], ecx
mov dword [esi + 0x38], edx
push 2
lea ecx, [ebp - 0x24]
mov dword [esi + 0x3c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
call fcn.1006f320
call fcn.1006f2c0
movzx edx, al
call fcn.1006f300
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
call fcn.1006f3c0
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x24]
call fcn.1006f3c0
mov edx, dword [eax]
add esp, 0xc
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.1006f600
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 8]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], edx
call fcn.1006f3c0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.1006f3c0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
lea edx, [ebp - 0x30]
mov edi, 1
push edx
lea ebx, [ebp - 8]
lea eax, [edi + 0x10]
call fcn.1006f5a0
lea eax, [ebp - 0x30]
push eax
lea ebx, [ebp - 0xc]
mov eax, 0x106
call fcn.1006f5a0
lea ecx, [ebp - 0x30]
push ecx
lea ebx, [ebp - 0x10]
mov eax, 0x124
call fcn.1006f5a0
lea edx, [ebp - 0x30]
push edx
lea ebx, [ebp - 0x14]
mov eax, 0x125
call fcn.1006f5a0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add esp, 0x20
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [ebp - 0x3c]
push eax
call fcn.1006f850
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x58], ecx
add esp, 0x1c
cmp dword [ebp - 0xc], 2
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
jne 0x1006fa08
cmp dword [ebp - 8], 0
je 0x1006fa08
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1006fc2b
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1006fa08
lea ecx, [ebp - 0x24]
call fcn.1006f300
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.1006f3c0
mov edx, dword [eax]
mov ebx, dword [ebp - 0x1c]
mov dword [esi + 0x64], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x68], ecx
mov edx, dword [eax + 8]
lea eax, [ebp - 0x24]
mov dword [esi + 0x6c], edx
sub ebx, edi
push eax
lea esi, [ebp - 0x3c]
call fcn.1006f370
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x70], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x74], edx
mov eax, dword [eax + 8]
add esp, 8
mov dword [ecx + 0x78], eax
mov esi, ecx
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x24]
call fcn.1006f300
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.1006f3c0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x10]
mov edi, str.maxp
mov edx, ebx
call fcn.1006f760
test eax, eax
je 0x1006fc7d
lea ecx, [eax + ebx + 4]
call fcn.1006f680
movzx edx, ax
mov dword [esi + 0xc], edx
jmp 0x1006fc84
mov dword [esi + 0xc], 0xffff
mov edi, dword [ebp - 4]
lea ecx, [edi + ebx + 2]
call fcn.1006f680
movzx eax, ax
test eax, eax
mov dword [esi + 0x2c], 0
jle 0x1006fce6
add edi, 4
mov dword [ebp + 0x10], eax
lea ecx, [edi + ebx]
call fcn.1006f680
movzx eax, ax
test eax, eax
je 0x1006fcce
cmp eax, 3
jne 0x1006fcdd
lea ecx, [edi + ebx + 2]
call fcn.1006f680
movzx eax, ax
sub eax, 1
je 0x1006fcce
sub eax, 9
jne 0x1006fcdd
lea ecx, [edi + ebx + 4]
call fcn.1006f6a0
add eax, dword [ebp - 4]
mov dword [esi + 0x2c], eax
add edi, 8
sub dword [ebp + 0x10], 1
jne 0x1006fca4
cmp dword [esi + 0x2c], 0
je 0x1006fa08
mov eax, dword [ebp - 0x18]
lea ecx, [eax + ebx + 0x32]
call fcn.1006f680
movzx ecx, ax
pop edi
mov dword [esi + 0x30], ecx
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret