Function at 0x14038b070
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, 0x58
mov rax, qword [rcx + 8]
mov r12, qword [rcx + 0x10]
mov rsi, qword [rcx]
mov edx, dword [rax + 0x84]
mov rbx, rax
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x30], rax
test edx, edx
je 0x14038b0e9
jmp 0x14038b4c0
lea rdi, str.first_value
cmp rax, rdi
je 0x14038b0fd
lea rdi, [0x140769cae]
cmp rax, rdi
je 0x14038b268
lea rdx, str.lead
cmp rax, rdx
je 0x14038b268
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x14038b22b
mov r13, qword [rbx + 0x50]
lea rdi, str.nth_value
mov rax, qword [r13 + 0x38]
cmp rax, rdi
jne 0x14038b0b0
mov ebp, dword [rsi + 0x44]
movzx eax, byte [rsi + 0x1f]
mov r14d, dword [rbx + 0x64]
lea r15d, [rbp - 1]
mov dword [rsi + 0x44], r15d
test al, al
je 0x14038b390
sub eax, 1
mov byte [rsi + 0x1f], al
movzx eax, al
mov edi, dword [rsi + rax*4 + 0xd0]
mov r9d, dword [rbx + 0x60]
xor r8d, r8d
mov edx, 0x48
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.140322f70
lea rax, str.nth_value
cmp qword [r13 + 0x38], rax
je 0x14038b3a0
mov dword [rsp + 0x20], 0
mov r9d, edi
mov edx, 0x45
mov rcx, r12
mov r8d, 1
call fcn.140322f70
mov r9d, dword [rbx + 0x68]
mov dword [rsp + 0x20], edi
mov r8d, edi
mov edx, 0x6a
mov rcx, r12
neg ebp
call fcn.140322f70
mov eax, dword [rbx + 0x68]
mov dword [rsp + 0x20], edi
mov r9d, r15d
mov edx, 0x36
mov rcx, r12
lea r8d, [rax + 1]
call fcn.140322f70
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r14d
mov edx, 0x1f
mov rcx, r12
call fcn.140322f70
mov eax, dword [rbx + 0x60]
mov r9d, dword [rbx + 0x7c]
mov rcx, r12
mov r8d, r14d
mov edx, 0x5b
mov dword [rsp + 0x20], eax
call fcn.140322f70
mov rcx, qword [r12 + 0x18]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x14038b376
mov edx, dword [r12 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd rbp, ebp
mov dword [rax + rbp*4], edx
test edi, edi
je 0x14038b0dc
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14038b0dc
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov rbx, qword [rbx + 0x40]
mov dword [rsi + rax*4 + 0xd0], edi
test rbx, rbx
jne 0x14038b0e9
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x20], 0
mov edx, 0xc
mov rcx, r12
mov r9d, dword [rax + 0x18]
mov r8d, dword [rax + 0x1c]
call fcn.140322f70
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rbx + 0x70]
mov r14d, dword [rbx + 0x64]
mov rax, qword [rax + 0x20]
mov r11d, dword [rax]
mov eax, dword [rsi + 0x44]
lea r15d, [rax - 1]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsi + 0x1f]
mov dword [rsi + 0x44], r15d
test al, al
je 0x14038b4b0
sub eax, 1
mov byte [rsi + 0x1f], al
movzx eax, al
mov edi, dword [rsi + rax*4 + 0xd0]
mov rax, qword [rsp + 0x30]
cmp r11d, 2
mov dword [rsp + 0x40], r11d
mov r9d, dword [rbx + 0x60]
mov ebp, dword [rax + 0x58]
jg 0x14038b3e0
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x48
mov rcx, r12
call fcn.140322f70
mov r9d, edi
mov r8d, ebp
mov edx, 0x83
mov dword [rsp + 0x20], 0
mov rcx, r12
call fcn.140322f70
mov r11d, dword [rsp + 0x40]
cmp r11d, 2
je 0x14038b417
lea rax, str.lead
cmp qword [r13 + 0x38], rax
mov r8d, edi
mov edx, 0x53
sete al
mov dword [rsp + 0x20], 0
mov rcx, r12
movzx eax, al
lea r9d, [rax + rax - 1]
call fcn.140322f70
mov dword [rsp + 0x20], edi
mov r9d, r15d
mov r8d, r14d
mov edx, 0x1f
mov rcx, r12
call fcn.140322f70
mov eax, dword [rbx + 0x60]
mov r9d, dword [rbx + 0x7c]
mov rcx, r12
mov r8d, r14d
mov edx, 0x5b
mov dword [rsp + 0x20], eax
call fcn.140322f70
mov rcx, qword [r12 + 0x18]
mov ebp, dword [rsp + 0x3c]
mov eax, dword [rcx + 0x44]
neg ebp
add eax, dword [rcx + 0x48]
jns 0x14038b1eb
mov r8d, ebp
mov rdx, r12
call fcn.14031ccb0
jmp 0x14038b1fd
mov eax, dword [rsi + 0x38]
lea edi, [rax + 1]
mov dword [rsi + 0x38], edi
jmp 0x14038b128
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 0x7c]
mov edx, 0x5b
mov r8d, dword [rcx + 0x58]
mov dword [rsp + 0x20], edi
mov rcx, r12
lea r9d, [rax + 1]
call fcn.140322f70
mov r8d, 2
mov edx, edi
mov rcx, rsi
call fcn.1403258c0
jmp 0x14038b173
mov eax, dword [rbx + 0x7c]
mov dword [rsp + 0x20], r9d
mov r8d, ebp
mov edx, 0x5b
mov rcx, r12
lea r9d, [rax + 2]
call fcn.140322f70
mov r9d, edi
mov r8d, ebp
mov edx, 0x83
mov dword [rsp + 0x20], 0
mov rcx, r12
call fcn.140322f70
lea rax, str.lead
xor r11d, r11d
cmp qword [r13 + 0x38], rax
movzx eax, byte [rsi + 0x1f]
setne r11b
add r11d, 0x6a
test al, al
je 0x14038b888
sub eax, 1
mov byte [rsi + 0x1f], al
movzx eax, al
mov r13d, dword [rsi + rax*4 + 0xd0]
mov eax, dword [rbx + 0x7c]
mov dword [rsp + 0x20], r13d
mov r8d, ebp
mov edx, 0x5b
mov rcx, r12
mov dword [rsp + 0x40], r11d
lea r9d, [rax + 1]
call fcn.140322f70
mov r11d, dword [rsp + 0x40]
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], edi
mov rcx, r12
mov edx, r11d
call fcn.140322f70
test r13d, r13d
je 0x14038b32d
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14038b32d
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xd0], r13d
jmp 0x14038b32d
mov eax, dword [rsi + 0x38]
lea edi, [rax + 1]
mov dword [rsi + 0x38], edi
jmp 0x14038b2a2
mov ebp, dword [rax + 0x64]
mov rax, qword [rax + 0x18]
xor edi, edi
test rax, rax
je 0x14038b4d0
mov edi, dword [rax]
mov eax, dword [rsi + 0x44]
lea ebx, [rax - 1]
lea r13d, [rax - 2]
mov dword [rsp + 0x44], eax
movzx eax, byte [rsi + 0x1f]
mov dword [rsp + 0x48], ebx
mov dword [rsi + 0x44], r13d
test al, al
je 0x14038b8b8
lea edx, [rax - 1]
movzx ecx, dl
mov byte [rsi + 0x1f], dl
mov r15d, dword [rsi + rcx*4 + 0xd0]
test dl, dl
je 0x14038baab
sub eax, 2
mov byte [rsi + 0x1f], al
movzx eax, al
mov ebx, dword [rsi + rax*4 + 0xd0]
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0
test edi, edi
jne 0x14038b8f0
mov r14, qword [rsp + 0x30]
mov r9d, r15d
mov rcx, r12
mov edx, 0x83
mov r8d, dword [r14 + 0x58]
mov dword [rsp + 0x20], 0
call fcn.140322f70
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [r14 + 0x58]
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
call fcn.1403234d0
jmp 0x14038b5b6
lea edx, [rax + 1]
mov dword [r12 + 0x90], edx
lea rdx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0x48
mov r14, qword [r14 + 0x40]
mov dword [rax + 8], r9d
mov dword [rax + 0xc], 0
mov qword [rax + 0x10], 0
test r14, r14
je 0x14038b5ed
mov r9d, dword [r14 + 0x5c]
movsxd rax, dword [r12 + 0x90]
cmp eax, dword [r12 + 0x94]
jl 0x14038b578
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x48
mov rcx, r12
call fcn.140322ee0
mov r14, qword [r14 + 0x40]
test r14, r14
jne 0x14038b5b6
mov rax, qword [rsp + 0x30]
mov r9d, r13d
mov r8d, ebp
mov edx, 0x18
mov rcx, r12
mov eax, dword [rax + 0x84]
mov dword [rsp + 0x20], eax
call fcn.140322f70
mov r9d, ebx
mov r8d, ebp
mov edx, 0x83
mov r14d, dword [r12 + 0x90]
mov dword [rsp + 0x20], 0
mov rcx, r12
call fcn.140322f70
mov rax, qword [rsp + 0x30]
mov r9d, r13d
mov rcx, r12
mov edx, 0x36
mov r8d, dword [rax + 0x88]
mov dword [rsp + 0x20], ebx
call fcn.140322f70
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x24]
cmp al, 0x55
je 0x14038b950
cmp al, 0x42
je 0x14038b770
mov rcx, qword [rsp + 0x30]
mov r13, qword [rcx + 0x18]
test r13, r13
je 0x14038b920
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call fcn.14033dbf0
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x4c], 0
mov r13, rax
cmp byte [rcx + 0x24], 0x5e
je 0x14038b9a1
test r13, r13
je 0x14038ba89
mov rax, qword [rsp + 0xa0]
mov r9d, dword [rsp + 0x40]
mov r8d, ebp
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
call fcn.1403234d0
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0x3c]
mov rcx, r12
mov r8d, dword [rsp + 0x40]
mov edx, 0x57
call fcn.140322f70
mov rax, qword [r12]
cmp byte [rax + 0x63], 0
jne 0x14038b986
movsxd rax, dword [r12 + 0x90]
lea rdx, [rax + rax*2]
mov r8, rax
mov rax, qword [r12 + 0x88]
lea rax, [rax + rdx*8 - 0x18]
mov byte [rax + 1], 0xf7
mov qword [rax + 0x10], r13
add r8d, 1
mov r9d, dword [rsp + 0x48]
mov edx, 0x10
mov rcx, r12
mov dword [rsp + 0x20], r8d
call fcn.140322f70
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x14038b770
mov edx, dword [r12 + 0x90]
lea eax, [rdx - 1]
cmovns eax, ecx
mov rcx, qword [r12]
cmp byte [rcx + 0x63], 0
mov r10d, eax
lea rax, [0x1407dad80]
je 0x14038b96e
mov dword [rax + 8], edx
nop word cs:[rax + rax]
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, ebp
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.14038a890
mov rcx, qword [r12 + 0x18]
mov r8d, dword [rsp + 0x44]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x14038b910
mov edx, dword [r12 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov r8d, ebp
mov edx, 5
mov rcx, r12
mov r9d, r14d
mov dword [rsp + 0x20], 0
call fcn.140322f70
mov edx, dword [r12 + 0x90]
mov rcx, qword [r12]
mov eax, r14d
sub eax, 1
lea r8d, [rdx - 1]
cmovs eax, r8d
cmp byte [rcx + 0x63], 0
jne 0x14038b8a0
add r14d, 1
mov rcx, qword [r12 + 0x88]
cdqe
cmovs r14d, r8d
lea rax, [rax + rax*2]
mov dword [rcx + rax*8 + 8], edx
movsxd r14, r14d
lea rax, [r14 + r14*2]
lea rax, [rcx + rax*8]
mov dword [rax + 8], edx
test ebx, ebx
je 0x14038b846
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14038b861
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xd0], ebx
test r15d, r15d
je 0x14038b861
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14038b861
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xd0], r15d
test edi, edi
jne 0x14038b8d0
mov rax, qword [rsp + 0xa0]
mov r8d, 1
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
call fcn.140323160
jmp 0x14038b22b
mov eax, dword [rsi + 0x38]
lea r13d, [rax + 1]
mov dword [rsi + 0x38], r13d
jmp 0x14038b44a
mov dword [0x1407dad88], edx
lea rax, [0x1407dad80]
jmp 0x14038b82a
mov eax, dword [rsi + 0x38]
lea r15d, [rax + 1]
mov ebx, r15d
add ebx, 1
mov dword [rsi + 0x38], ebx
jmp 0x14038b51b
cmp edi, 1
je 0x14038b9fe
cmp edi, dword [rsi + 0x28]
jle 0x14038b865
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x28], edi
mov dword [rsi + 0x2c], eax
jmp 0x14038b865
mov edx, edi
mov rcx, rsi
call fcn.14030d180
mov edx, edi
mov dword [rsp + 0x3c], eax
call fcn.14030d180
mov dword [rsp + 0x40], eax
jmp 0x14038b533
mov rdx, r12
call fcn.14031ccb0
jmp 0x14038b7c6
cmp al, 0x5e
je 0x14038b9a1
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov edx, 0xb
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.140322f70
jmp 0x14038b770
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x48]
mov r8d, r15d
mov rcx, r12
mov edx, 0x35
call fcn.140322f70
jmp 0x14038b770
movsxd rax, r10d
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rcx*8]
jmp 0x14038b763
cmp qword [rax + 0x2d0], 0
je 0x14038ba6d
mov r8d, dword [r12 + 0x90]
jmp 0x14038b71a
mov eax, dword [r12 + 0x90]
mov dword [rsp + 0x4c], eax
cmp eax, dword [r12 + 0x94]
jge 0x14038ba4d
mov ecx, dword [rsp + 0x4c]
lea eax, [rcx + 1]
mov dword [r12 + 0x90], eax
movsxd rax, ecx
lea rdx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r15d
mov dword [rax + 8], 0
mov dword [rax + 0xc], ebx
mov qword [rax + 0x10], 0
mov dword [rax], 0x35
jmp 0x14038b6a8
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x14038ba1f
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14038b865
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xd0], ebx
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14038b865
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14038b865
mov ebx, dword [rsp + 0x3c]
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xd0], ebx
jmp 0x14038b865
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r15d
mov edx, 0x35
mov rcx, r12
call fcn.140322ee0
mov dword [rsp + 0x4c], eax
jmp 0x14038b6a8
sub dword [r13], 1
jne 0x14038b994
mov rcx, qword [r13 + 0x10]
mov rdx, r13
call fcn.140314ee0
jmp 0x14038b994
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov edx, 0xb
mov rcx, r12
mov dword [rsp + 0x20], 0
call fcn.140322f70
jmp 0x14038b735
mov ebx, dword [rsi + 0x38]
jmp 0x14038b8c2