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

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov dword [rbp + 0x60], r8d
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov qword [rax + 8], rdx
mov rax, qword [rbp + 0x50]
mov edx, dword [rbp + 0x60]
mov dword [rax + 0x10], edx
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov r8d, 0
mov edx, 0
mov rcx, rax
call fcn.004016ee
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rdx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.cmap
mov rcx, rax
call fcn.00401fe0
mov dword [rbp + 0x28], eax
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.loca
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x18], edx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.head
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x1c], edx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.glyf
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x20], edx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.hhea
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x24], edx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.hmtx
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x28], edx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.kern
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x2c], edx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.GPOS
mov rcx, rax
call fcn.00401fe0
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x30], edx
cmp dword [rbp + 0x28], 0
je 0x402621
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x1c]
test eax, eax
je 0x402621
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x24]
test eax, eax
je 0x402621
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x28]
test eax, eax
jne 0x40262b
mov eax, 0
jmp 0x402b17
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x20]
test eax, eax
je 0x40264f
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x40299a
mov eax, 0
jmp 0x402b17
mov dword [rbp - 0x24], 2
mov dword [rbp - 0x28], 0
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.CFF
mov rcx, rax
call fcn.00401fe0
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x402694
mov eax, 0
jmp 0x402b17
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov r8d, 0
mov edx, 0
mov rcx, rax
call fcn.004016ee
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x88], rdx
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov r8d, 0
mov edx, 0
mov rcx, rax
call fcn.004016ee
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rdx
mov edx, dword [rbp + 0x24]
mov rax, qword [rbp + 0x58]
add rdx, rax
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov r8d, 0x20000000
mov rcx, rax
call fcn.004016ee
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rdx
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 0x48]
mov rax, qword [rax + 0x40]
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov rax, rbp
mov edx, 2
mov rcx, rax
call fcn.00401645
mov rax, rbp
mov rcx, rax
call fcn.00401560
movzx edx, al
mov rax, rbp
mov rcx, rax
call fcn.004015dc
lea rax, [rbp - 0x40]
mov rdx, rbp
mov rcx, rax
call fcn.004017f9
lea rax, [rbp - 0x20]
mov rdx, rbp
mov rcx, rax
call fcn.004017f9
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 0x50]
mov r8d, 0
mov rdx, rax
call fcn.00401bf5
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rax, [rbp - 0x40]
mov rdx, rbp
mov rcx, rax
call fcn.004017f9
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov rdx, rbp
mov rcx, rax
call fcn.004017f9
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rdx
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x10]
mov r9, rdx
mov r8d, 1
mov edx, 0x11
mov rcx, rax
call fcn.00401b4a
lea rdx, [rbp - 0x24]
lea rax, [rbp - 0x10]
mov r9, rdx
mov r8d, 1
mov edx, 0x106
mov rcx, rax
call fcn.00401b4a
lea rdx, [rbp - 0x2c]
lea rax, [rbp - 0x10]
mov r9, rdx
mov r8d, 1
mov edx, 0x124
mov rcx, rax
call fcn.00401b4a
lea rdx, [rbp - 0x30]
lea rax, [rbp - 0x10]
mov r9, rdx
mov r8d, 1
mov edx, 0x125
mov rcx, rax
call fcn.00401b4a
mov rbx, qword [rbp + 0x50]
lea rcx, [rbp - 0x40]
mov rax, qword [rbp]
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x50]
mov r8, rdx
mov rdx, rax
call fcn.004022ef
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], rdx
mov eax, dword [rbp - 0x24]
cmp eax, 2
je 0x4028be
mov eax, 0
jmp 0x402b17
mov eax, dword [rbp - 0x28]
test eax, eax
jne 0x4028cf
mov eax, 0
jmp 0x402b17
mov eax, dword [rbp - 0x2c]
test eax, eax
je 0x402967
mov eax, dword [rbp - 0x30]
test eax, eax
jne 0x4028eb
mov eax, 0
jmp 0x402b17
mov eax, dword [rbp - 0x2c]
mov edx, eax
mov rax, rbp
mov rcx, rax
call fcn.004015dc
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov rdx, rbp
mov rcx, rax
call fcn.004017f9
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x88], rdx
mov eax, dword [rbp + 0xc]
mov edx, eax
mov eax, dword [rbp - 0x30]
sub edx, eax
mov eax, edx
mov r8d, eax
mov eax, dword [rbp - 0x30]
mov ecx, eax
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov rdx, rbp
mov r9d, r8d
mov r8d, ecx
mov rcx, rax
call fcn.00401758
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rdx
mov eax, dword [rbp - 0x28]
mov edx, eax
mov rax, rbp
mov rcx, rax
call fcn.004015dc
mov rbx, qword [rbp + 0x50]
lea rax, [rbp - 0x40]
mov rdx, rbp
mov rcx, rax
call fcn.004017f9
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rdx
mov edx, dword [rbp + 0x60]
mov rax, qword [rbp + 0x58]
lea r8, str.maxp
mov rcx, rax
call fcn.00401fe0
mov dword [rbp + 0x20], eax
cmp dword [rbp + 0x20], 0
je 0x4029db
mov eax, dword [rbp + 0x20]
lea rdx, [rax + 4]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d19
movzx edx, ax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x14], edx
jmp 0x4029e6
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x14], 0xffff
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x34], 0xffffffff
mov eax, dword [rbp + 0x28]
lea rdx, [rax + 2]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d19
movzx eax, ax
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x38], 0
mov dword [rbp + 0x2c], 0
jmp 0x402ace
mov eax, dword [rbp + 0x2c]
shl eax, 3
mov edx, eax
mov eax, dword [rbp + 0x28]
add eax, edx
add eax, 4
mov dword [rbp + 0x18], eax
mov edx, dword [rbp + 0x18]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d19
movzx eax, ax
test eax, eax
je 0x402aa3
cmp eax, 3
jne 0x402aca
mov eax, dword [rbp + 0x18]
lea rdx, [rax + 2]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d19
movzx eax, ax
cmp eax, 1
je 0x402a7a
cmp eax, 0xa
je 0x402a7a
jmp 0x402aca
mov eax, dword [rbp + 0x18]
lea rdx, [rax + 4]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d6b
mov edx, eax
mov eax, dword [rbp + 0x28]
add eax, edx
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x38], edx
nop
jmp 0x402aca
mov eax, dword [rbp + 0x18]
lea rdx, [rax + 4]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d6b
mov edx, eax
mov eax, dword [rbp + 0x28]
add eax, edx
mov edx, eax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x38], edx
nop
add dword [rbp + 0x2c], 1
mov eax, dword [rbp + 0x2c]
cmp eax, dword [rbp + 0x1c]
jl 0x402a24
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x38]
test eax, eax
jne 0x402aec
mov eax, 0
jmp 0x402b17
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x1c]
cdqe
lea rdx, [rax + 0x32]
mov rax, qword [rbp + 0x58]
add rax, rdx
mov rcx, rax
call fcn.00401d19
movzx edx, ax
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x3c], edx
mov eax, 1
add rsp, 0xb8
pop rbx
pop rbp
ret