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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov ebp, 0xffffffff
mov rbx, qword [rcx + 0x10]
mov r10, qword [rcx]
movzx eax, byte [rbx + 0x10]
mov qword [rsp + 0x1b8], rdx
mov r14, rcx
mov rdx, qword [r10 + 8]
mov word [rsp + 0x6a], bp
imul rax, rax, 0x68
lea r13, [rdx + rax + 8]
mov rax, qword [rcx + 8]
mov r11, qword [r13 + 0x20]
mov qword [rsp + 0x20], rax
movzx eax, byte [r13 + 0x40]
test al, 2
je 0x14037e38d
mov rdi, qword [r13 + 0x60]
movzx r8d, word [r11 + 0x3a]
test rdi, rdi
setne r12b
xor ebp, ebp
cmp qword [r14 + 0x18], 0
je 0x14037e3b5
test r12b, r12b
mov dword [rsp + 0x28], 1
je 0x14037de46
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x30], r11
nop word [rax + rax]
mov r9, qword [rdi + 0x48]
test r9, r9
je 0x14037dbb4
movzx edx, byte [r13 + 0x3c]
mov ecx, dword [r13 + 0x44]
mov r8, qword [rsp + 0x20]
call fcn.1403852e0
test eax, eax
je 0x14037df10
movzx ebp, byte [rdi + 0x65]
and ebp, 1
jne 0x14037df10
mov rax, qword [rdi + 0x10]
xor ecx, ecx
xor r8d, r8d
movzx esi, word [rax]
mov byte [rbx + 0x11], 0
mov dword [rbx + 0x3c], 0
movzx edx, byte [rdi + 0x64]
mov rax, qword [rsp + 0x1b8]
mov dword [rbx + 0x18], 0
mov r12d, dword [r13 + 0x44]
mov word [rbx + 0x1c], cx
mov word [rbx + 0x12], r8w
test dl, 4
mov word [rbx + 0x16], si
mov qword [rbx], rax
mov qword [rbx + 0x20], rdi
jne 0x14037e030
mov rax, qword [r14]
mov r8, qword [rax + 0x10]
test r8, r8
je 0x14037e030
mov eax, dword [r8]
xor r15d, r15d
test eax, eax
jle 0x14037e030
mov qword [rsp + 0x38], rbx
mov rbx, r15
mov r15d, r12d
mov qword [rsp + 0x40], r13
mov r13, r8
mov word [rsp + 0x48], si
mov rsi, rdi
mov qword [rsp + 0x1b0], r14
nop dword [rax]
mov rdx, rbx
shl rdx, 5
mov r12, qword [r13 + rdx + 8]
test r12, r12
je 0x14037dc93
nop dword [rax]
mov edx, dword [r12 + 4]
test edx, 0x82000
je 0x14037de87
and edx, 0x80000
je 0x14037de68
mov rdx, qword [r12 + 0x20]
mov r12, qword [rdx + 8]
test r12, r12
jne 0x14037dc68
add rbx, 1
cmp eax, ebx
jg 0x14037dc50
mov rdi, rsi
mov rbx, qword [rsp + 0x38]
movzx eax, byte [rdi + 0x64]
mov r13, qword [rsp + 0x40]
movzx esi, word [rsp + 0x48]
mov r14, qword [rsp + 0x1b0]
mov edx, eax
not edx
and edx, 3
je 0x14037dcde
test al, 0x20
je 0x14037e045
mov dword [rbx + 0x38], 0x240
xor r15d, r15d
jmp 0x14037e094
movzx ebp, byte [rsp + 0x28]
mov r10, qword [rsp + 0x30]
mov byte [rbx + 0x11], bpl
mov eax, esi
mov dword [rbx + 0x38], 0x100
mov ecx, dword [r10 + 0x30]
mov edx, ecx
shr edx, 0xc
and edx, 2
sub eax, edx
add eax, 0x10
mov word [rbx + 0x14], ax
cmp byte [r10 + 0x3f], 2
je 0x14037dd11
and ch, 0x40
je 0x14037dd18
mov dword [rbx + 0x38], 0x2000100
mov rcx, qword [rsp + 0x20]
movsx r8d, si
mov rdx, rbx
call fcn.140382760
mov rdx, rbx
mov rcx, r14
call fcn.1403822a0
mov word [rbx + 0x16], si
test eax, eax
mov ebp, eax
jne 0x14037de46
xor r9d, r9d
mov byte [r14 + 0x2c], 0
mov r8, rdi
mov rdx, r13
mov rcx, r14
call fcn.14037e680
cmp byte [r14 + 0x2c], 1
mov ebp, eax
jne 0x14037dd6d
mov rax, qword [rsp + 0x30]
or dword [rax + 0x30], 0x100
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x14037de2b
mov rdx, qword [rax]
mov r15, qword [rax + 8]
movzx ecx, word [rdx + 8]
mov r8, qword [r15 + 0x18]
test cx, cx
je 0x14037dde4
lea edx, [rcx - 1]
mov qword [rsp + 0x38], rbx
mov r12, rax
mov rbx, r15
imul rdx, rdx, 0x38
lea rsi, [r15 + rdx + 0x38]
mov r15, r8
nop dword [rax + rax]
test word [rbx + 0x14], 0x9000
jne 0x14037ddbf
mov eax, dword [rbx + 0x20]
test eax, eax
je 0x14037ddc7
mov rcx, rbx
call fcn.140374650
add rbx, 0x38
cmp rbx, rsi
jne 0x14037ddb0
mov rdx, qword [r12]
mov rax, r12
mov r8, r15
mov rbx, qword [rsp + 0x38]
test rdx, rdx
je 0x14037dded
sub dword [rdx], 1
je 0x14037e29f
test r8, r8
je 0x14037de23
cmp rax, qword [r8 + 0x1f0]
jae 0x14037de15
cmp rax, qword [r8 + 0x1e0]
jae 0x14037e345
cmp rax, qword [r8 + 0x1e8]
jae 0x14037e565
cmp qword [r8 + 0x308], 0
jne 0x14037e2f2
mov rcx, rax
call fcn.14035ad80
test byte [r13 + 0x40], 2
mov dword [r14 + 0x28], 0
mov qword [r14 + 0x20], 0
je 0x14037df1d
movaps xmm6, xmmword [rsp + 0x150]
mov eax, ebp
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [r12 + 0x10]
test r12, r12
je 0x14037dc93
mov edx, dword [r12 + 4]
test edx, 0x82000
jne 0x14037dc79
cmp byte [r12], 0xa7
je 0x14037df40
mov r14, qword [rsi + 0x50]
test r14, r14
je 0x14037dc93
movzx edx, word [rsi + 0x5e]
test dx, dx
je 0x14037dc93
xor edi, edi
jmp 0x14037debb
add rdi, 1
movzx eax, dx
cmp eax, edi
jle 0x14037def4
mov rax, qword [rsi + 8]
cmp word [rax + rdi*2], 0xfffe
jne 0x14037deb0
mov rax, rdi
mov r8d, r15d
mov rcx, r12
shl rax, 5
mov rdx, qword [r14 + rax + 8]
call fcn.1402edfd0
test eax, eax
je 0x14037df90
movzx edx, word [rsi + 0x5e]
add rdi, 1
movzx eax, dx
cmp eax, edi
jg 0x14037debb
mov eax, dword [r13]
add rbx, 1
cmp eax, ebx
jg 0x14037dc50
jmp 0x14037dc9b
xor ebp, ebp
test byte [r13 + 0x40], 2
jne 0x14037de46
add dword [rsp + 0x28], 1
test ebp, ebp
mov rdi, qword [rdi + 0x28]
jne 0x14037de46
test rdi, rdi
jne 0x14037db90
jmp 0x14037de46
cmp r15d, dword [r12 + 0x2c]
jne 0x14037de92
movzx r10d, word [r12 + 0x30]
test r10w, r10w
js 0x14037df90
movzx r11d, word [rsi + 0x5e]
test r11w, r11w
je 0x14037dc93
mov rdx, qword [rsi + 8]
sub r11d, 1
lea r11, [rdx + r11*2 + 2]
jmp 0x14037df85
add rdx, 2
cmp r11, rdx
je 0x14037dc93
cmp r10w, word [rdx]
jne 0x14037df78
nop dword [rax + rax]
mov rdi, rsi
mov rbx, qword [rsp + 0x38]
movzx eax, byte [rdi + 0x64]
mov r13, qword [rsp + 0x40]
movzx esi, word [rsp + 0x48]
mov r14, qword [rsp + 0x1b0]
mov edx, eax
not edx
and edx, 3
je 0x14037dcd9
test al, 0x20
je 0x14037e302
mov dword [rbx + 0x38], 0x240
xor r15d, r15d
movzx ebp, byte [rsp + 0x28]
mov byte [rbx + 0x11], bpl
mov rcx, qword [rsp + 0x30]
movsx edx, word [rdi + 0x5c]
movsx ecx, word [rcx + 0x3c]
mov eax, edx
shl eax, 4
sub eax, edx
cdq
idiv ecx
test r15, r15
lea eax, [rsi + rax + 1]
mov word [rbx + 0x14], ax
jne 0x14037e128
mov rcx, qword [rsp + 0x20]
movsx r8d, si
mov rdx, rbx
call fcn.140382760
test byte [r13 + 0x3c], 0x10
je 0x14037dd29
cmp qword [rdi + 0x50], 0
je 0x14037dd29
mov word [rbx + 0x16], si
jmp 0x14037dd42
mov eax, edx
not eax
test al, 3
je 0x14037dcde
and edx, 0x20
jne 0x14037dcca
xor r9d, r9d
movabs rax, 0x8000000000000000
mov r15, qword [r13 + 0x50]
and r15, qword [rdi + 0x90]
mov dword [rbx + 0x38], 0x200
cmp r15, rax
je 0x14037e316
movzx eax, byte [rdi + 0x65]
and eax, 0xc
cmp al, 8
je 0x14037e30d
test r15, r15
jne 0x14037e08b
mov dword [rbx + 0x38], 0x240
xor r15d, r15d
test r9d, r9d
jne 0x14037dfcd
mov rax, qword [rsp + 0x30]
test byte [rax + 0x30], 0x80
jne 0x14037dfd2
cmp qword [rdi + 0x48], 0
jne 0x14037dfd2
test byte [r13 + 0x40], 2
jne 0x14037dfd2
test r15, r15
jne 0x14037dd42
test byte [rdi + 0x64], 4
jne 0x14037dd42
movsx edx, word [rdi + 0x5c]
movsx ecx, word [rax + 0x3c]
cmp dx, cx
jge 0x14037dd42
mov rax, qword [rsp + 0x50]
test byte [rax + 0x3c], 4
jne 0x14037dd42
cmp byte [0x140398107], 0
je 0x14037dd42
mov rax, qword [rax]
mov rax, qword [rax]
test byte [rax + 0x60], 0x20
jne 0x14037dd42
mov eax, edx
mov byte [rbx + 0x11], 0
shl eax, 4
sub eax, edx
cdq
idiv ecx
lea eax, [rsi + rax + 1]
mov word [rbx + 0x14], ax
jmp 0x14037dffe
mov ecx, dword [r13 + 0x44]
lea ebp, [rsi + 0x10]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x50]
mov edx, dword [rcx + 0x84]
test edx, edx
jle 0x14037e25e
lea r12, [rsp + 0x70]
xor r9d, r9d
xor r10d, r10d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r13
mov rbx, r12
mov r13, rdi
mov edi, r10d
mov word [rsp + 0x5e], si
lea r15, [rsp + 0x80]
mov rsi, rcx
mov qword [rsp + 0x1b0], r14
mov r14, r9
jmp 0x14037e1aa
lea eax, [rbp - 1]
sub ebp, 0x14
test byte [r12 + 0x14], 0x82
cmove ebp, eax
add edi, 1
add r14, 0x38
cmp dword [rsi + 0x84], edi
jle 0x14037e240
mov r12, qword [rsi + 0x90]
mov eax, dword [rsp + 0x38]
add r12, r14
mov rdx, qword [r12]
mov dword [rsp + 0x78], eax
lea rax, [0x140249b70]
mov qword [r15], 0
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0
test rdx, rdx
mov qword [r15 + 0x20], 0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa8], rbx
je 0x14037e213
mov rcx, r15
call fcn.14037ba20
cmp word [rsp + 0xa4], 0
jne 0x14037e240
movzx eax, word [r12 + 0x10]
test ax, ax
jg 0x14037e188
add ebp, eax
add edi, 1
add r14, 0x38
cmp dword [rsi + 0x84], edi
jg 0x14037e1aa
nop word [rax + rax]
mov rbx, qword [rsp + 0x40]
mov rdi, r13
movzx esi, word [rsp + 0x5e]
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x1b0]
movzx eax, word [rbx + 0x14]
cmp bp, ax
movsx edx, bp
movsx ecx, ax
jg 0x14037e35b
lea r9d, [rdx + 0x31]
mov ebp, eax
cmp r9d, ecx
jl 0x14037e296
lea eax, [rdx + 0x1f]
cmp eax, ecx
jl 0x14037e57b
mov eax, ecx
sub eax, edx
lea rdx, str._n_n_t_t_b_b_a_a_a
cdqe
movzx eax, byte [rdx + rax]
add ebp, eax
mov word [rbx + 0x14], bp
jmp 0x14037dffe
mov rcx, qword [rdx + 0x10]
cmp rdx, qword [rcx + 0x1f0]
jae 0x14037e2c6
cmp rdx, qword [rcx + 0x1e0]
jae 0x14037e54f
cmp rdx, qword [rcx + 0x1e8]
jae 0x14037e625
cmp qword [rcx + 0x308], 0
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
je 0x14037e538
call fcn.1402a55a0
mov rax, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
jmp 0x14037dded
mov rdx, rax
mov rcx, r8
call fcn.1402a55a0
jmp 0x14037de2b
mov r9d, 1
jmp 0x14037e048
test r15, r15
je 0x14037e081
mov rax, qword [rsp + 0x50]
mov rdx, rdi
mov dword [rsp + 0x38], r9d
mov r8d, dword [r13 + 0x44]
mov rcx, qword [rax + 0x20]
call fcn.14037d220
mov r9d, dword [rsp + 0x38]
test eax, eax
je 0x14037e08b
or dword [rbx + 0x38], eax
jmp 0x14037e088
mov rdx, qword [r8 + 0x1d8]
mov qword [rax], rdx
mov qword [r8 + 0x1d8], rax
jmp 0x14037de2b
lea eax, [rcx + 0x31]
cmp eax, edx
jl 0x14037e296
lea eax, [rcx + 0x1f]
cmp eax, edx
jl 0x14037e57b
mov eax, edx
lea rdx, str._n_n_t_t_b_b_a_a_a
sub eax, ecx
cdqe
movzx eax, byte [rdx + rax]
add ebp, eax
mov word [rbx + 0x14], bp
jmp 0x14037dffe
test byte [r11 + 0x30], 0x80
je 0x14037e587
mov rdi, qword [r11 + 0x10]
movzx r8d, word [r11 + 0x3a]
test rdi, rdi
setne r12b
xor ebp, ebp
cmp qword [r14 + 0x18], 0
jne 0x14037db6f
movzx edx, word [r10 + 0x3c]
and dx, 0x1020
jne 0x14037db6f
mov rcx, qword [r10]
mov rcx, qword [rcx]
test byte [rcx + 0x31], 0x80
je 0x14037db6f
test al, 3
jne 0x14037db6f
test byte [r11 + 0x30], 0x80
jne 0x14037db6f
test al, 0x48
jne 0x14037db6f
test byte [r13 + 0x3c], 0x10
jne 0x14037db6f
mov rax, qword [rsp + 0x20]
xor r9d, r9d
mov rsi, qword [rax + 0x20]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
add rax, rsi
cmp r8w, 0xa
mov qword [rsp + 0x28], rax
jg 0x14037e63b
mov rax, qword [rsp + 0x28]
cmp rsi, rax
jae 0x14037e659
lea eax, [r8 + rdx]
mov rbp, rsi
mov esi, r9d
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x30], ax
sub eax, 0x19
movd xmm6, dword [0x1404757f0]
mov rdi, r11
mov word [rsp + 0x38], ax
mov qword [rsp + 0x40], r10
jmp 0x14037e51b
xor r8d, r8d
mov rdx, r13
mov rcx, rbp
call fcn.14036e4d0
mov edx, 1
test eax, eax
je 0x14037e501
mov rax, qword [rbx + 0x48]
mov r10d, 1
movd dword [rbx + 0x3c], xmm6
mov word [rbx + 0x18], r10w
mov qword [rbx + 0x20], 0
mov qword [rax], rbp
cmp byte [rdi + 0x3f], 2
je 0x14037e64f
test byte [rdi + 0x31], 0x40
jne 0x14037e64f
movzx eax, word [rsp + 0x30]
add eax, 0x1c
xor edx, edx
test ax, ax
mov r9d, 0x2b
cmovs eax, edx
mov word [rbx + 0x16], r9w
movsx ecx, si
mov edx, 0x2b
mov word [rbx + 0x12], ax
call fcn.140312b50
or r15, qword [rsp + 0x1b8]
mov rdx, rbx
mov rcx, r14
mov word [rbx + 0x14], ax
mov dword [rbx + 0x38], 0x4000
mov qword [rbx], r15
call fcn.1403822a0
test eax, eax
sete dl
mov rcx, qword [rsp + 0x28]
add rbp, 0x38
cmp rbp, rcx
jae 0x14037e660
test dl, dl
je 0x14037e660
mov r15, qword [rbp + 0x28]
mov rax, r15
and rax, qword [rbx + 8]
je 0x14037e461
mov edx, 1
xor eax, eax
jmp 0x14037e501
mov rcx, rdx
call fcn.14035ad80
mov r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
jmp 0x14037dded
mov r9, qword [rcx + 0x1d8]
mov qword [rdx], r9
mov qword [rcx + 0x1d8], rdx
jmp 0x14037dded
mov rdx, qword [r8 + 0x1c8]
mov qword [rax], rdx
mov qword [r8 + 0x1c8], rax
jmp 0x14037de2b
add ebp, 1
mov word [rbx + 0x14], bp
jmp 0x14037dffe
lea rdx, [rsp + 0xb0]
xor eax, eax
mov ecx, 0x13
mov rdi, rdx
mov esi, 3
rep stosq qword [rdi], rax
lea rax, [rsp + 0x6a]
mov byte [rsp + 0x112], 5
xor edi, edi
movq xmm0, rax
mov byte [rsp + 0x114], 3
lea rax, [rsp + 0x6c]
mov qword [rsp + 0xc8], r11
movq xmm1, rax
movzx eax, byte [r13 + 0x40]
mov word [rsp + 0x6e], di
mov dword [rsp + 0x10e], 0x10001
movzx r8d, word [r11 + 0x3a]
punpcklqdq xmm0, xmm1
mov word [rsp + 0x10c], si
movups xmmword [rsp + 0xb8], xmm0
test al, 1
mov word [rsp + 0x6c], r8w
jne 0x14037e617
mov rcx, qword [r13 + 0x20]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0xd8], rcx
mov r12d, 1
mov rdi, rdx
jmp 0x14037db62
mov r9, qword [rcx + 0x1c8]
mov qword [rdx], r9
mov qword [rcx + 0x1c8], rdx
jmp 0x14037dded
movsx rcx, r8w
call fcn.140312af0
lea edx, [rax - 0x21]
mov r9d, edx
jmp 0x14037e422
movzx eax, word [rsp + 0x38]
jmp 0x14037e4b7
xor ebp, ebp
jmp 0x14037db6f
mov r11, rdi
mov r10, qword [rsp + 0x40]
mov ebp, eax
and r12d, edx
mov rdi, qword [rsp + 0x48]
jmp 0x14037db6f