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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rdi, qword [rsp + 0xd8]
mov r13d, r8d
mov rsi, qword [rcx + 0x10]
xor r8d, r8d
mov rbp, rdx
mov dword [rsp + 0xc8], r8d
mov r15, r9
mov rbx, rcx
mov eax, dword [rdi + 4]
mov r11d, r8d
movzx edx, byte [rdi]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x40], edx
test rax, rax
je 0x1402a77b4
movzx eax, byte [rax + 1]
jmp 0x1402a77b7
mov eax, r8d
mov dword [rsp + 0x44], eax
test r9, r9
je 0x1402a77c8
cmp qword [r9], r8
jne 0x1402a77ee
mov r15, r8
test eax, eax
jne 0x1402a77ee
mov r8d, dword [rsp + 0xe0]
mov rcx, rsi
mov edx, dword [rbp + 0xc]
call fcn.140251120
mov r11d, dword [rsp + 0xc8]
xor r8d, r8d
mov edx, dword [rsp + 0x40]
mov rax, qword [rbp + 0x20]
mov ebp, dword [rax]
mov eax, dword [rdi + 0xc]
test eax, eax
jne 0x1402a782b
test r15, r15
je 0x1402a781e
mov rax, qword [r15]
test byte [r15 + 0x24], 1
mov ecx, dword [rax]
lea r11d, [rcx + 1]
cmovne r11d, ecx
add dword [rbx + 0x38], r11d
mov dword [rsp + 0xc8], r11d
mov eax, dword [rbx + 0x38]
inc eax
mov dword [rdi + 0xc], eax
add dword [rbx + 0x38], ebp
jmp 0x1402a783a
mov ecx, dword [rbx + 0x38]
add eax, ebp
cmp eax, ecx
jle 0x1402a783a
lea eax, [rcx + rbp]
mov dword [rbx + 0x38], eax
mov r14d, dword [rdi + 0xc]
mov r12d, r14d
mov dword [rsp + 0x48], r14d
mov dword [rdi + 0x10], ebp
test r13d, r13d
js 0x1402a795f
mov edi, r8d
test ebp, ebp
jle 0x1402a78c8
nop dword [rax]
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1402a788f
lea eax, [rdi + r14]
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov edx, 0x5e
mov rcx, rsi
call fcn.1402884f0
xor r8d, r8d
jmp 0x1402a78c2
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edi
lea rdx, [rax + rcx*8]
lea eax, [rdi + r14]
mov qword [rdx + 0x10], r8
mov dword [rdx + 0xc], eax
inc edi
cmp edi, ebp
jl 0x1402a7860
mov r13, qword [rsp + 0xb8]
cmp dword [rsp + 0x44], 0
je 0x1402a7939
mov rcx, qword [rsp + 0xd0]
mov rax, qword [r13 + 0x20]
mov r9d, dword [rsp + 0xe0]
mov dword [rsp + 0x28], r14d
movzx edi, byte [rcx + 1]
mov r8d, dword [rcx + 4]
mov edx, edi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140250200
mov rcx, qword [rsp + 0xd0]
mov r8d, eax
mov edx, edi
mov r9d, dword [rcx + 8]
mov rcx, rbx
call fcn.14025cec0
test r15, r15
jne 0x1402a7939
mov r8d, dword [rsp + 0xe0]
mov rcx, rsi
mov edx, dword [r13 + 0xc]
call fcn.140251120
mov edx, dword [rsp + 0x40]
lea eax, [rdx - 1]
cmp eax, 0xe
ja case.0x1402a795d.4
lea r8, [0x140000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0x2a8328]
add rcx, r8
jmp rcx
cmp dl, 3
je 0x1402a78c8
lea eax, [rdx - 9]
test al, 0xfa
jne 0x1402a7979
cmp dl, 0xe
je 0x1402a7979
mov r10b, 1
jmp 0x1402a797c
xor r10b, r10b
test r15, r15
je 0x1402a7a49
cmp dword [rsp + 0x44], 0
jne 0x1402a7a49
lea eax, [rdx - 0xc]
test al, 0xfd
je 0x1402a7a49
mov rcx, qword [r15]
or r10b, 0xc
mov r8d, dword [r15 + 8]
cmp r8d, dword [rcx]
jge 0x1402a79fb
mov rdi, qword [rsp + 0xb8]
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
inc rax
shl rax, 5
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x1402a79f3
mov rax, qword [rdi + 0x20]
movzx edx, r8w
sub dx, word [r15 + 8]
mov ecx, r9d
inc dx
shl rcx, 5
mov word [rcx + rax], dx
mov rcx, qword [r15]
inc r8d
cmp r8d, dword [rcx]
jl 0x1402a79c0
mov r13, qword [rsp + 0xb8]
mov rdx, qword [r13 + 0x20]
mov eax, dword [rdx]
test eax, eax
jle 0x1402a7a51
add rdx, 0x20
mov r8d, eax
xor r9d, r9d
nop word [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 0x20]
test cx, cx
mov eax, r9d
cmove eax, r12d
mov r12d, eax
lea eax, [rbp - 1]
cmove eax, ebp
mov ebp, eax
sub r8, 1
jne 0x1402a7a20
mov dword [rsp + 0x48], r12d
jmp 0x1402a7a54
mov r13, qword [rsp + 0xb8]
xor r9d, r9d
cmp dword [r13 + 8], 0
mov dword [rsp + 0x50], r14d
mov byte [rsp + 0x54], r10b
je 0x1402a7a86
test r10b, 8
je 0x1402a7a86
test r11d, r11d
jle 0x1402a7a86
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], r9d
mov qword [r15 + 0x28], rax
mov r12d, r9d
jmp 0x1402a78d0
mov rdx, qword [r13 + 0x20]
xor r9d, r9d
mov r8d, r14d
mov byte [rsp + 0x20], r10b
mov rcx, rbx
call fcn.1402c5530
jmp 0x1402a78d0
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1402a7ab2
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x1402a7ac1
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0xd8]
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
call fcn.1402f86f0
mov r8d, dword [rsp + 0xc0]
mov r9d, edi
mov edx, 0x8a
mov dword [rsp + 0x28], ebp
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.1402f8890
test edi, edi
je case.0x1402a795d.4
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae case.0x1402a795d.4
mov dword [rbx + rax*4 + 0xd8], edi
inc byte [rbx + 0x1f]
jmp case.0x1402a795d.4
mov r8d, dword [rsp + 0xc0]
mov r9d, r14d
mov edx, 0x8c
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.1402f86f0
jmp case.0x1402a795d.4
mov edx, dword [rsp + 0xc8]
lea r13d, [rdx + 1]
cmp r13d, 1
jne 0x1402a7b71
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1402a7b5f
inc dword [rbx + 0x38]
mov r12d, dword [rbx + 0x38]
jmp 0x1402a7b99
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0xd8]
jmp 0x1402a7b99
mov ecx, dword [rbx + 0x28]
mov r12d, dword [rbx + 0x2c]
cmp r13d, ecx
jg 0x1402a7b8c
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x1402a7b99
mov eax, dword [rbx + 0x38]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rbx + 0x38], eax
movsxd rcx, dword [rsi + 0x90]
lea edi, [r12 + rdx]
mov dword [rsp + 0xd8], edi
cmp dword [rsi + 0x94], ecx
jg 0x1402a7bce
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
call fcn.1402884f0
xor edx, edx
jmp 0x1402a7bfd
lea eax, [rcx + 1]
xor edx, edx
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdx
cmp byte [rsp + 0x40], 5
jne 0x1402a7c54
mov r9d, dword [rsi + 0x90]
mov rcx, rsi
mov edi, dword [rsp + 0xc0]
add r9d, 4
mov dword [rsp + 0x28], edx
mov edx, 0x1c
mov dword [rsp + 0x20], r12d
lea r8d, [rdi + 1]
call fcn.1402f8890
mov r9d, r12d
mov dword [rsp + 0x28], ebp
lea r8d, [rdi + 1]
mov dword [rsp + 0x20], r14d
mov edx, 0x8a
mov rcx, rsi
call fcn.1402f8890
mov edi, dword [rsp + 0xd8]
test r15, r15
je 0x1402a7c92
mov eax, dword [rsp + 0xc8]
mov r9d, edi
mov rdi, qword [rsp + 0xb8]
mov rdx, r15
mov dword [rsp + 0x30], eax
mov r8, rdi
mov eax, dword [rsp + 0x48]
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.14029bb90
jmp 0x1402a7d23
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1402a7ca2
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x1402a7cb1
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0xd8]
mov r8d, dword [rsp + 0xc0]
mov r9d, edi
mov edx, 0x7f
mov rcx, rsi
call fcn.1402f8680
mov r8d, dword [rsp + 0xc0]
mov r9d, r12d
mov edx, 0x80
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1402f86f0
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x1402a7d05
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
test edi, edi
je 0x1402a7d1b
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1402a7d1b
mov dword [rbx + rax*4 + 0xd8], edi
inc byte [rbx + 0x1f]
mov rdi, qword [rsp + 0xb8]
cmp r13d, 1
jne 0x1402a7d4e
test r12d, r12d
je 0x1402a82d9
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1402a82d9
mov dword [rbx + rax*4 + 0xd8], r12d
inc byte [rbx + 0x1f]
jmp 0x1402a82d9
cmp r13d, dword [rbx + 0x28]
jle 0x1402a82d9
mov dword [rbx + 0x28], r13d
mov dword [rbx + 0x2c], r12d
jmp 0x1402a82d9
test r15, r15
jne 0x1402a7eee
mov r12, qword [rsp + 0xd8]
movzx eax, byte [rbx + 0x1f]
mov edi, dword [r12 + 8]
test al, al
jne 0x1402a7d8b
inc dword [rbx + 0x38]
mov ebx, dword [rbx + 0x38]
jmp 0x1402a7d9a
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebx, dword [rbx + rax*4 + 0xd8]
mov r15d, dword [rsp + 0xe8]
mov r8d, r14d
mov r9d, r15d
mov edx, 0x32
mov rcx, rsi
call fcn.1402f8680
mov eax, edi
mov dword [rsp + 0x20], ebx
shr eax, 0x1f
mov edx, 0x61
sub ebp, eax
mov rcx, rsi
mov r9d, ebp
lea r8d, [rax + r14]
call fcn.1402f86f0
mov r8d, dword [rsp + 0xc0]
mov r9d, ebx
mov rcx, rsi
test edi, edi
jns 0x1402a7e02
mov edx, 0x80
mov dword [rsp + 0x20], r14d
call fcn.1402f86f0
mov rdi, qword [rsp + 0xb8]
jmp 0x1402a7f4b
mov dword [rsp + 0x28], edi
mov edx, 0x8a
mov dword [rsp + 0x20], r14d
call fcn.1402f8890
mov rdi, qword [rsp + 0xb8]
jmp 0x1402a7f4b
test r15, r15
jne 0x1402a7eee
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1402a7e3b
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x1402a7e4a
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0xd8]
mov r12, qword [rsp + 0xd8]
mov r9d, ebp
mov dword [rsp + 0x30], ebp
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.1402f8760
mov r8d, dword [rsp + 0xc0]
mov r9d, edi
mov edx, 0x8a
mov dword [rsp + 0x28], ebp
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.1402f8890
test edi, edi
je 0x1402a7f3b
movzx eax, byte [rbx + 0x1f]
mov r15d, dword [rsp + 0xe8]
cmp al, 8
jae 0x1402a7df5
mov dword [rbx + rax*4 + 0xd8], edi
inc byte [rbx + 0x1f]
mov rdi, qword [rsp + 0xb8]
jmp 0x1402a7f4b
mov r9d, dword [rsp + 0xc0]
mov edx, 0x47
mov rcx, rsi
lea r8d, [rdx - 0x46]
call fcn.1402f8680
jmp case.0x1402a795d.4
test r15, r15
je 0x1402a7f3b
mov eax, dword [rsp + 0xc8]
mov r9d, r14d
mov dword [rsp + 0x30], eax
mov r8, r13
mov dword [rsp + 0x28], ebp
mov rdx, r15
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.14029bb90
jmp 0x1402a8314
test r15, r15
jne 0x1402a7eee
mov rcx, rsi
cmp dl, 0xd
jne 0x1402a7f85
mov r12, qword [rsp + 0xd8]
lea edx, [r15 + 0xb]
mov r8d, dword [r12 + 4]
call fcn.1402f8610
mov rdi, qword [rsp + 0xb8]
mov r15d, dword [rsp + 0xe8]
mov edx, dword [rdi + 8]
test edx, edx
je 0x1402a8314
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1402a82e3
xor eax, eax
mov r8d, edx
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x3c]
call fcn.1402884f0
jmp 0x1402a8314
mov r9d, ebp
mov r8d, r14d
mov edx, 0x54
call fcn.1402f8680
jmp 0x1402a7f3b
mov r12, qword [rsp + 0xd8]
movzx eax, byte [rbx + 0x1f]
mov dword [rsp + 0xc8], 0
mov r12, qword [r12 + 0x20]
mov qword [rsp + 0x58], r12
mov r11d, dword [r12]
mov dword [rsp + 0x48], r11d
test al, al
jne 0x1402a7fd6
inc dword [rbx + 0x38]
mov r10d, dword [rbx + 0x38]
mov dword [rsp + 0xd0], r10d
jmp 0x1402a7fec
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ecx, dword [rbx + rax*4 + 0xd8]
mov dword [rsp + 0xd0], ecx
lea edi, [r11 + 2]
mov rcx, rbx
mov edx, edi
mov dword [rsp + 0x44], edi
call fcn.1402d9170
mov ecx, dword [rsp + 0xc0]
mov r13d, eax
add eax, r11d
mov dword [rsp + 0xd8], eax
inc eax
cmp byte [rsp + 0x40], 6
jne 0x1402a8102
xor r9d, r9d
mov dword [rsp + 0x28], ebp
lea r8d, [rcx + 1]
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea edx, [r9 + 0x1c]
call fcn.1402f8890
mov r12d, eax
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xd8]
mov r9d, ebp
inc eax
mov r8d, r14d
mov edx, 0x61
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.1402f86f0
mov r9d, dword [rsp + 0xd8]
mov edx, 0x8a
mov r8d, dword [rsp + 0xc0]
inc r9d
inc r8d
mov rcx, rsi
call fcn.1402f8680
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x1402a80b0
lea rcx, [rax + rax*2]
mov dword [rsp + 0xc8], r12d
mov rax, qword [rsi + 0x88]
mov edx, 0x10
mov word [rax + rcx*8 - 0x16], dx
mov r12, qword [rsp + 0x58]
mov eax, dword [rsp + 0x48]
test eax, eax
jle 0x1402a8163
lea rbp, [r12 + 0x20]
mov edi, r13d
mov r12d, eax
xor ebx, ebx
nop
movzx eax, word [rbp]
lea edx, [r14 - 1]
movsxd rcx, dword [rsi + 0x90]
add edx, eax
cmp dword [rsi + 0x94], ecx
jg 0x1402a811b
mov r8d, edx
mov dword [rsp + 0x20], ebx
mov edx, 0x51
mov r9d, edi
mov rcx, rsi
call fcn.1402884f0
jmp 0x1402a8147
mov r9d, ebp
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
call fcn.1402f86f0
jmp 0x1402a80b5
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x51
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
inc edi
add rbp, 0x20
sub r12, 1
jne 0x1402a80d0
mov rbx, qword [rsp + 0xb0]
mov edi, dword [rsp + 0x44]
movsxd rcx, dword [rsi + 0x90]
mov r14d, dword [rsp + 0xc0]
cmp dword [rsi + 0x94], ecx
jg 0x1402a819b
mov r9d, dword [rsp + 0xd8]
xor eax, eax
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x7e]
call fcn.1402884f0
xor r8d, r8d
jmp 0x1402a81d3
mov edx, dword [rsp + 0xd8]
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
xor r8d, r8d
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rsi + 0x90]
mov ebp, dword [rsp + 0xd0]
cmp dword [rsi + 0x94], ecx
jg 0x1402a8202
mov r9d, edi
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x61
mov rcx, rsi
call fcn.1402884f0
jmp 0x1402a822f
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rsp + 0x28], edi
mov r9d, ebp
mov r8d, r14d
mov dword [rsp + 0x20], r13d
mov edx, 0x8a
mov rcx, rsi
call fcn.1402f8890
mov ecx, dword [rsp + 0xc8]
test ecx, ecx
je 0x1402a8288
mov edx, dword [rsi + 0x90]
jns 0x1402a8261
lea ecx, [rdx - 1]
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x1402a8273
lea rax, [0x140682d38]
jmp 0x1402a8285
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test ebp, ebp
je 0x1402a829e
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1402a829e
mov dword [rbx + rax*4 + 0xd8], ebp
inc byte [rbx + 0x1f]
cmp edi, 1
jne 0x1402a82c5
test r13d, r13d
je case.0x1402a795d.4
movzx eax, byte [rbx + 0x1f]
mov rdi, qword [rsp + 0xb8]
cmp al, 8
jae 0x1402a82d9
mov dword [rbx + rax*4 + 0xd8], r13d
inc byte [rbx + 0x1f]
jmp 0x1402a82d9
cmp edi, dword [rbx + 0x28]
jle case.0x1402a795d.4
mov dword [rbx + 0x28], edi
mov dword [rbx + 0x2c], r13d
mov rdi, qword [rsp + 0xb8]
test r15, r15
jne 0x1402a8314
jmp 0x1402a7f43
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x3c
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret