Function at 0x1400dad70
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, 0x148
mov eax, dword [rcx + 0x40]
test eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
je 0x1400dad99
mov dword [rcx + 0x3c], eax
jmp 0x1400db563
cmp dword [rcx + 0x20], 0
jne 0x1400dada9
cmp dword [rcx + 0x34], 0
je 0x1400db563
mov rax, qword [rbx + 0x18]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x98], r9d
mov qword [rsp + 0x30], rax
call fcn.1400e32a0
mov rcx, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xa8], rax
call fcn.1400e30e0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
je 0x1400db42f
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400d49c0
test eax, eax
mov dword [rsp + 0x64], eax
je 0x1400db42f
mov rax, qword [rbx]
mov rcx, rbx
mov r8d, dword [rsp + 0x64]
mov edi, dword [rax + 0x90]
mov dword [rsp + 0x44], edi
mov edi, dword [rax + 0x60]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0xc8]
mov rdx, rax
mov qword [rsp + 0x38], rax
call fcn.1400e66c0
cmp dword [rbx + 0x3c], 0
jne 0x1400db370
mov rax, qword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea r9, [rax + 0x18]
mov rcx, rax
call fcn.1400da800
mov dword [rbx + 0x3c], eax
mov r12d, dword [rbx + 0x3c]
test r12d, r12d
jne 0x1400db370
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0
je 0x1400db370
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0x9c]
call fcn.14011e840
cmp dword [rsp + 0x60], 0
jne 0x1400daf2f
mov r9, qword [rsp + 0xb0]
mov rcx, rbx
mov r8d, dword [rsp + 0x9c]
mov rdx, qword [rsp + 0x38]
call fcn.1400e6070
cmp dword [rbx + 0x3c], 0
jne 0x1400db370
mov eax, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xf0]
mov r8d, dword [rsp + 0xa0]
add edx, eax
add edx, r8d
cmp dword [rsp + 0x44], edx
jle 0x1400daf2f
movsxd rdx, eax
add rdx, qword [rsp + 0xd8]
movsxd rcx, r8d
add eax, r8d
mov rsi, qword [rsp + 0xb8]
mov dword [rsp + 0xe0], eax
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
cmp dword [rbx + 0x3c], 0
je 0x1400db355
jmp 0x1400dae60
xor eax, eax
cmp dword [rsp + 0x60], 0
sete al
xor r8d, r8d
xor r14d, r14d
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x80], rax
cmp dword [rbx + 0x3c], 0
mov rdi, qword [rsp + 0xa8]
jne 0x1400dae60
mov r13d, dword [rsp + 0xa0]
cmp r12d, r13d
jge 0x1400db355
mov r15, qword [rsp + 0xb8]
movsxd rcx, r12d
mov rdx, qword [rsp + 0x80]
add rcx, r15
call fcn.14011e5d0
movzx ebp, al
mov rax, qword [rsp + 0x50]
add ebp, r12d
add rax, qword [rsp + 0xc0]
cmp dword [rsp + 0x60], 0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
je 0x1400db06e
cmp dword [rsp + 0x68], 1
jne 0x1400db02a
cmp ebp, r13d
jge 0x1400db06e
movsxd rax, ebp
cmp byte [r15 + rax], 0
jne 0x1400db06e
mov rax, qword [rsp + 0x50]
lea r12d, [rbp + 1]
mov rdx, rdi
mov rcx, rbx
mov r9d, dword [rsp + 0x9c]
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.1400d98b0
cmp r13d, r12d
jle 0x1400daf58
movsxd rax, r12d
cmp byte [r15 + rax], 0
jne 0x1400daf58
xor ecx, ecx
add ebp, 2
mov dword [rsp + 0xa0], ecx
jmp 0x1400db06e
movsxd rsi, ebp
add rsi, r15
test byte [rsi], 1
je 0x1400db06e
mov rax, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
mov r9d, dword [rsp + 0x9c]
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.1400d98b0
cmp dword [rbx + 0x3c], 0
jne 0x1400db065
cmp byte [rsi], 1
jne 0x1400db06e
lea r12d, [rbp + 1]
jmp 0x1400daf58
mov eax, dword [rsp + 0x6c]
or eax, dword [rbx + 0x3c]
jne 0x1400db09c
mov r9, qword [rsp + 0xb0]
mov rcx, rbx
mov r8d, dword [rsp + 0x9c]
mov rdx, qword [rsp + 0x38]
call fcn.1400e6070
mov dword [rsp + 0x6c], 1
movsxd rcx, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov eax, dword [rsp + 0xe0]
mov r10, rcx
add rcx, rdx
xchg al, ah
cmp byte [rsp + 0x111], 0
je 0x1400db0f8
mov word [rdx], ax
mov rdx, qword [rsp + 0x48]
call fcn.140132eb0
mov r8, qword [rsp + 0x48]
mov rcx, rbx
mov byte [rsp + 0x111], 0
mov rdx, qword [rsp + 0x38]
add eax, r10d
mov dword [rsp + 0xe0], eax
call fcn.1400e6220
jmp 0x1400db10f
mov rdx, qword [rsp + 0x48]
sub rdx, r14
call fcn.140132eb0
add eax, r10d
mov dword [rsp + 0xe0], eax
mov r13d, dword [rbx + 0x3c]
test r13d, r13d
jne 0x1400dae60
cmp dword [rsp + 0x68], 1
jne 0x1400db1b4
mov r9d, dword [rsp + 0xa0]
cmp r9d, ebp
jle 0x1400db18b
movsxd rax, ebp
cmp byte [r15 + rax], 0
jne 0x1400db18b
movsxd rdx, dword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
lea ecx, [rdx + 1]
mov rax, rdx
mov byte [r8 + rdx], 0
lea edx, [rbp + 1]
cmp r9d, edx
mov dword [rsp + 0xe0], ecx
jle 0x1400db189
movsxd r9, edx
cmp byte [r15 + r9], 0
jne 0x1400db189
add eax, 2
movsxd rcx, ecx
add ebp, 2
mov dword [rsp + 0xe0], eax
mov byte [r8 + rcx], 0
jmp 0x1400db18b
mov ebp, edx
mov eax, dword [rsp + 0xf0]
add eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x44], eax
jg 0x1400db1ac
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400e6600
mov r12d, ebp
jmp 0x1400db34b
movsxd rcx, ebp
mov esi, 1
add rcx, r15
movzx edx, byte [rcx]
test dl, dl
mov dword [rsp + 0xa4], edx
jns 0x1400db1dc
lea rdx, [rsp + 0xa4]
call fcn.14011e770
mov esi, eax
mov ecx, dword [rsp + 0xa4]
mov r8d, 2
mov eax, ecx
cdq
idiv r8d
cmp dword [rsp + 0x60], 0
mov r12d, eax
je 0x1400db219
and cl, 1
je 0x1400db219
lea rdx, [rsp + 0xd8]
cdqe
add ebp, esi
lea rcx, [rbx + 0x3c]
lea r8, [rax + rax]
call fcn.14011d3a0
jmp 0x1400db21d
lea r12d, [rax + rsi]
mov eax, dword [rsp + 0xe0]
movsxd rdi, ebp
mov edx, dword [rsp + 0xf0]
mov qword [rsp + 0x78], rdi
add edx, eax
add edx, r12d
cmp dword [rsp + 0x44], edx
jge 0x1400db250
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x70], rax
jmp 0x1400db2f3
movsxd rdx, eax
add rdx, qword [rsp + 0xd8]
movsxd rsi, ebp
add eax, r12d
movsxd rcx, r12d
add rsi, r15
mov dword [rsp + 0xe0], eax
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
jmp 0x1400db348
mov r14d, dword [rsp + 0xe0]
mov r8d, r12d
movsxd rsi, r13d
mov edi, dword [rsp + 0x44]
sub r8d, r13d
mov eax, dword [rsp + 0xf0]
sub edi, r14d
sub edi, eax
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x78]
add rsi, rax
add rsi, r15
cmp edi, r8d
jl 0x1400db2ff
movsxd rax, r14d
add rax, qword [rsp + 0xd8]
add r14d, r8d
add r13d, r8d
movsxd rcx, r8d
mov dword [rsp + 0xe0], r14d
mov rdi, rax
mov eax, dword [rsp + 0x88]
rep movsb byte [rdi], byte [rsi]
add eax, r14d
cmp dword [rsp + 0x44], eax
jg 0x1400db2ee
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400e6600
cmp r12d, r13d
jle 0x1400db348
cmp dword [rbx + 0x3c], 0
je 0x1400db278
jmp 0x1400db348
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
call fcn.14011e770
cmp edi, eax
mov r8d, eax
jle 0x1400db2b0
mov rdx, qword [rsp + 0x70]
movsxd rcx, r8d
mov dword [rsp + 0x8c], r8d
add rcx, rsi
call fcn.14011e770
mov r8d, dword [rsp + 0x8c]
mov edx, eax
mov eax, r8d
add r8d, edx
cmp edi, r8d
jge 0x1400db313
mov r8d, eax
jmp 0x1400db2b0
add r12d, ebp
mov r14, qword [rsp + 0x48]
jmp 0x1400daf58
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 8]
mov qword [rdi + 0x18], rax
jmp 0x1400dae60
lea rdx, [rsp + 0xc8]
mov rcx, rbx
lea r8, [rsp + 0x98]
call fcn.1400e6450
mov ebp, dword [rsp + 0x98]
test ebp, ebp
jle 0x1400db42f
mov rax, qword [rsp + 0x58]
lea rsi, [rbx + 0x3c]
cmp dword [rax + 0x1c], 0
jne 0x1400db3b6
lea rdx, [rsp + 0xa8]
mov rcx, rsi
call fcn.1400e2ef0
mov r12, qword [rsp + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov rdx, r12
call fcn.1400e3050
cmp dword [rbx + 0x3c], 0
jne 0x1400db422
movsxd rax, dword [r12 + 0x24]
mov esi, dword [rsp + 0x64]
lea edx, [rax + 1]
mov dword [r12 + 0x24], edx
imul rax, rax, 0x38
mov rdx, qword [r12 + 0x10]
add rax, qword [r12 + 0x28]
test rdx, rdx
mov dword [rax], esi
mov dword [rax + 4], 1
mov dword [rax + 8], ebp
je 0x1400db41d
movsxd rcx, dword [rbx + 0x38]
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
inc rdx
mov qword [rax + 0x30], rcx
mov qword [r12 + 0x10], rdx
inc dword [r12 + 0x18]
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.1400e3110
cmp dword [rbx + 0x3c], 0
jne 0x1400db49e
mov rax, qword [rbx]
mov r9d, dword [rax + 0x94]
test r9d, r9d
jle 0x1400db49e
mov r10, qword [rsp + 0xa8]
test r10, r10
je 0x1400db49e
mov r8d, dword [rsp + 0x98]
xor edx, edx
add r8d, dword [rbx + 0x34]
mov rcx, qword [r10 + 8]
movsxd r11, dword [rbx + 0x10]
movsxd r8, r8d
add r8, rcx
mov rax, r8
mov qword [r10 + 8], r8
div r11
xor edx, edx
mov r8, rax
mov rax, rcx
div r11
sub r8d, eax
mov rcx, rbx
imul r8d, r11d
lea rdx, [rsp + 0xa8]
imul r8d, dword [r10 + 0x1c]
call fcn.1400db5c0
mov rax, qword [rbx]
mov esi, dword [rax + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
mov qword [rsp + 0xc8], rax
je 0x1400db51c
cmp dword [rax + 0x1c], 0
lea rdi, [rsp + 0xc8]
jle 0x1400db51c
cmp dword [rbx + 0x3c], 0
mov rdx, qword [rsp + 0xc8]
jne 0x1400db514
movsxd rax, dword [rsp + 0x40]
shl rax, 4
cmp esi, dword [rax + rdx + 0x24]
jg 0x1400db514
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, rbx
xor r9d, r9d
call fcn.1400db740
mov r8, qword [rsp + 0xc8]
mov rcx, rbx
inc dword [rsp + 0x40]
mov edx, dword [rsp + 0x40]
call fcn.1400e3110
jmp 0x1400db4ca
mov qword [rsp + 0xa8], rdx
mov rsi, qword [rsp + 0xa8]
mov rcx, rbx
mov rdx, rsi
call fcn.1400e38e0
mov rcx, rsi
call fcn.1400e3890
mov eax, dword [rbx + 0x3c]
test eax, eax
jne 0x1400db554
mov rcx, qword [rbx + 0x18]
call fcn.14011e7f0
xor eax, eax
xor edx, edx
mov dword [rbx + 0x20], eax
mov qword [rbx + 0x34], rdx
jmp 0x1400db563
cmp dword [rbx + 0x20], 0
jne 0x1400db560
cmp dword [rbx + 0x34], 0
je 0x1400db563
mov dword [rbx + 0x40], eax
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret