Function at 0x14039ec00
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 rdi, qword [rcx + 8]
mov r15, qword [rcx + 0x10]
mov rbx, qword [rcx]
cmp dword [rdi + 0x84], 0
mov rsi, rdi
mov rbp, rcx
je 0x14039ef0c
mov eax, dword [rdi + 0x64]
xor esi, esi
mov dword [rsp + 0x38], eax
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14039ec42
mov esi, dword [rax]
mov r13d, dword [rbx + 0x44]
mov rcx, rbx
lea eax, [r13 - 1]
sub r13d, 2
mov dword [rbx + 0x44], r13d
mov dword [rsp + 0x3c], eax
call fcn.14035cd70
mov dword [rsp + 0x40], eax
call fcn.14035cd70
mov r12d, eax
test esi, esi
je 0x14039ec84
mov edx, esi
call fcn.14035cd30
mov dword [rsp + 0x44], eax
call fcn.14035cd30
mov dword [rsp + 0x48], eax
jmp 0x14039ec8e
xor eax, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], eax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rdi + 0x58]
mov rcx, r15
mov r14, rdi
mov edx, 0x87
call fcn.1403746c0
mov edx, dword [rdi + 0x58]
mov r8d, dword [rsp + 0x44]
mov rcx, rbp
call fcn.14039eb90
mov r9d, dword [r14 + 0x5c]
xor r8d, r8d
mov edx, 0x4b
mov rcx, r15
call fcn.1403746c0
mov r14, qword [r14 + 0x40]
test r14, r14
jne 0x14039ecb7
mov r8d, dword [rsp + 0x38]
mov r9d, r13d
mov edx, 0x17
mov rcx, r15
mov eax, dword [rdi + 0x84]
mov dword [rsp + 0x20], eax
call fcn.1403746e0
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov rcx, r15
mov eax, dword [r15 + 0x90]
mov edx, 0x87
mov dword [rsp + 0x4c], eax
call fcn.1403746c0
mov r9d, r13d
mov edx, 0x36
mov rcx, r15
mov r8d, dword [rdi + 0x88]
mov dword [rsp + 0x20], r12d
call fcn.1403746e0
mov al, byte [rdi + 0x24]
cmp al, 0x55
jne 0x14039ed57
mov dword [rsp + 0x20], r12d
mov r9d, dword [rsp + 0x3c]
mov edx, 0x35
mov rcx, r15
mov r8d, dword [rsp + 0x40]
call fcn.1403746e0
jmp 0x14039ee2d
cmp al, 0x42
je 0x14039ee2d
mov r14, qword [rdi + 0x18]
test r14, r14
je 0x14039ed7c
mov rdx, r14
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140360930
mov r14, rax
xor r13d, r13d
cmp byte [rdi + 0x24], 0x5e
jne 0x14039eda2
mov dword [rsp + 0x20], r12d
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, r15
mov edx, 0x35
call fcn.1403746e0
mov r13d, eax
test r14, r14
je 0x14039ee08
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x38]
mov rcx, rbp
call fcn.14039eb90
mov dword [rsp + 0x20], esi
mov r9d, dword [rsp + 0x44]
mov rcx, r15
mov r8d, dword [rsp + 0x48]
mov edx, 0x5a
call fcn.1403746e0
mov rdx, r14
mov rcx, r15
mov r8d, 0xfffffff8
call fcn.140374990
mov eax, dword [r15 + 0x90]
mov r9d, dword [rsp + 0x3c]
mov rcx, r15
mov edx, 0xe
lea r8d, [rax + 1]
mov dword [rsp + 0x20], r8d
call fcn.1403746e0
jmp 0x14039ee1d
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
mov edx, 9
mov rcx, r15
call fcn.1403746c0
test r13d, r13d
je 0x14039ee2d
mov edx, r13d
mov rcx, r15
call fcn.14037bea0
mov eax, dword [rbp + 0x20]
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
mov rdx, rdi
mov dword [rsp + 0x20], eax
mov rcx, qword [rbp]
call fcn.14039dea0
mov edx, dword [rsp + 0x3c]
mov rcx, r15
call fcn.14037d8d0
mov r8d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x4c]
mov rcx, r15
mov edx, 0x27
call fcn.1403746c0
mov eax, dword [rsp + 0x4c]
mov rcx, r15
lea edx, [rax - 1]
call fcn.14037bea0
mov eax, dword [rsp + 0x4c]
lea edx, [rax + 1]
call fcn.14037bea0
mov edx, r12d
mov rcx, rbx
call fcn.14036b270
mov edx, dword [rsp + 0x40]
call fcn.14036b270
test esi, esi
je 0x14039eeb6
mov edx, dword [rsp + 0x48]
mov r8d, esi
call fcn.14036b250
mov edx, dword [rsp + 0x44]
mov r8d, esi
call fcn.14036b250
mov edx, 1
mov rcx, rbp
call fcn.14039dd60
jmp 0x14039f160
mov r13, qword [rsi + 0x50]
lea rdx, str.first_value
mov rax, qword [r13 + 0x38]
cmp rax, rdx
je 0x14039ef16
lea rcx, str.nth_value
cmp rax, rcx
je 0x14039ef16
lea rdx, [0x140507900]
cmp rax, rdx
je 0x14039effe
lea rdx, str.lead
cmp rax, rdx
je 0x14039effe
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x14039eec8
jmp 0x14039f160
mov eax, dword [rsi + 0x64]
mov rcx, rbx
xor r8d, r8d
mov edx, 0x4b
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x44]
lea r14d, [rax - 1]
mov dword [rbx + 0x44], r14d
call fcn.14035cd70
mov r9d, dword [rsi + 0x60]
mov rcx, r15
mov r12d, eax
call fcn.1403746c0
lea rax, str.nth_value
cmp qword [r13 + 0x38], rax
jne 0x14039ef84
mov eax, dword [rsi + 0x7c]
mov r8d, dword [rdi + 0x58]
mov dword [rsp + 0x20], r12d
mov rcx, r15
mov edx, 0x5e
lea r9d, [rax + 1]
call fcn.1403746e0
mov r8d, 2
mov edx, r12d
mov rcx, rbx
call fcn.14039e240
jmp 0x14039ef9a
mov r9d, r12d
mov r8d, 1
mov edx, 0x47
mov rcx, r15
call fcn.1403746c0
mov r9d, dword [rsi + 0x68]
mov dword [rsp + 0x20], r12d
mov r8d, r12d
mov rcx, r15
mov edx, 0x6a
call fcn.1403746e0
mov eax, dword [rsi + 0x68]
mov dword [rsp + 0x20], r12d
mov r9d, r14d
mov edx, 0x36
mov rcx, r15
lea r8d, [rax + 1]
call fcn.1403746e0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov rcx, r15
mov r8d, dword [rsp + 0x38]
mov edx, 0x1e
call fcn.1403746e0
mov eax, dword [rsi + 0x60]
mov r9d, dword [rsi + 0x7c]
mov r8d, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x14039f138
mov rax, qword [rsi + 0x70]
mov rcx, rbx
mov rax, qword [rax + 0x20]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsi + 0x64]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x44]
lea r14d, [rax - 1]
mov dword [rbx + 0x44], r14d
call fcn.14035cd70
cmp dword [rsp + 0x3c], 2
mov r9d, dword [rsi + 0x60]
mov r12d, eax
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x38], eax
jg 0x14039f04d
xor r8d, r8d
mov edx, 0x4b
mov rcx, r15
call fcn.1403746c0
jmp 0x14039f06b
mov eax, dword [rsi + 0x7c]
mov dword [rsp + 0x20], r9d
mov edx, 0x5e
mov rcx, r15
mov r8d, dword [rsp + 0x38]
lea r9d, [rax + 2]
call fcn.1403746e0
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov edx, 0x87
mov rcx, r15
call fcn.1403746c0
cmp dword [rsp + 0x3c], 1
lea rax, str.lead
jg 0x14039f0af
cmp qword [r13 + 0x38], rax
mov r8d, r12d
mov edx, 0x56
mov rcx, r15
sete al
movzx eax, al
lea r9d, [rax + rax - 1]
call fcn.1403746c0
jmp 0x14039f10e
xor r10d, r10d
cmp qword [r13 + 0x38], rax
mov rcx, rbx
mov edx, 0x5e
setne r10b
add r10d, 0x6a
mov dword [rsp + 0x3c], r10d
call fcn.14035cd70
mov r8d, dword [rsp + 0x38]
mov rcx, r15
mov r13d, eax
mov eax, dword [rsi + 0x7c]
mov dword [rsp + 0x20], r13d
lea r9d, [rax + 1]
call fcn.1403746e0
mov dword [rsp + 0x20], r12d
mov rcx, r15
mov r9d, r12d
mov edx, dword [rsp + 0x3c]
mov r8d, r13d
call fcn.1403746e0
mov edx, r13d
mov rcx, rbx
call fcn.14036b270
mov dword [rsp + 0x20], r12d
mov r8d, dword [rsp + 0x40]
mov r9d, r14d
mov rcx, r15
mov edx, 0x1e
call fcn.1403746e0
mov eax, dword [rsi + 0x60]
mov r9d, dword [rsi + 0x7c]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov rcx, r15
mov edx, 0x5e
call fcn.1403746e0
mov edx, r14d
mov rcx, r15
call fcn.14037d8d0
mov edx, r12d
mov rcx, rbx
call fcn.14036b270
jmp 0x14039ef08
mov r9d, dword [rbp + 0x18]
mov r8d, dword [rbp + 0x1c]
mov edx, 0xa
mov rcx, r15
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1403746c0