Function at 0x1402dc970
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 rbp, rcx
mov rsi, rdi
je 0x1402dcc7c
mov eax, dword [rdi + 0x64]
xor esi, esi
mov dword [rsp + 0x38], eax
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1402dc9b2
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.1402987f0
mov dword [rsp + 0x40], eax
call fcn.1402987f0
test esi, esi
mov r12d, eax
je 0x1402dc9f4
mov edx, esi
call fcn.1402987b0
mov dword [rsp + 0x44], eax
call fcn.1402987b0
mov dword [rsp + 0x48], eax
jmp 0x1402dc9fe
xor eax, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], eax
mov r9d, dword [rsp + 0x40]
mov edx, 0x87
mov rcx, r15
mov r14, rdi
mov r8d, dword [rdi + 0x58]
call fcn.1402b09e0
mov edx, dword [rdi + 0x58]
mov rcx, rbp
mov r8d, dword [rsp + 0x44]
call fcn.1402dc900
mov r9d, dword [r14 + 0x5c]
xor r8d, r8d
mov edx, 0x4b
mov rcx, r15
call fcn.1402b09e0
mov r14, qword [r14 + 0x40]
test r14, r14
jne 0x1402dca27
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.1402b0a00
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.1402b09e0
mov r9d, r13d
mov edx, 0x36
mov rcx, r15
mov r8d, dword [rdi + 0x88]
mov dword [rsp + 0x20], r12d
call fcn.1402b0a00
mov al, byte [rdi + 0x24]
cmp al, 0x55
jne 0x1402dcac7
mov r9d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], r12d
mov edx, 0x35
mov rcx, r15
mov r8d, dword [rsp + 0x40]
call fcn.1402b0a00
jmp 0x1402dcb9d
cmp al, 0x42
je 0x1402dcb9d
mov r14, qword [rdi + 0x18]
test r14, r14
je 0x1402dcaec
mov rdx, r14
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.14029c310
mov r14, rax
xor r13d, r13d
cmp byte [rdi + 0x24], 0x5e
jne 0x1402dcb12
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov rcx, r15
mov edx, 0x35
call fcn.1402b0a00
mov r13d, eax
test r14, r14
je 0x1402dcb78
mov r8d, dword [rsp + 0x48]
mov rcx, rbp
mov edx, dword [rsp + 0x38]
call fcn.1402dc900
mov r9d, dword [rsp + 0x44]
mov rcx, r15
mov dword [rsp + 0x20], esi
mov r8d, dword [rsp + 0x48]
mov edx, 0x5a
call fcn.1402b0a00
mov rdx, r14
mov rcx, r15
mov r8d, 0xfffffff8
call fcn.1402b0ce0
mov eax, dword [r15 + 0x90]
mov edx, 0xe
mov rcx, r15
mov r9d, dword [rsp + 0x3c]
lea r8d, [rax + 1]
mov dword [rsp + 0x20], r8d
call fcn.1402b0a00
jmp 0x1402dcb8d
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
mov edx, 9
mov rcx, r15
call fcn.1402b09e0
test r13d, r13d
je 0x1402dcb9d
mov edx, r13d
mov rcx, r15
call fcn.1402b8500
mov eax, dword [rbp + 0x20]
xor r9d, r9d
mov rdx, rdi
mov r8d, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov rcx, qword [rbp]
call fcn.1402dbc10
mov edx, dword [rsp + 0x3c]
mov rcx, r15
call fcn.1402b9fc0
mov r8d, dword [rsp + 0x38]
mov edx, 0x27
mov rcx, r15
mov r9d, dword [rsp + 0x4c]
call fcn.1402b09e0
mov eax, dword [rsp + 0x4c]
mov rcx, r15
lea edx, [rax - 1]
call fcn.1402b8500
mov eax, dword [rsp + 0x4c]
lea edx, [rax + 1]
call fcn.1402b8500
mov edx, r12d
mov rcx, rbx
call fcn.1402a6fa0
mov edx, dword [rsp + 0x40]
call fcn.1402a6fa0
test esi, esi
je 0x1402dcc26
mov edx, dword [rsp + 0x48]
mov r8d, esi
call fcn.1402a6f80
mov edx, dword [rsp + 0x44]
mov r8d, esi
call fcn.1402a6f80
mov edx, 1
mov rcx, rbp
call fcn.1402dbad0
jmp 0x1402dced0
mov r13, qword [rsi + 0x50]
lea rdx, str.first_value
mov rax, qword [r13 + 0x38]
cmp rax, rdx
je 0x1402dcc86
lea rcx, str.nth_value
cmp rax, rcx
je 0x1402dcc86
lea rdx, [0x1403fc640]
cmp rax, rdx
je 0x1402dcd6e
lea rdx, str.lead
cmp rax, rdx
je 0x1402dcd6e
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x1402dcc38
jmp 0x1402dced0
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.1402987f0
mov r9d, dword [rsi + 0x60]
mov rcx, r15
mov r12d, eax
call fcn.1402b09e0
lea rax, str.nth_value
cmp qword [r13 + 0x38], rax
jne 0x1402dccf4
mov eax, dword [rsi + 0x7c]
mov rcx, r15
mov edx, 0x5e
mov r8d, dword [rdi + 0x58]
mov dword [rsp + 0x20], r12d
lea r9d, [rax + 1]
call fcn.1402b0a00
mov r8d, 2
mov edx, r12d
mov rcx, rbx
call fcn.1402dbfb0
jmp 0x1402dcd0a
mov r9d, r12d
mov r8d, 1
mov edx, 0x47
mov rcx, r15
call fcn.1402b09e0
mov r9d, dword [rsi + 0x68]
mov r8d, r12d
mov edx, 0x6a
mov rcx, r15
mov dword [rsp + 0x20], r12d
call fcn.1402b0a00
mov eax, dword [rsi + 0x68]
mov r9d, r14d
mov edx, 0x36
mov rcx, r15
mov dword [rsp + 0x20], r12d
lea r8d, [rax + 1]
call fcn.1402b0a00
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
mov rcx, r15
mov dword [rsp + 0x20], r12d
mov edx, 0x1e
call fcn.1402b0a00
mov eax, dword [rsi + 0x60]
mov r9d, dword [rsi + 0x7c]
mov r8d, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x1402dcea8
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.1402987f0
cmp dword [rsp + 0x3c], 2
mov r12d, eax
mov eax, dword [rdi + 0x58]
mov r9d, dword [rsi + 0x60]
mov dword [rsp + 0x38], eax
jg 0x1402dcdbd
xor r8d, r8d
mov edx, 0x4b
mov rcx, r15
call fcn.1402b09e0
jmp 0x1402dcddb
mov eax, dword [rsi + 0x7c]
mov edx, 0x5e
mov dword [rsp + 0x20], r9d
mov rcx, r15
mov r8d, dword [rsp + 0x38]
lea r9d, [rax + 2]
call fcn.1402b0a00
mov r8d, dword [rsp + 0x38]
mov r9d, r12d
mov edx, 0x87
mov rcx, r15
call fcn.1402b09e0
cmp dword [rsp + 0x3c], 1
lea rax, str.lead
jg 0x1402dce1f
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.1402b09e0
jmp 0x1402dce7e
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.1402987f0
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.1402b0a00
mov edx, dword [rsp + 0x3c]
mov rcx, r15
mov r9d, r12d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
call fcn.1402b0a00
mov edx, r13d
mov rcx, rbx
call fcn.1402a6fa0
mov r8d, dword [rsp + 0x40]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, r15
mov edx, 0x1e
call fcn.1402b0a00
mov eax, dword [rsi + 0x60]
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsi + 0x7c]
mov dword [rsp + 0x20], eax
mov rcx, r15
mov edx, 0x5e
call fcn.1402b0a00
mov edx, r14d
mov rcx, r15
call fcn.1402b9fc0
mov edx, r12d
mov rcx, rbx
call fcn.1402a6fa0
jmp 0x1402dcc78
mov r9d, dword [rbp + 0x18]
mov edx, 0xa
mov rcx, r15
mov r8d, dword [rbp + 0x1c]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1402b09e0