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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x300
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r12d, r8d
mov rsi, rdx
mov qword [rbp - 0x80], rdx
mov r13, rcx
xor r14d, r14d
cmp dword [rdx + 0x484], r14d
jge 0x14005a012
mov dword [rbp - 0x44], 0xffffffff
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
lea rcx, [rdx + 0x58]
test byte [rdx], 2
lea rdx, [rbp - 0x48]
mov dword [rbp - 0x48], 0x1b00d9
je 0x14005a002
mov dword [rbp - 0x48], 0x20002
call fcn.140058f60
mov eax, dword [rsi + 0x58]
dec eax
mov dword [rsi + 0x484], eax
cmp dword [rsi + 0x488], r14d
jge 0x14005a052
test byte [rsi], 4
jne 0x14005a052
mov dword [rbp - 0x44], 0xffffffff
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x48], 0x400041
lea rdx, [rbp - 0x48]
lea rcx, [rsi + 0x58]
call fcn.140058f60
mov eax, dword [rsi + 0x58]
dec eax
mov dword [rsi + 0x488], eax
mov qword [rsi + 8], r14
mov qword [rsi + 0x30], r14
mov qword [rsi + 0x38], r14
mov qword [rsi + 0x40], r14
mov rcx, rsi
call fcn.140054fe0
mov byte [rsp + 0x61], r14b
mov dword [rbp + 0xc], r14d
mov r15, r14
mov qword [rsp + 0x78], r14
mov qword [rbp + 0x10], r14
mov dword [rbp - 4], r14d
mov qword [rbp - 0x60], r14
mov qword [rbp], r14
mov edi, dword [rsi + 0x68]
mov dword [rsp + 0x70], edi
mov eax, 8
test edi, edi
jle 0x14005a0d9
mov ebx, edi
cmp edi, eax
cmovl ebx, eax
test ebx, ebx
jle 0x14005a0d9
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a0b8
inc dword [rax + 0x3b0]
movsxd rax, ebx
imul rcx, rax, 0x70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x10], rax
mov dword [rbp + 0xc], ebx
mov eax, 8
mov dword [rbp + 8], edi
mov edi, dword [rsi + 0x48]
mov dword [rsp + 0x6c], edi
test edi, edi
jle 0x14005a120
mov ebx, edi
cmp edi, 8
cmovl ebx, eax
test ebx, ebx
jle 0x14005a120
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a105
inc dword [rax + 0x3b0]
movsxd rcx, ebx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rbp - 0x60], rax
mov qword [rbp], rax
mov dword [rbp - 4], ebx
mov dword [rbp - 8], edi
imul ecx, dword [rsp + 0x70], 0x70
movsxd r8, ecx
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
shl ecx, 5
movsxd r8, ecx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov r15d, ecx
cmp dword [rsi + 0x68], ecx
jle 0x14005a263
mov r14d, ecx
mov rbx, qword [rsp + 0x78]
add rbx, 0x44
mov rdi, qword [rsi + 0x70]
add rdi, r14
mov dword [rbx - 4], 0xffffffff
mov r8d, ecx
cmp dword [rsi + 0x48], 0
jle 0x14005a25c
mov edx, 0xffffffff
mov r9, rcx
mov eax, edx
cmp edx, 0xffffffff
jne 0x14005a1b2
mov rax, qword [rsi + 0x50]
mov rcx, qword [r9 + rax]
cmp qword [rdi + 0x80], rcx
jne 0x14005a1a3
mov dword [rbx - 4], r8d
mov edx, r8d
inc r8d
add r9, 8
mov eax, edx
cmp r8d, dword [rsi + 0x48]
jl 0x14005a184
cmp eax, 0xffffffff
je 0x14005a25c
mov r9d, r12d
mov r8, rdi
mov rdx, r13
lea rcx, [rbx - 0x44]
call fcn.140059160
test al, al
je 0x14005a25c
mov eax, dword [rdi + 0x4c]
shr eax, 8
and al, 1
or byte [rsp + 0x61], al
movsxd r8, dword [rbx - 4]
shl r8, 5
mov r9, qword [rbp - 0x60]
add r8, r9
mov rax, qword [rdi + 0x38]
lea rdx, [0x1405316d0]
test rax, rax
cmovne rdx, rax
mov qword [rbx - 0xc], rdx
cmp dword [rdx], 0
je 0x14005a227
nop dword [rax + rax]
mov ecx, dword [rdx + 4]
test ecx, ecx
je 0x14005a227
cmp dword [rbx], ecx
cmovge ecx, dword [rbx]
mov dword [rbx], ecx
add rdx, 8
cmp dword [rdx], 0
jne 0x14005a210
inc dword [r8]
mov ecx, dword [rbx]
cmp dword [r8 + 4], ecx
cmovge ecx, dword [r8 + 4]
mov dword [r8 + 4], ecx
inc r15d
add rbx, 0x70
add r14, 0x88
mov rsi, qword [rbp - 0x80]
cmp r15d, dword [rsi + 0x68]
mov ecx, 0
jl 0x14005a161
jmp 0x14005a267
xor bl, bl
jmp 0x14005b184
mov r9, qword [rbp - 0x60]
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x64], r15d
mov esi, 1
mov dword [rsp + 0x74], esi
mov r12d, dword [rsp + 0x70]
test r12d, r12d
jle 0x14005a5a4
mov r14, qword [rsp + 0x78]
add r14, 0x58
mov esi, r12d
mov qword [rbp - 0x70], r12
nop dword [rax]
movsxd r15, dword [r14 - 0x18]
shl r15, 5
add r15, r9
mov ebx, dword [r14 - 0x14]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r14 - 4]
cmp ebx, ecx
jle 0x14005a2e6
test ecx, ecx
je 0x14005a2cc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14005a2d1
mov eax, 8
lea rdi, [r14 - 8]
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.14004f2b0
jmp 0x14005a2ea
lea rdi, [r14 - 8]
mov dword [rdi], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r14]
call sub.VCRUNTIME140.dll_memset
cmp dword [r15 + 0x10], 0
jne 0x14005a350
mov ebx, dword [r15 + 4]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r15 + 0x14]
cmp ebx, ecx
jle 0x14005a33a
test ecx, ecx
je 0x14005a325
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14005a32a
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r15 + 0x10]
call fcn.14004f2b0
mov dword [r15 + 0x10], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r15 + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r12, qword [r14 - 0x20]
cmp dword [r12], 0
je 0x14005a3d1
nop dword [rax + rax]
mov eax, dword [r12 + 4]
test eax, eax
je 0x14005a3cd
mov edi, dword [r12]
cmp edi, eax
jg 0x14005a3c2
mov ecx, edi
and ecx, 0x1f
mov esi, 1
shl esi, cl
movsxd rbx, edi
sar rbx, 5
mov rax, qword [r15 + 0x18]
test dword [rax + rbx*4], esi
jne 0x14005a3b4
mov edx, edi
mov rcx, qword [r14 - 0x40]
call sym.Client.exe_FT_Get_Char_Index
test eax, eax
je 0x14005a3b4
inc dword [r14 - 0x10]
inc dword [r15 + 8]
mov rax, qword [r14]
or dword [rax + rbx*4], esi
mov rax, qword [r15 + 0x18]
or dword [rax + rbx*4], esi
inc r13d
inc edi
cmp edi, dword [r12 + 4]
jle 0x14005a371
mov dword [rsp + 0x64], r13d
add r12, 8
cmp dword [r12], 0
jne 0x14005a360
mov rsi, qword [rbp - 0x70]
add r14, 0x70
sub rsi, 1
mov qword [rbp - 0x70], rsi
mov r9, qword [rbp - 0x60]
jne 0x14005a2a0
mov r15, qword [rsp + 0x78]
add r15, 0x68
mov esi, dword [rsp + 0x70]
mov qword [rbp - 0x70], rsi
mov r13d, 1
nop
movsxd rbx, dword [r15 - 0x20]
cmp ebx, dword [r15 - 4]
jle 0x14005a470
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a41c
inc dword [rax + 0x3b0]
lea rcx, [rbx + rbx*4]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov rdx, qword [r15]
test rdx, rdx
je 0x14005a469
movsxd rcx, dword [r15 - 8]
lea r8, [rcx + rcx*4]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r15]
test rcx, rcx
je 0x14005a463
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a463
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15], rdi
mov dword [r15 - 4], ebx
mov rdx, qword [r15 - 0x10]
mov qword [rbp - 0x50], rdx
movsxd rax, dword [r15 - 0x18]
lea rax, [rdx + rax*4]
mov qword [rbp - 0x78], rax
mov r14, rdx
cmp rdx, rax
jae 0x14005a556
mov r12d, dword [r14]
test r12d, r12d
je 0x14005a545
xor eax, eax
mov esi, eax
mov edi, r13d
test r12d, edi
je 0x14005a534
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x38], xmm6
mov qword [rbp - 0x28], rax
lea rcx, [r14*8]
lea rax, [rdx*8]
sub ecx, eax
and ecx, 0xffffffe0
add ecx, esi
mov dword [rbp - 0x30], ecx
mov r8d, dword [r15 - 4]
mov ecx, dword [r15 - 8]
cmp ecx, r8d
jne 0x14005a50d
inc ecx
test r8d, r8d
je 0x14005a4f4
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14005a4f9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [r15 - 8]
call fcn.14005b380
mov rdx, qword [rbp - 0x50]
movsxd rax, dword [r15 - 8]
lea rcx, [rax + rax*4]
mov rax, qword [r15]
movups xmmword [rax + rcx*8], xmm6
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rax + rcx*8 + 0x10], xmm0
movsd xmm1, qword [rbp - 0x28]
movsd qword [rax + rcx*8 + 0x20], xmm1
inc dword [r15 - 8]
inc esi
rol edi, 1
cmp esi, 0x20
jb 0x14005a4a3
mov rax, qword [rbp - 0x78]
add r14, 4
cmp r14, rax
jb 0x14005a490
mov rsi, qword [rbp - 0x70]
mov rcx, qword [r15 - 0x10]
test rcx, rcx
je 0x14005a581
xor ebx, ebx
mov qword [r15 - 0x18], rbx
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a577
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15 - 0x10], rbx
add r15, 0x70
sub rsi, r13
mov qword [rbp - 0x70], rsi
jne 0x14005a400
mov r13d, dword [rsp + 0x64]
mov esi, 1
mov r12d, dword [rsp + 0x70]
xor r15d, r15d
mov eax, dword [rsp + 0x6c]
test eax, eax
jle 0x14005a5eb
mov rbx, qword [rbp - 0x60]
add rbx, 0x18
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005a5e1
mov qword [rbx - 8], 0
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a5d8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r15
add rbx, 0x20
sub rdi, 1
jne 0x14005a5b6
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14005a61f
mov qword [rbp - 8], 0
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a60e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
mov qword [rbp - 0x60], rcx
mov qword [rbp], rcx
mov dword [rbp - 0x44], r15d
mov rdi, r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x40], r15
mov r14d, 8
test r13d, r13d
jle 0x14005a674
mov ebx, r13d
cmp r13d, r14d
cmovl ebx, r14d
test ebx, ebx
jle 0x14005a674
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a659
inc dword [rax + 0x3b0]
movsxd rcx, ebx
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x44], ebx
mov dword [rbp - 0x48], r13d
shl r13d, 4
movsxd r8, r13d
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x64], r15d
mov dword [rbp + 0x24], r15d
mov qword [rbp + 0x28], r15
mov rax, qword [0x1407065c0]
mov ecx, 0x40000
test rax, rax
je 0x14005a6ad
inc dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a6c8
inc dword [rax + 0x3b0]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x24], r14d
mov qword [rax], rbx
mov dword [rbp + 0x20], esi
mov eax, r15d
mov dword [rsp + 0x68], eax
mov r9d, r15d
mov dword [rsp + 0x6c], r15d
movss xmm6, dword [0x140533f94]
test r12d, r12d
jle 0x14005aabe
mov r8, r15
mov qword [rbp - 0x78], r15
mov rbx, qword [rsp + 0x78]
add rbx, 0x60
mov r10d, r12d
mov qword [rbp - 0x50], r10
mov r11, qword [rbp - 0x80]
mov rdx, qword [r11 + 0x70]
mov ecx, dword [rbx - 0x18]
test ecx, ecx
je 0x14005aa97
movsxd rax, r9d
shl rax, 4
add rax, rdi
mov qword [rbx - 0x30], rax
add r9d, ecx
mov dword [rsp + 0x6c], r9d
movss xmm1, dword [r8 + rdx + 0x50]
ucomiss xmm1, xmm6
jp 0x14005a75a
jne 0x14005a75a
mov byte [rsp + 0x60], 0
jmp 0x14005a7a8
mov byte [rsp + 0x60], 1
mov r8d, r15d
lea r9, [rbp + 0x80]
nop dword [rax]
mov eax, r8d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
cvttss2si rcx, xmm0
mov edx, 0xff
movzx eax, cl
cmp ecx, edx
cmovbe edx, eax
mov byte [r9], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x100
jb 0x14005a770
mov r8, qword [rbp - 0x78]
mov eax, dword [r11 + 0x14]
mov dword [rbp - 0x58], eax
mov r12d, r15d
mov dword [rbp - 0x20], r15d
cmp dword [rbx], 0
jle 0x14005aa93
mov r13, r15
mov rsi, r15
nop word [rax + rax]
mov r15, qword [rbx + 8]
mov edx, dword [rsi + r15 + 0x18]
mov rcx, qword [rbx - 0x48]
call sym.Client.exe_FT_Get_Char_Index
test eax, eax
je 0x14005aa62
mov r8d, dword [rbx - 0x3c]
mov edx, eax
mov rcx, qword [rbx - 0x48]
call sym.Client.exe_FT_Load_Glyph
test eax, eax
jne 0x14005aa62
mov rax, qword [rbx - 0x48]
mov rdi, qword [rax + 0x78]
test byte [rbx - 0x40], 0x20
je 0x14005a817
mov rcx, rdi
call sym.Client.exe_FT_GlyphSlot_Embolden
test byte [rbx - 0x40], 0x40
je 0x14005a825
mov rcx, rdi
call sym.Client.exe_FT_GlyphSlot_Oblique
lea rax, [rdi + 0x30]
test rax, rax
je 0x14005aa62
mov rax, qword [rbx - 0x48]
mov rdi, qword [rax + 0x78]
mov edx, dword [rbx - 0x38]
mov rcx, rdi
call sym.Client.exe_FT_Render_Glyph
test eax, eax
jne 0x14005aa62
mov rax, qword [rbx - 0x48]
mov r9, qword [rax + 0x78]
add r9, 0x68
mov qword [rbp - 0x18], r9
mov r8d, dword [r9 + 4]
mov dword [rsi + r15], r8d
mov r12d, dword [r9]
mov dword [rsi + r15 + 4], r12d
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x90]
mov dword [rsi + r15 + 8], eax
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x94]
neg eax
mov dword [rsi + r15 + 0xc], eax
mov eax, dword [rdi + 0x58]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + r15 + 0x10], xmm0
cmp byte [r9 + 0x1a], 7
sete al
mov byte [rsi + r15 + 0x14], al
imul r12d, r8d
shl r12d, 2
mov edi, dword [rsp + 0x64]
lea eax, [r12 + rdi]
cmp eax, 0x40000
jle 0x14005a9cb
xor eax, eax
mov edi, eax
mov dword [rsp + 0x64], eax
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a8f7
inc dword [rax + 0x3b0]
mov ecx, 0x40000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x18], rax
mov r8d, dword [rsp + 0x74]
cmp r8d, r14d
jne 0x14005a9ae
lea edi, [r8 + 1]
test r14d, r14d
je 0x14005a92a
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
add eax, r14d
jmp 0x14005a92f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, r14d
jle 0x14005a9aa
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005a94b
inc dword [rax + 0x3b0]
movsxd rcx, edi
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14005a994
movsxd r8, dword [rsp + 0x74]
shl r8, 3
mov rdx, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1407065c0]
test rcx, rcx
je 0x14005a98a
dec dword [rcx + 0x3b0]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, r14
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x28], rax
mov r14d, edi
mov dword [rbp + 0x24], edi
mov r8d, dword [rsp + 0x74]
mov edi, dword [rsp + 0x64]
movsxd rax, r8d
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x68]
mov qword [rdx + rax*8], rcx
inc r8d
mov dword [rsp + 0x74], r8d
mov dword [rbp + 0x20], r8d
jmp 0x14005a9d4
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rbp - 0x68]
lea eax, [r8 - 1]
cdqe
movsxd rcx, edi
mov r8, qword [rdx + rax*8]
add r8, rcx
mov qword [rsi + r15 + 0x20], r8
add edi, r12d
mov dword [rsp + 0x64], edi
lea rax, [rbp + 0x80]
cmp byte [rsp + 0x60], 0
mov ecx, 0
cmove rax, rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + r15]
mov rdx, qword [rbp - 0x18]
call fcn.140059360
mov edi, dword [rbp - 0x58]
movzx ecx, di
add cx, word [rsi + r15]
mov rax, qword [rbx - 0x30]
mov word [rax + r13 + 4], cx
movzx ecx, di
add cx, word [rsi + r15 + 4]
mov rax, qword [rbx - 0x30]
mov word [rax + r13 + 6], cx
mov rax, qword [rbx - 0x30]
movzx ecx, word [rax + r13 + 6]
movzx eax, word [rax + r13 + 4]
imul ecx, eax
mov eax, dword [rsp + 0x68]
add eax, ecx
mov dword [rsp + 0x68], eax
mov r12d, dword [rbp - 0x20]
jmp 0x14005aa66
mov eax, dword [rsp + 0x68]
inc r12d
mov dword [rbp - 0x20], r12d
add rsi, 0x28
add r13, 0x10
cmp r12d, dword [rbx]
jl 0x14005a7d0
mov r8, qword [rbp - 0x78]
mov r10, qword [rbp - 0x50]
mov r11, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x70]
xor r15d, r15d
jmp 0x14005aa97
mov eax, dword [rsp + 0x68]
add rbx, 0x70
add r8, 0x88
mov qword [rbp - 0x78], r8
sub r10, 1
mov qword [rbp - 0x50], r10
mov r9d, dword [rsp + 0x6c]
jne 0x14005a720
mov r12d, dword [rsp + 0x70]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14005aad6
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14005aade
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si eax, xmm0
inc eax
mov r15, qword [rbp - 0x80]
xor esi, esi
mov dword [r15 + 0x34], esi
mov ebx, dword [r15 + 0x10]
test ebx, ebx
jg 0x14005ab31
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1405340c4]
jb 0x14005ab0d
mov ebx, 0x1000
jmp 0x14005ab31
comiss xmm0, dword [0x1405340c0]
jb 0x14005ab1d
mov ebx, 0x800
jmp 0x14005ab31
mov ebx, 0x200
mov eax, 0x400
comiss xmm0, dword [0x1405340b4]
cmovae ebx, eax
mov rax, r15
mov dword [rax + 0x30], ebx
sub ebx, dword [r15 + 0x14]
mov dword [rbp - 0x14], esi
mov r14, rsi
mov qword [rbp - 0x10], rsi
test ebx, ebx
jle 0x14005ab83
mov edi, ebx
cmp ebx, 8
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x14005ab83
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005ab6c
inc dword [rax + 0x3b0]
movsxd rcx, edi
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x14], edi
mov dword [rbp - 0x18], ebx
mov r8d, 0x8000
sub r8d, dword [r15 + 0x14]
mov edx, dword [r15 + 0x30]
sub edx, dword [r15 + 0x14]
mov dword [rsp + 0x20], ebx
mov r9, r14
lea rcx, [rbp + 0x30]
call fcn.140059d20
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.140055c70
mov r13, qword [rsp + 0x78]
test r12d, r12d
jle 0x14005ac1e
lea rbx, [r13 + 0x48]
mov edi, r12d
mov r8d, dword [rbx]
test r8d, r8d
je 0x14005ac14
mov rdx, qword [rbx - 0x18]
lea rcx, [rbp + 0x30]
call fcn.14004ffb0
mov r8d, esi
cmp dword [rbx], esi
jle 0x14005ac14
mov rdx, rsi
mov rax, qword [rbx - 0x18]
cmp dword [rdx + rax + 0xc], 0
je 0x14005ac08
movzx ecx, word [rdx + rax + 0xa]
movzx eax, word [rdx + rax + 6]
add ecx, eax
cmp dword [r15 + 0x34], ecx
cmovge ecx, dword [r15 + 0x34]
mov dword [r15 + 0x34], ecx
inc r8d
add rdx, 0x10
cmp r8d, dword [rbx]
jl 0x14005abe4
add rbx, 0x70
sub rdi, 1
jne 0x14005abc5
mov eax, dword [r15 + 0x34]
test byte [r15], 1
jne 0x14005ac4d
lea ecx, [rax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
lea ecx, [rax + 1]
mov dword [r15 + 0x34], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm6
divss xmm1, xmm0
movsxd rax, dword [r15 + 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
movss dword [r15 + 0x38], xmm6
movss dword [r15 + 0x3c], xmm1
movsxd rbx, ecx
imul rbx, rax
mov rax, qword [0x1407065c0]
cmp byte [rsp + 0x61], 0
je 0x14005acb4
lea rbx, [rbx*4]
test rax, rax
je 0x14005aca5
inc dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x28], rax
jmp 0x14005accc
test rax, rax
je 0x14005acbf
inc dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x20], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor al, al
mov byte [rsp + 0x60], al
test r12d, r12d
jle 0x14005b02c
xor r8d, r8d
mov esi, r8d
mov qword [rbp - 0x50], r8
add r13, 8
mov r14d, r12d
mov qword [rbp - 0x20], r14
movss xmm12, dword [0x140533f54]
nop word [rax + rax]
cmp dword [r13 + 0x40], 0
je 0x14005b001
mov rdx, qword [r15 + 0x70]
add rdx, rsi
mov qword [rbp - 0x58], rdx
mov r9, qword [rdx + 0x80]
mov qword [rbp - 0x78], r9
movss xmm6, dword [r13 - 4]
movss xmm7, dword [r13]
lea rbx, [r9 + 0x50]
lea rdi, [r9 + 0x64]
cmp byte [rdx + 0x48], 0
jne 0x14005ad7b
mov rcx, r9
call fcn.140056980
mov rdx, qword [rbp - 0x58]
mov eax, dword [rdx + 0x14]
mov r9, qword [rbp - 0x78]
mov dword [r9 + 0x14], eax
mov qword [r9 + 0x48], rdx
xor r8d, r8d
mov word [rbx], r8w
mov qword [r9 + 0x40], r15
movss dword [rdi], xmm6
movss dword [r9 + 0x68], xmm7
inc word [rbx]
movss xmm11, dword [rdx + 0x2c]
movss xmm0, dword [rdi]
addss xmm0, xmm12
cvttss2si eax, xmm0
movd xmm10, eax
cvtdq2ps xmm10, xmm10
addss xmm10, dword [rdx + 0x30]
mov ecx, dword [r15 + 0x14]
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x6c], r8d
cmp dword [r13 + 0x40], 0
jle 0x14005affd
mov r12, r8
mov rbx, r8
nop
mov rdi, qword [r13 + 0x60]
mov rax, qword [r13 + 0x28]
cmp word [r12 + rax + 4], 0
jne 0x14005adde
cmp word [r12 + rax + 6], 0
je 0x14005afd5
movzx esi, word [r12 + rax + 8]
add esi, ecx
movzx r14d, word [r12 + rax + 0xa]
add r14d, ecx
movd xmm3, dword [rbx + rdi + 8]
cvtdq2ps xmm3, xmm3
addss xmm3, xmm11
movd xmm9, dword [rbx + rdi + 0xc]
cvtdq2ps xmm9, xmm9
addss xmm9, xmm10
mov eax, dword [rbx + rdi]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
addss xmm8, xmm3
mov ecx, dword [rbx + rdi + 4]
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
addss xmm7, xmm9
movd xmm0, dword [r15 + 0x30]
cvtdq2ps xmm0, xmm0
movd xmm6, esi
cvtdq2ps xmm6, xmm6
divss xmm6, xmm0
movd xmm2, dword [r15 + 0x34]
cvtdq2ps xmm2, xmm2
movd xmm5, r14d
cvtdq2ps xmm5, xmm5
divss xmm5, xmm2
add eax, esi
movd xmm4, eax
cvtdq2ps xmm4, xmm4
divss xmm4, xmm0
lea eax, [rcx + r14]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss xmm0, dword [rbx + rdi + 0x10]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x50], xmm1
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x28], xmm8
movss dword [rsp + 0x20], xmm9
mov r8d, dword [rbx + rdi + 0x18]
mov rcx, r9
call fcn.140056ed0
mov rdx, qword [rbp - 0x78]
movsxd rax, dword [rdx + 0x28]
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x30]
cmp byte [rbx + rdi + 0x14], 0
je 0x14005aed9
mov byte [rsp + 0x60], 1
or dword [rax + rcx*8 - 0x28], 1
movsxd rdx, dword [rbx + rdi]
movsxd r15, dword [r15 + 0x30]
mov r10, qword [rbx + rdi + 0x20]
mov r11, qword [rbp - 0x80]
mov rcx, qword [r11 + 0x20]
movsxd rax, r14d
imul rax, r15
movsxd r8, esi
test rcx, rcx
je 0x14005af5c
lea r11, [rcx + r8]
add r11, rax
xor r8d, r8d
mov esi, r8d
cmp dword [rbx + rdi + 4], r8d
jle 0x14005afc9
lea r14, [rdx*4]
nop dword [rax]
mov r9d, r8d
test edx, edx
jle 0x14005af4c
mov rcx, r11
lea r8, [r10 + 3]
nop
movzx eax, byte [r8]
mov byte [rcx], al
inc r9d
lea r8, [r8 + 4]
lea rcx, [rcx + 1]
mov edx, dword [rbx + rdi]
cmp r9d, edx
jl 0x14005af30
xor r8d, r8d
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x14005af20
jmp 0x14005afc9
lea rcx, [r8 + rax]
mov rax, qword [r11 + 0x28]
lea r11, [rax + rcx*4]
xor r8d, r8d
mov esi, r8d
cmp dword [rbx + rdi + 4], r8d
jle 0x14005afc9
lea r15, [r15*4]
lea r14, [rdx*4]
test edx, edx
jle 0x14005afb5
mov rcx, r11
mov r9, r10
sub r9, r11
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r9 + rcx]
mov dword [rcx], eax
inc r8d
lea rcx, [rcx + 4]
mov edx, dword [rbx + rdi]
cmp r8d, edx
jl 0x14005afa0
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
mov r8d, 0
jl 0x14005af85
mov ecx, dword [rsp + 0x64]
mov rdx, qword [rbp - 0x58]
mov r15, qword [rbp - 0x80]
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
add rbx, 0x28
add r12, 0x10
cmp eax, dword [r13 + 0x40]
mov r9, qword [rbp - 0x78]
jl 0x14005adc0
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x20]
mov qword [r13 + 0x28], r8
add r13, 0x70
add rsi, 0x88
mov qword [rbp - 0x50], rsi
sub r14, 1
mov qword [rbp - 0x20], r14
jne 0x14005ad10
movzx eax, byte [rsp + 0x60]
mov r14, qword [rbp - 0x10]
mov r12d, dword [rsp + 0x70]
mov byte [r15 + 0x19], al
mov eax, dword [rsp + 0x74]
mov rsi, qword [rbp - 0x68]
test eax, eax
jle 0x14005b06b
mov rbx, rsi
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005b05b
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b05b
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 8
sub rdi, 1
jne 0x14005b041
test r12d, r12d
jle 0x14005b0e2
mov rbx, qword [rsp + 0x78]
add rbx, 0x18
mov edi, r12d
xor esi, esi
nop
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14005b0a2
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b09b
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14005b0c4
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b0bd
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005b0d4
call sym.Client.exe_FT_Done_Face
mov qword [rbx], rsi
add rbx, 0x70
sub rdi, 1
jne 0x14005b080
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14005b116
xor ebx, ebx
mov qword [rbp + 8], rbx
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b104
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x78], rbx
mov qword [rbp + 0x10], rbx
mov rcx, r15
call fcn.1400566e0
mov bl, 1
test r14, r14
je 0x14005b141
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b137
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
test rsi, rsi
je 0x14005b162
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b158
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14005b184
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b17d
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14005b1a6
mov rax, qword [0x1407065c0]
test rax, rax
je 0x14005b19f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14005b1cc
mov rcx, qword [0x1407065c0]
test rcx, rcx
je 0x14005b1c2
dec dword [rcx + 0x3b0]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movzx eax, bl
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400e9c90
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret