Function at 0x1400a8920
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 r15, qword [rdx]
mov rbx, rdx
mov rsi, qword [rcx + 0x10]
xor edi, edi
movsxd r10, r9d
mov r13, r8
mov r11, rcx
mov qword [rsp + 0x50], r15
movzx edx, byte [r15]
mov ebp, 0x400
mov r9d, 0x800
lea eax, [rdx - 0x2d]
test al, 0xf7
je 0x1400a9130
cmp dl, 0x32
jne 0x1400a89dd
movsxd rcx, dword [rsi + 0x90]
mov r8d, dword [rsp + 0xe8]
cmp dword [rsi + 0x94], ecx
jg 0x1400a89ae
mov r9d, r8d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea edx, [rdi + 0x4b]
mov rcx, rsi
call fcn.1400332d0
jmp 0x1400a90d0
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x1400a90de
mov r8, qword [r8 + 0x60]
mov r14d, edi
mov dword [rsp + 0x38], 5
mov r12, r8
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdi
test dword [r8 + 0x38], ebp
jne 0x1400a8a20
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x1400a8a20
mov rax, qword [rax + 0x38]
cmp byte [r10 + rax], dil
je 0x1400a8a20
cmp dword [rsp + 0xe0], edi
mov eax, edi
sete al
jmp 0x1400a8a27
mov eax, dword [rsp + 0xe0]
mov r9d, dword [rsp + 0xe8]
mov dword [rsp + 0x3c], eax
test r10d, r10d
jle 0x1400a8ace
mov rdx, qword [r8 + 0x48]
mov rax, rdi
mov r8, r10
mov rcx, qword [rdx + rax*8]
test rcx, rcx
je 0x1400a8a54
cmp qword [rcx], r15
je 0x1400a8a5e
inc rax
cmp rax, r10
jl 0x1400a8a46
jmp 0x1400a8ad1
test byte [rbx + 0x12], 4
jne 0x1400a8ac6
mov edx, 0x200
nop dword [rax]
cmp dword [r13], r14d
je 0x1400a8a7f
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x1400a8ac6
mov rax, qword [rbx + 0x30]
test qword [r13 + 0x68], rax
jne 0x1400a8ac6
test edi, edi
je 0x1400a8a9f
movzx eax, word [rbx + 0x12]
test bp, ax
je 0x1400a8a9f
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x1400a8aa4
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x1400a8ac6
mov rcx, qword [rbx + 8]
imul rbx, rax, 0x38
add rbx, qword [rcx + 0x20]
add byte [rbx + 0x16], 0xff
jne 0x1400a8ac6
inc edi
test byte [rbx + 0x12], 4
je 0x1400a8a70
mov eax, r9d
jmp 0x1400a9173
mov r8, r10
movzx ecx, word [r12 + 0x3c]
cmp r10d, ecx
jge 0x1400a8b0b
mov rax, qword [r12 + 0x48]
sub ecx, r10d
lea rdx, [rax + r8*8]
mov r8d, ecx
nop dword [rax + rax]
mov rax, qword [rdx]
lea ecx, [r14 + 1]
lea rdx, [rdx + 8]
cmp qword [rax], r15
cmovne ecx, r14d
mov r14d, ecx
sub r8, 1
jne 0x1400a8af0
mov edx, dword [r15 + 4]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
bt edx, 0xc
jae 0x1400a8cd9
mov rax, qword [r15 + 0x20]
mov rcx, qword [rax + 0x20]
cmp dword [rcx], 1
je 0x1400a8cd9
cmp dword [r15 + 0x2c], edi
je 0x1400a8bf4
bt edx, 0x19
jae 0x1400a8bf4
mov rcx, qword [r15 + 0x10]
movzx eax, byte [rcx]
cmp al, 0xb0
jne 0x1400a8b55
movzx eax, byte [rcx + 2]
cmp al, 0xb1
jne 0x1400a8b61
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x1400a8b76
cmp al, 0x8a
jne 0x1400a8b71
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
jmp 0x1400a8b76
mov ecx, 1
cmp r14d, ecx
cmovg ecx, r14d
movsxd rbp, ecx
mov rcx, qword [r11]
shl rbp, 2
test rcx, rcx
je 0x1400a8b96
mov rdx, rbp
call fcn.1400069d0
jmp 0x1400a8b9e
mov rcx, rbp
call fcn.140006200
mov qword [rsp + 0x40], rax
mov r12, rax
test rax, rax
je 0x1400a8bb8
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140127e40
xor r9d, r9d
lea rax, [rsp + 0x30]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0xc0]
mov rcx, r15
mov qword [rsp + 0x20], r12
lea r8d, [r9 + 4]
call fcn.14004fd80
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x1400a8cbe
mov r8, qword [rsp + 0x48]
mov r9, r15
mov r12, qword [r11]
mov edx, r10d
mov rcx, r11
call fcn.1400a8610
mov r15, rax
cmp byte [r12 + 0x67], dil
jne 0x1400a8c9c
mov rcx, qword [rsp + 0xc0]
movsxd rbp, r14d
shl rbp, 2
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400a8c39
mov rdx, rbp
call fcn.1400069d0
jmp 0x1400a8c41
mov rcx, rbp
call fcn.140006200
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400a8c5d
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140127e40
mov rax, qword [rsp + 0x40]
xor r9d, r9d
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, r15
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 4]
call fcn.14004fd80
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x34], r8d
mov dword [rax + 0x2c], r8d
jmp 0x1400a8ca1
mov r8d, dword [rsp + 0x34]
test r15, r15
je 0x1400a8cb6
mov rdx, r15
mov rcx, r12
call fcn.14004d9c0
mov r8d, dword [rsp + 0x34]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x48]
cmp dword [rsp + 0x38], 4
jne 0x1400a8d12
cmp dword [rsp + 0x3c], edi
mov eax, edi
sete al
mov dword [rsp + 0x3c], eax
jmp 0x1400a8d16
xor r9d, r9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r11
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 4]
call fcn.14004fd80
mov r8d, dword [rsp + 0x30]
mov r15, qword [rsp + 0xc0]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x1400a8cc3
mov eax, dword [rsp + 0x3c]
test eax, eax
mov ecx, 0x20
mov edx, 0x24
cmovne edx, ecx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1400a8d45
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1400332d0
jmp 0x1400a8d75
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], di
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], dil
or dword [r12 + 0x38], 0x800
cmp dword [r13 + 0x50], edi
jne 0x1400a8d90
dec dword [r15 + 0x44]
mov eax, dword [r15 + 0x44]
mov dword [r13 + 0x10], eax
cmp dword [rsp + 0xd8], edi
jle 0x1400a8dad
mov eax, dword [r12 + 0x38]
bt eax, 0x14
jb 0x1400a8dad
bts eax, 0x12
mov dword [r12 + 0x38], eax
mov eax, dword [r13 + 0x50]
mov rbp, qword [r13 + 0x58]
mov dword [rsp + 0x30], eax
add eax, r14d
mov dword [r13 + 0x50], eax
cdqe
lea r12, [rax + rax*4]
mov rax, qword [rbx + 8]
shl r12, 2
mov r15, qword [rax]
lea rdx, [r12 + 0x10]
mov rcx, qword [r15]
mov rcx, qword [rcx]
call fcn.1400069d0
mov r14, rax
test rax, rax
je 0x1400a8dfc
mov rax, qword [r15 + 0x60]
mov qword [r14], rax
mov qword [r14 + 8], r12
mov qword [r15 + 0x60], r14
add r14, 0x10
test r14, r14
je 0x1400a8e1b
test rbp, rbp
je 0x1400a8e1b
mov r8, qword [rbp - 8]
mov rdx, rbp
mov rcx, r14
call fcn.140128340
mov qword [r13 + 0x58], r14
jmp 0x1400a8e28
mov qword [r13 + 0x58], r14
test r14, r14
je 0x1400a90ad
movsxd rax, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
movsxd r8, dword [rsp + 0xd8]
lea rcx, [rax + rax*4]
movzx eax, word [r11 + 0x3c]
cmp r8d, eax
jge 0x1400a9043
mov r10, qword [rsp + 0x40]
lea r14, [r14 + rcx*4]
mov ecx, dword [rsp + 0xe8]
lea r9, [r8*8]
mov ebp, dword [rsp + 0x34]
mov r12d, ecx
mov rbx, qword [rsp + 0x50]
sub r12d, r8d
add r14, 0x10
mov qword [rsp + 0x60], r9
mov rdx, r10
mov r13d, r8d
sub r13d, ecx
mov qword [rsp + 0x58], rdx
mov r15d, ecx
nop dword [rax]
mov rax, qword [r11 + 0x48]
mov rcx, qword [r9 + rax]
cmp qword [rcx], rbx
jne 0x1400a9013
cmp dword [rsp + 0x38], 1
jne 0x1400a8efb
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x1400a8ed5
mov r9d, r15d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x87
mov rcx, rsi
call fcn.1400332d0
mov edx, eax
jmp 0x1400a8f6a
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], edi
jmp 0x1400a8f61
test r10, r10
je 0x1400a8f0e
mov r8d, dword [rdx]
add rdx, 4
mov qword [rsp + 0x58], rdx
jmp 0x1400a8f11
mov r8d, edi
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x1400a8f3c
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, ebp
mov edx, 0x5e
mov rcx, rsi
call fcn.1400332d0
mov edx, eax
jmp 0x1400a8f6a
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 4], ebp
mov dword [r14 - 0xc], edx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1400a8f95
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, r15d
mov rcx, rsi
lea edx, [r9 + 0x32]
call fcn.1400332d0
jmp 0x1400a8fbf
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x32
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov r8d, dword [rsp + 0xd8]
lea ecx, [r15 + r13]
cmp ecx, r8d
jne 0x1400a8ff7
cmp dword [rsp + 0x3c], edi
mov dword [r14 - 0x10], ebp
sete al
add al, 0x26
mov byte [r14], al
test r8d, r8d
jle 0x1400a8fef
mov dword [r14 - 8], r12d
mov dword [r14 - 4], ecx
jmp 0x1400a8ffb
mov ecx, edi
mov dword [r14 - 4], ecx
jmp 0x1400a8ffb
mov byte [r14], 0xb8
mov rdx, qword [rsp + 0x58]
add r14, 0x14
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
movzx eax, word [r11 + 0x3c]
inc r15d
add r9, 8
dec r12d
mov qword [rsp + 0x60], r9
lea ecx, [r15 + r13]
cmp ecx, eax
jl 0x1400a8e90
mov rbx, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
test r8d, r8d
jle 0x1400a90b1
test dword [r11 + 0x38], 0x100400
jne 0x1400a90b1
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [r13 + 8]
cmp dword [rsi + 0x94], ecx
jg 0x1400a907e
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rsi
lea edx, [r9 + 0x7d]
call fcn.1400332d0
jmp 0x1400a90b1
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x1400a90b1
mov dword [r13 + 0x50], edi
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400a90cb
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.1400064d0
mov ebp, 0x400
mov r8d, dword [rsp + 0xe8]
mov r9d, 0x800
mov rcx, qword [r13 + 0x60]
test dword [rcx + 0x38], 0x200000
je 0x1400a90f2
test word [rbx + 0x14], r9w
jne 0x1400a9170
test byte [rbx + 0x12], 4
jne 0x1400a9170
mov edx, 0x200
nop dword [rax]
cmp dword [r13], 0
je 0x1400a9110
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x1400a9170
mov rax, qword [r13 + 0x68]
test qword [rbx + 0x30], rax
jne 0x1400a9170
test edi, edi
je 0x1400a9146
movzx eax, word [rbx + 0x12]
test bp, ax
je 0x1400a9146
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x1400a914b
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [r15 + 0x18]
call fcn.140053ba0
mov r8d, eax
jmp 0x1400a90d8
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x1400a9170
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
add rcx, qword [rax + 0x20]
mov rbx, rcx
add byte [rcx + 0x16], 0xff
jne 0x1400a9170
inc edi
test byte [rcx + 0x12], 4
je 0x1400a9100
mov eax, r8d
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret