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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
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, 0x78
mov r11, qword [rdx]
mov rbx, rdx
mov rsi, qword [rcx + 0x10]
xor edi, edi
movsxd r10, r9d
mov r15, r8
mov r14, rcx
mov qword [rsp + 0x58], r11
movzx edx, byte [r11]
mov r12d, 0x400
mov r13d, 0x800
lea eax, [rdx - 0x2d]
test al, 0xf7
je 0x1402adbb1
cmp dl, 0x32
jne 0x1402ad4ad
mov ebp, dword [rsp + 0xe8]
xor r8d, r8d
mov r9d, ebp
mov edx, 0x4b
mov rcx, rsi
call fcn.1403858c0
jmp 0x1402adb66
mov r13, qword [r8 + 0x60]
mov ebp, edi
mov dword [rsp + 0x38], 5
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rdi
test dword [r13 + 0x38], r12d
jne 0x1402ad4ec
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1402ad4ec
mov rax, qword [rax + 0x38]
cmp byte [r10 + rax], dil
je 0x1402ad4ec
cmp dword [rsp + 0xe0], edi
mov eax, edi
sete al
jmp 0x1402ad4f3
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x3c], eax
test r9d, r9d
jle 0x1402ad51d
mov r8, qword [r13 + 0x48]
mov rax, rdi
mov rcx, qword [r8 + rax*8]
test rcx, rcx
je 0x1402ad515
cmp qword [rcx], r11
je 0x1402ad5b1
inc rax
cmp rax, r10
jl 0x1402ad503
movzx r8d, word [r13 + 0x3c]
cmp r10d, r8d
jge 0x1402ad558
mov rax, qword [r13 + 0x48]
sub r8d, r10d
lea rdx, [rax + r10*8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx]
lea ecx, [rbp + 1]
lea rdx, [rdx + 8]
cmp qword [rax], r11
cmovne ecx, ebp
mov ebp, ecx
sub r8, 1
jne 0x1402ad540
mov edx, dword [r11 + 4]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
bt edx, 0xc
jae 0x1402ad74f
mov rax, qword [r11 + 0x20]
mov rcx, qword [rax + 0x20]
cmp dword [rcx], 1
je 0x1402ad74f
mov r13, r11
cmp dword [r11 + 0x2c], edi
je 0x1402ad663
bt edx, 0x19
jae 0x1402ad663
mov rcx, qword [r11 + 0x10]
movzx eax, byte [rcx]
cmp al, 0xb0
jne 0x1402ad5a5
movzx eax, byte [rcx + 2]
cmp al, 0xb1
jne 0x1402ad5c8
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x1402ad5dd
mov rdx, rbx
mov rcx, r15
call fcn.1402b4bf0
mov eax, dword [rsp + 0xe8]
jmp 0x1402adbf2
cmp al, 0x8a
jne 0x1402ad5d8
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
jmp 0x1402ad5dd
mov ecx, 1
cmp ebp, ecx
cmovg ecx, ebp
movsxd r14, ecx
mov rcx, qword [rsp + 0xc0]
shl r14, 2
mov rcx, qword [rcx]
test rcx, rcx
je 0x1402ad603
mov rdx, r14
call fcn.140342dc0
jmp 0x1402ad60b
mov rcx, r14
call fcn.14036b6d0
mov qword [rsp + 0x40], rax
mov r12, rax
test rax, rax
je 0x1402ad625
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r14, qword [rsp + 0xc0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, r14
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8d, 4
mov rdx, r13
call fcn.14034c6c0
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x1402ad736
mov r8, qword [rsp + 0x48]
mov r9, r11
mov r12, qword [r14]
mov edx, r10d
mov rcx, r14
call fcn.140320840
mov r15, rax
cmp byte [r12 + 0x67], dil
jne 0x1402ad70b
mov rcx, qword [rsp + 0xc0]
movsxd r14, ebp
shl r14, 2
mov rcx, qword [rcx]
test rcx, rcx
je 0x1402ad6a8
mov rdx, r14
call fcn.140342dc0
jmp 0x1402ad6b0
mov rcx, r14
call fcn.14036b6d0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1402ad6cc
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x40]
mov r14, qword [rsp + 0xc0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], rax
mov r8d, 4
mov rdx, r15
call fcn.14034c6c0
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [r13 + 0x2c], r8d
mov dword [rsp + 0x38], eax
jmp 0x1402ad715
mov r8d, dword [rsp + 0x34]
mov eax, 5
test r15, r15
je 0x1402ad72e
mov rdx, r15
mov rcx, r12
call fcn.14034a620
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
mov r15, qword [rsp + 0xd0]
mov r13, qword [rsp + 0x48]
cmp eax, 4
jne 0x1402ad782
cmp dword [rsp + 0x3c], edi
mov eax, edi
sete al
mov dword [rsp + 0x3c], eax
jmp 0x1402ad786
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 4
mov rdx, r11
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.14034c6c0
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x1402ad73b
mov eax, dword [rsp + 0x3c]
test eax, eax
mov edx, reloc.SinoSPE.dll_Ordinal_32
mov ecx, Ordinal_40
cmovne ecx, edx
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x1402ad7b7
mov edx, ecx
mov dword [rsp + 0x20], edi
mov rcx, rsi
xor r9d, r9d
call fcn.140301d30
jmp 0x1402ad7e8
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, rdx
shl rax, 5
add rax, qword [rsi + 0x88]
mov byte [rax], cl
mov word [rax + 2], di
mov dword [rax + 4], r8d
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov byte [rax + 1], dil
mov qword [rax + 0x18], rdi
or dword [r13 + 0x38], 0x800
cmp dword [r15 + 0x50], edi
jne 0x1402ad802
dec dword [r14 + 0x44]
mov eax, dword [r14 + 0x44]
mov dword [r15 + 0x10], eax
cmp dword [rsp + 0xd8], edi
jle 0x1402ad81d
mov eax, dword [r13 + 0x38]
bt eax, 0x14
jb 0x1402ad81d
bts eax, 0x12
mov dword [r13 + 0x38], eax
movsxd r12, dword [r15 + 0x50]
lea eax, [r12 + rbp]
mov rbp, qword [r15 + 0x58]
mov dword [r15 + 0x50], eax
cdqe
lea r13, [rax + rax*4]
mov rax, qword [rbx + 8]
shl r13, 2
mov r15, qword [rax]
lea rdx, [r13 + 0x10]
mov rcx, qword [r15]
mov rcx, qword [rcx]
call fcn.140342dc0
mov r14, rax
test rax, rax
je 0x1402ad868
mov rax, qword [r15 + 0x60]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov qword [r15 + 0x60], r14
add r14, 0x10
test r14, r14
je 0x1402ad88f
test rbp, rbp
je 0x1402ad88f
mov r8, qword [rbp - 8]
mov rdx, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rsp + 0xd0]
mov qword [r15 + 0x58], r14
jmp 0x1402ad8a4
mov r15, qword [rsp + 0xd0]
mov qword [r15 + 0x58], r14
test r14, r14
je 0x1402adb32
mov rdx, qword [rsp + 0x48]
lea rcx, [r12 + r12*4]
movsxd r13, dword [rsp + 0xd8]
movzx eax, word [rdx + 0x3c]
cmp r13d, eax
jge 0x1402adac6
mov r8, qword [rsp + 0x40]
lea r14, [r14 + rcx*4]
mov ecx, dword [rsp + 0xe8]
lea r10, [r13*8]
mov r12d, dword [rsp + 0x34]
mov r9d, ecx
mov r15, qword [rsp + 0x58]
sub r9d, r13d
add r14, 0x10
mov dword [rsp + 0x30], r9d
mov ebx, r13d
mov qword [rsp + 0x68], r10
sub ebx, ecx
mov qword [rsp + 0x60], r8
mov r11, r8
mov ebp, ecx
nop word [rax + rax]
mov rax, qword [rdx + 0x48]
mov rcx, qword [r10 + rax]
cmp qword [rcx], r15
jne 0x1402ada94
cmp dword [rsp + 0x38], 1
jne 0x1402ad97a
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1402ad955
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r12d
mov edx, 0x87
mov rcx, rsi
call fcn.140301d30
mov ecx, eax
jmp 0x1402ad9e8
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
mov rax, rcx
shl rax, 5
add rax, qword [rsi + 0x88]
mov dword [rax], 0x87
mov dword [rax + 8], ebp
mov dword [rax + 0xc], edi
jmp 0x1402ad9dc
test r8, r8
je 0x1402ad98d
mov edx, dword [r11]
add r11, 4
mov qword [rsp + 0x60], r11
jmp 0x1402ad98f
mov edx, edi
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1402ad9b9
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x5e
mov r8d, r12d
mov rcx, rsi
call fcn.140301d30
mov ecx, eax
jmp 0x1402ad9e8
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
mov rax, rcx
shl rax, 5
add rax, qword [rsi + 0x88]
mov dword [rax], 0x5e
mov dword [rax + 8], edx
mov dword [rax + 0xc], ebp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rdi
mov dword [rax + 4], r12d
mov dword [r14 - 0xc], ecx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1402ada14
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, Ordinal_51
mov rcx, rsi
call fcn.140301d30
jmp 0x1402ada40
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
mov rax, rcx
shl rax, 5
add rax, qword [rsi + 0x88]
mov dword [rax], Ordinal_51
mov dword [rax + 4], ebp
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
lea ecx, [rbx + rbp]
cmp ecx, r13d
jne 0x1402ada73
cmp dword [rsp + 0x3c], edi
mov dword [r14 - 0x10], r12d
sete al
add al, 0x26
mov byte [r14], al
test r13d, r13d
jle 0x1402ada6b
mov eax, dword [rsp + 0x30]
mov dword [r14 - 8], eax
mov dword [r14 - 4], ecx
jmp 0x1402ada77
mov ecx, edi
mov dword [r14 - 4], ecx
jmp 0x1402ada77
mov byte [r14], 0xbb
mov rdx, qword [rsp + 0x48]
add r14, 0x14
mov r8, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x30]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
movzx eax, word [rdx + 0x3c]
inc ebp
dec r9d
add r10, 8
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x68], r10
lea ecx, [rbx + rbp]
cmp ecx, eax
jl 0x1402ad910
mov rbx, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xd0]
test r13d, r13d
jle 0x1402adb36
test dword [rdx + 0x38], 0x100400
jne 0x1402adb36
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [r15 + 8]
cmp dword [rsi + 0x94], ecx
jg 0x1402adb01
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x7d
xor r9d, r9d
mov rcx, rsi
call fcn.140301d30
jmp 0x1402adb36
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
mov rax, rcx
shl rax, 5
add rax, qword [rsi + 0x88]
mov dword [rax], 0x7d
mov dword [rax + 4], edx
mov dword [rax + 8], edi
mov dword [rax + 0xc], r13d
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
jmp 0x1402adb36
mov dword [r15 + 0x50], edi
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1402adb53
mov rcx, qword [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.140342c30
mov ebp, dword [rsp + 0xe8]
mov r13d, 0x800
mov r12d, 0x400
mov rcx, qword [r15 + 0x60]
test dword [rcx + 0x38], 0x200000
je 0x1402adb7a
test word [rbx + 0x14], r13w
jne 0x1402adbf0
test byte [rbx + 0x12], 4
jne 0x1402adbf0
cmp dword [r15], 0
je 0x1402adb8f
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x1402adbf0
mov rax, qword [r15 + 0x68]
test qword [rbx + 0x30], rax
jne 0x1402adbf0
test edi, edi
je 0x1402adbc6
movzx eax, word [rbx + 0x12]
test r12w, ax
je 0x1402adbc6
or ax, 0x200
mov word [rbx + 0x12], ax
jmp 0x1402adbcb
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [r11 + 0x18]
call fcn.140348710
mov ebp, eax
jmp 0x1402adb66
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x1402adbf0
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
add rcx, qword [rax + 0x20]
mov rbx, rcx
add byte [rcx + 0x16], 0xff
jne 0x1402adbf0
inc edi
test byte [rcx + 0x12], 4
je 0x1402adb80
mov eax, ebp
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret