Function at 0x1400d7bc0
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, 0x48
xor r8d, r8d
mov eax, dword [rdx]
cmp eax, 4
mov rsi, rcx
mov rbx, rdx
mov qword [rdx + 4], r8
je 0x1400d7bed
cmp eax, 9
jne 0x1400d7cc9
mov r13, qword [rbx + 0x20]
xor ebp, ebp
cmp dword [r13 + 0x10], ebp
jle 0x1400d7cc2
mov r15, qword [r13 + rbp*8 + 0x18]
cmp dword [r15 + 0x18], 0
je 0x1400d7c18
lea r12, [r15 + 0x20]
xor ecx, ecx
mov dword [rsp + 0x3c], ecx
jmp 0x1400d7ca8
mov dword [rbx + 4], 1
jmp 0x1400d7ddc
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400d7c38
call fcn.140120090
xor edx, edx
mov qword [rdi + 0x18], rdx
lea rcx, [rdi + 0x18]
xor r9d, r9d
cmp dword [rsi + 0x18], 0
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 8]
setne r9b
xor eax, eax
add r9d, r9d
cmp byte [r12], 0
mov qword [rsp + 0x28], rcx
mov rcx, qword [r13 + 8]
setne al
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi]
or r9d, eax
call fcn.14011ef90
test eax, eax
jne 0x1400d7dfb
mov rax, qword [rdi + 0x18]
mov rdi, qword [rdi + 0x20]
cmp byte [rax + 0x14], 0
mov eax, 1
cmove r14d, eax
test rdi, rdi
jne 0x1400d7c24
add r12, 0x28
test r14d, r14d
je 0x1400d7c18
inc dword [rsp + 0x3c]
mov eax, dword [rsp + 0x3c]
cmp eax, dword [r15 + 0x18]
jge 0x1400d7cba
mov rdi, r12
xor r14d, r14d
jmp 0x1400d7c92
inc rbp
jmp 0x1400d7bf3
xor eax, eax
mov dword [rbx + 4], eax
jmp 0x1400d7d47
cmp qword [rdx + 0x10], 0
je 0x1400d7c18
xor ebp, ebp
xor edi, edi
xor eax, eax
test eax, eax
mov ecx, dword [rbx + 0x28]
jne 0x1400d7cff
cmp ecx, ebp
jle 0x1400d7cff
inc rbp
mov rcx, rsi
mov r12, qword [rbx + rbp*8 + 0x28]
mov rdx, r12
call fcn.1400d7bc0
add edi, dword [r12 + 4]
jmp 0x1400d7cda
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x18]
mov qword [rbx + 0x18], r8
mov r8d, dword [rbx]
cmp r8d, 1
je 0x1400d7d2f
cmp r8d, 2
jne 0x1400d7d35
test edi, edi
jle 0x1400d7d26
mov rcx, rbx
call fcn.1400d8c80
test eax, eax
je 0x1400d7d3d
jmp 0x1400d7dfb
cmp ecx, edi
jne 0x1400d7d26
jmp 0x1400d7d1e
mov edx, dword [rdx + 4]
mov dword [rbx + 4], edx
jmp 0x1400d7d26
cmp dword [rbx + 4], 0
jne 0x1400d7ddc
mov eax, dword [rbx]
cmp eax, 4
je 0x1400d7d99
jg 0x1400d7d79
cmp eax, 1
je 0x1400d7dd1
cmp eax, 2
jne 0x1400d7de0
mov rdx, rbx
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1400d80c0
cmp eax, 9
jne 0x1400d7de0
mov rdx, rbx
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1400d82b0
mov rax, qword [rbx + 0x20]
mov r8, qword [rsi + 8]
mov rdx, qword [rax + 0x18]
cmp dword [r8 + 0x60], 0
mov rax, qword [rdx + 0x38]
mov ecx, dword [rax + 0x10]
mov dword [rdx + 0x10], ecx
jne 0x1400d7dbe
mov r8, qword [rax + 8]
mov qword [rdx + 8], r8
mov rax, qword [rax]
mov qword [rbx + 0x18], rax
xor eax, eax
test ecx, ecx
sete al
mov dword [rbx + 8], eax
jmp 0x1400d7ddc
mov rdx, rbx
mov rcx, rsi
call fcn.1400d8240
xor eax, eax
jmp 0x1400d7dfb
mov rdx, rbx
mov rcx, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400d8190
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [rdx + 0x18]
mov rbp, rcx
mov rbx, rdx
xor ecx, ecx
xor r12d, r12d
mov r13d, 1
mov dword [rbx + 8], ecx
cmp dword [rbx + 0x28], r12d
jle 0x1400d8153
mov rsi, qword [rbx + r12*8 + 0x30]
mov rdx, rdi
mov ecx, dword [rbp + 0x18]
mov r8, qword [rsi + 0x18]
call fcn.1400e0760
test eax, eax
jle 0x1400d811f
mov r9, rdi
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [rsi + 0x10]
test eax, eax
je 0x1400d811f
xor edx, edx
mov dword [rbx + 8], edx
jmp 0x1400d8176
mov eax, dword [rsi + 4]
test eax, eax
je 0x1400d8130
mov rcx, rbx
call fcn.1400d8c80
jmp 0x1400d815c
mov rdx, qword [rsi + 0x18]
cmp rdx, rdi
cmove eax, r13d
cmp dword [rsi + 8], 0
je 0x1400d8148
mov dword [rbx + 8], 1
inc r12
mov r13d, eax
mov rdi, rdx
jmp 0x1400d80e4
test r13d, r13d
je 0x1400d80d6
cmp dword [rbx + 8], 0
je 0x1400d8170
cmp qword [rbp + 0x10], rbx
je 0x1400d8170
mov rcx, rbx
call fcn.1400d89e0
mov qword [rbx + 0x18], rdi
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov r14, qword [rdx + 0x20]
mov r12, rcx
mov rcx, qword [r14 + 0x18]
mov qword [rsp + 0x1b8], rdx
mov esi, dword [r12 + 0x18]
cmp qword [rcx + 0x40], 0
je 0x1400d82f5
add rcx, 0x20
xor r8d, r8d
mov edx, esi
call fcn.1400d8eb0
mov r13, rax
jmp 0x1400d82fc
mov rax, qword [rcx + 0x38]
mov r13, qword [rax]
xor ebx, ebx
xor ebp, ebp
mov dword [rsp + 0x30], 1
cmp dword [r14 + 0x10], ebp
jle 0x1400d846d
mov r15, qword [r14 + rbp*8 + 0x18]
xor eax, eax
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rdi, [r15 + 0x20]
mov eax, dword [rsp + 0x38]
cmp dword [r15 + 0x18], eax
jle 0x1400d8465
cmp qword [rdi + 0x20], 0
je 0x1400d83f6
xor r8d, r8d
mov edx, esi
mov rcx, rdi
call fcn.1400d8eb0
cmp rax, r13
je 0x1400d8458
xor eax, eax
mov r8, rdi
mov dword [rsp + 0xa0], eax
mov rcx, qword [r8 + 0x18]
xor eax, eax
cmp byte [rcx + 0x14], 0
jne 0x1400d83a0
test esi, esi
mov rax, qword [rcx]
jne 0x1400d8385
cmp rax, r13
jl 0x1400d838a
test esi, esi
je 0x1400d839e
cmp rax, r13
jle 0x1400d839e
mov rdx, r13
mov qword [rsp + 0x30], r8
call fcn.140120120
mov r8, qword [rsp + 0x30]
jmp 0x1400d83a0
xor eax, eax
test eax, eax
mov r8, qword [r8 + 0x20]
jne 0x1400d83b1
test r8, r8
jne 0x1400d8369
test eax, eax
je 0x1400d83c0
mov dword [rsp + 0xa0], 1
mov ebx, eax
jmp 0x1400d83d2
mov r8, qword [rsp + 0x40]
mov edx, esi
mov rcx, rdi
call fcn.1400d8eb0
mov r13, rax
mov eax, dword [rsp + 0xa0]
test eax, eax
mov dword [rsp + 0x30], eax
je 0x1400d8458
mov rax, qword [rsp + 0x1b8]
mov qword [rax + 4], 1
jmp 0x1400d89ca
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
cmp rax, r13
je 0x1400d8458
cmp byte [rcx + 0x14], 0
jne 0x1400d8458
test esi, esi
jne 0x1400d8415
cmp rax, r13
jl 0x1400d841a
test esi, esi
je 0x1400d844f
cmp rax, r13
jle 0x1400d844f
mov rdx, r13
mov qword [rsp + 0x30], rcx
call fcn.140120120
test eax, eax
jne 0x1400d8436
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + 0x14], 0
je 0x1400d844c
mov rbx, qword [rsp + 0x1b8]
mov dword [rbx + 4], 1
mov ebx, eax
jmp 0x1400d89ca
mov rax, qword [rcx]
mov r13, rax
xor eax, eax
mov dword [rsp + 0x30], eax
inc dword [rsp + 0x38]
add rdi, 0x28
jmp 0x1400d832e
inc rbp
jmp 0x1400d8308
cmp dword [rsp + 0x30], 0
je 0x1400d82fe
mov rax, qword [rsp + 0x1b8]
xor r14d, r14d
mov dword [rsp + 0x78], ebx
mov rsi, qword [rsp + 0x1b8]
mov qword [rax + 0x18], r13
mov rax, qword [r12 + 8]
mov rbp, qword [rsi + 0x20]
mov r12d, dword [rax + 0x60]
test r12d, r12d
je 0x1400d853e
mov rax, qword [rbp + 0x18]
xor edi, edi
mov dword [rax + 0x10], edi
lea rdx, [rax + 0x20]
mov rcx, qword [rdx + 0x18]
cmp byte [rcx + 0x14], 0
jne 0x1400d84d2
cmp qword [rcx], r13
jne 0x1400d84d2
cmp dword [rcx + 0x10], 0
jle 0x1400d84d2
mov dword [rax + 0x10], 1
mov rdx, qword [rdx + 0x20]
test rdx, rdx
jne 0x1400d84b6
xor r12d, r12d
cmp dword [rax + 0x10], 0
jne 0x1400d89be
jmp 0x1400d89b5
cmp eax, r14d
jle 0x1400d854b
mov rbx, qword [rbp + r14*8 + 0x18]
movsxd rcx, dword [rbx + 0x18]
mov al, byte [rbx + 0x21]
cmp ecx, 1
mov byte [rsp + 0x6b], al
jle 0x1400d8561
xor r11d, r11d
xor esi, esi
cmp ecx, 4
mov qword [rsp + 0x80], r11
mov dword [rbx + 0x10], esi
jle 0x1400d8578
shl rcx, 5
call fcn.140151e80
mov rsi, rax
mov eax, 7
test rsi, rsi
jne 0x1400d8580
test r13d, r13d
mov dword [rsp + 0x78], eax
je 0x1400d854b
inc r14
mov r13d, dword [rsp + 0x78]
mov eax, dword [rbp + 0x10]
test r13d, r13d
je 0x1400d84ed
movsxd rdx, dword [rbp + 0x10]
mov ebx, dword [rsp + 0x78]
cmp edx, r14d
je 0x1400d87fc
jmp 0x1400d89b5
cmp qword [rbx + 0x40], 0
jne 0x1400d8507
cmp qword [rbp + 8], 0
jne 0x1400d8507
test al, al
jne 0x1400d8507
jmp 0x1400d87dd
lea rsi, [rsp + 0xa0]
movsxd rcx, dword [rbx + 0x18]
xor eax, eax
mov rdi, rsi
xor r10d, r10d
mov r15, rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], r10d
shl rcx, 5
rep stosb byte [rdi], al
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x7c]
lea rdi, [rbx + 0x20]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x40]
cmp eax, dword [rbx + 0x18]
jge 0x1400d86ed
xor r8d, r8d
xor r9d, r9d
cmp qword [rdi + 0x20], 0
mov dword [rsp + 0x7c], r8d
mov qword [rsp + 0x88], r9
je 0x1400d865e
mov rax, qword [rsp + 0x1b8]
xor ecx, ecx
mov r9, qword [rsp + 0x48]
mov qword [rsp + 0x90], rcx
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x98], rcx
mov rcx, rdi
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.1400d8cb0
test eax, eax
je 0x1400d8646
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x38], eax
call fcn.140150f20
mov eax, dword [rsp + 0x38]
jmp 0x1400d8789
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x90], rax
sete al
movzx eax, al
jmp 0x1400d8677
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 8]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x7c], eax
xor eax, eax
mov r9, qword [rsp + 0x38]
mov dword [rsp + 0x6c], eax
add rdi, 0x28
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x88]
mov r8, r9
mov qword [rsp + 0x60], r9
call fcn.140120c30
mov rdx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x6c]
mov r9, qword [rsp + 0x60]
add qword [rsp + 0x38], 0x20
mov byte [rdx + 0x10], al
cmp byte [r9 + 0x11], 0
jne 0x1400d8787
inc dword [rsp + 0x40]
jmp 0x1400d85c7
mov rcx, rdx
mov qword [rsp + 0x38], rdx
call fcn.140120c60
mov rdx, qword [rsp + 0x38]
add rdx, 0x20
test eax, eax
jne 0x1400d8787
inc edi
cmp edi, dword [rbx + 0x18]
jl 0x1400d86c8
mov r8, qword [rsi + 0x18]
mov eax, dword [rsp + 0x30]
mov rdx, rsi
xor edi, edi
cmp dword [rbx + 0x18], edi
jle 0x1400d8754
lea r9, [rdi + r8]
cmp r9, qword [rdx + 0x18]
je 0x1400d874b
mov rcx, qword [rdx + 0x18]
cmp r9, rcx
jle 0x1400d873e
mov rcx, rdx
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
call fcn.140120c60
mov rdx, qword [rsp + 0x38]
test eax, eax
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
je 0x1400d8709
jmp 0x1400d8787
mov eax, 0
jge 0x1400d874b
sub rcx, rdi
mov r8, rcx
inc rdi
add rdx, 0x20
jmp 0x1400d86fa
test eax, eax
je 0x1400d86f1
cmp byte [rsp + 0x6b], 0
je 0x1400d8768
test r8d, 0x7fffffff
jne 0x1400d877d
lea rdx, [rsp + 0x80]
lea rcx, [rbx + 8]
call fcn.140120d10
test eax, eax
jne 0x1400d8789
mov rdx, rsi
xor edi, edi
jmp 0x1400d86e8
xor eax, eax
mov edi, dword [rbx + 0x10]
cmp r13d, dword [rbx + 0x18]
jge 0x1400d87b2
cmp byte [r15 + 0x10], 0
je 0x1400d87a9
mov rcx, qword [r15]
mov dword [rsp + 0x38], eax
call fcn.140150f20
mov eax, dword [rsp + 0x38]
inc r13d
add r15, 0x20
jmp 0x1400d878c
lea rdx, [rsp + 0xa0]
cmp rsi, rdx
je 0x1400d87cf
mov rcx, rsi
mov dword [rsp + 0x38], eax
call fcn.140150f20
mov eax, dword [rsp + 0x38]
xor r13d, r13d
test edi, edi
setg r13b
jmp 0x1400d8532
mov rax, qword [rbx + 0x38]
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x78]
mov r9, qword [rax + 8]
mov r8d, dword [rax + 0x10]
call fcn.14011d410
jmp 0x1400d853b
cmp edx, 1
je 0x1400d89be
cmp edx, 4
mov dword [rsp + 0x90], ebx
jle 0x1400d8827
imul rdx, rdx, 0x30
lea rcx, [rsp + 0x90]
call fcn.140120200
mov rsi, rax
jmp 0x1400d883b
lea rsi, [rsp + 0xa0]
mov ecx, 0x30
xor eax, eax
mov rdi, rsi
rep stosd dword [rdi], eax
mov ebx, dword [rsp + 0x90]
test ebx, ebx
jne 0x1400d89b5
mov r12, rsi
xor r15d, r15d
xor r13d, r13d
cmp dword [rbp + 0x10], r15d
jle 0x1400d88f3
mov r14, qword [rbp + r15*8 + 0x18]
lea rdx, [r12 + 0xc]
mov eax, r13d
inc r15
mov rdi, rdx
mov ecx, 5
mov r8d, dword [r14 + 0x10]
add r14, 8
mov r9, qword [r14]
rep stosd dword [rdi], eax
mov rcx, r12
mov dword [r12 + 8], r8d
mov qword [r12], r9
call fcn.1400dd6d0
mov rcx, r12
add r12, 0x30
call fcn.1400dd6d0
xor edx, edx
mov dword [r14 + 8], edx
mov qword [r12 - 8], r14
jmp 0x1400d8853
mov eax, dword [rsp + 0x30]
mov r12, rsi
xor r14d, r14d
cmp dword [rbp + 0x10], r14d
jg 0x1400d88f9
test eax, eax
je 0x1400d88ac
lea rdi, [rsi + 0x20]
xor r12d, r12d
mov edx, dword [rbp + 0x10]
cmp r12d, edx
jl 0x1400d896b
mov r8, qword [rsi + 0x18]
xor ecx, ecx
xor eax, eax
cmp edx, eax
jg 0x1400d8992
imul rcx, rcx, 0x30
add rcx, rsi
call fcn.1400dd6d0
test eax, eax
jne 0x1400d8938
mov rdi, qword [rsi + 0x10]
jmp 0x1400d88ac
mov rdx, qword [rbp + r14*8 + 0x18]
mov r13, rdi
movsxd rdx, dword [rdx + 0x18]
sub r13, rdx
movsxd rdx, dword [rbp]
sub r13, rdx
mov rdx, qword [r12 + 0x10]
cmp r13, rdx
jg 0x1400d892c
cmp rdi, rdx
jge 0x1400d895f
jmp 0x1400d892c
mov rcx, r12
call fcn.1400dd6d0
test eax, eax
jne 0x1400d8938
mov rax, qword [r12 + 0x10]
cmp r13, rax
jg 0x1400d8920
jmp 0x1400d8956
mov rax, qword [rsi + 0x28]
mov edi, dword [rax + 8]
lea rax, [rsp + 0xa0]
cmp rsi, rax
je 0x1400d89ae
mov rcx, rsi
call fcn.140150f20
jmp 0x1400d89ae
cmp rdi, rax
cmovl rdi, rax
xor eax, eax
inc r14
add r12, 0x30
jmp 0x1400d88b6
mov rcx, qword [rdi + 8]
mov r8, qword [rdi - 0x10]
cmp dword [rcx + 8], 0
je 0x1400d897e
cmp r8, qword [rdi]
je 0x1400d8986
mov rdx, rdi
call fcn.140120d10
inc r12d
add rdi, 0x30
jmp 0x1400d88c7
imul r9, rax, 0x30
mov r9, qword [rsi + r9 + 0x18]
cmp r9, r8
jge 0x1400d89a6
movsxd rcx, eax
mov r8, r9
inc rax
jmp 0x1400d88db
xor r12d, r12d
test edi, edi
jg 0x1400d89be
xor r12d, r12d
test ebx, ebx
sete r12b
mov rax, qword [rsp + 0x1b8]
mov dword [rax + 8], r12d
mov eax, ebx
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret