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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov byte [rcx + 0xd8], 0
mov rdx, qword [rcx + 0xd0]
cmp rdx, qword [rcx + 0x28]
je 0x1401ed6ae
mov rcx, rdx
call fcn.1401e5020
mov rdx, qword [rsi + 0x28]
mov qword [rsi + 0xd0], 0
lea r13, [rsi + 0x30]
cmp rdx, r13
je 0x1401ed6d1
mov rcx, rdx
call fcn.1401e5020
mov qword [rsi + 0x28], r13
mov rdx, r13
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xb0], 0
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x80], 0
test r14, r14
je 0x1401ed732
mov byte [rsi + 0x1a], 0
mov byte [rsi + 0x14], 0
mov byte [rsi + 8], 0
mov dword [rsp + 0x2c], 0
lea r9, [rsp + 0x2c]
mov rcx, r14
mov r8d, 0x9d
test bl, bl
je 0x1401ed77c
call fcn.140211b20
jmp 0x1401ed781
lea rbx, [0x1403afb10]
mov rcx, rbx
call fcn.14021c3c0
mov rdi, qword [0x1403afaf0]
mov rcx, rbx
call fcn.14021c400
test rdi, rdi
jne 0x1401ed76c
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.1401ed350
mov rdi, rax
mov rcx, rsi
mov rdx, rdi
call fcn.1401ee140
jmp 0x1401eda12
call fcn.140211260
mov edi, eax
cmp dword [rsp + 0x2c], 0xf
je 0x1401ed792
cmp edi, 0x9d
jl 0x1401ed7d6
inc edi
movsxd rcx, edi
call fcn.1401e4f50
mov qword [rsi + 0x28], rax
test rax, rax
je 0x1401ed7c6
mov dword [rsp + 0x2c], 0
lea r9, [rsp + 0x2c]
mov rcx, r14
mov rdx, rax
mov r8d, edi
test bl, bl
je 0x1401ed7cf
call fcn.140211b20
jmp 0x1401ed7d4
mov qword [rsi + 0x28], r13
jmp 0x1401ed9c5
call fcn.140211260
mov edi, eax
mov eax, dword [rsp + 0x2c]
test eax, eax
jg 0x1401ed9c5
cmp eax, 0xffffff84
je 0x1401ed9c5
mov dword [rsi + 0x20], edi
mov r14, qword [rsi + 0x28]
mov qword [rsp + 0x90], r14
mov rcx, r14
mov edx, 0x40
call fcn.1402692a8
mov r12, rax
mov rcx, r14
mov edx, 0x5f
call fcn.1402692a8
test rax, rax
je 0x1401ed82e
test r12, r12
je 0x1401ed93b
cmp rax, r12
jb 0x1401ed93b
xor ebp, ebp
mov r15, r14
mov rcx, r15
mov edx, 0x40
call fcn.1402692a8
mov r12, rax
mov rcx, r15
mov edx, 0x2e
call fcn.1402692a8
mov rcx, r12
or rcx, rax
je 0x1401ed873
cmp r12, rax
mov edi, r12d
cmova edi, eax
test rax, rax
cmove edi, r12d
test r12, r12
cmove edi, eax
sub edi, r15d
jmp 0x1401ed87b
mov eax, r14d
sub eax, r15d
add edi, eax
mov dword [rsp + rbp*4 + 0x70], edi
mov edi, dword [rsp + 0x70]
cmp edi, 0xb
jg 0x1401ed9c5
test edi, edi
jle 0x1401ed8a4
lea rcx, [rsi + 8]
mov rdx, r14
mov r8, rdi
call fcn.140269600
mov byte [rsi + rdi + 8], 0
mov eax, dword [rsp + 0x74]
mov ebp, 1
cmp eax, 4
jne 0x1401ed914
mov rdi, qword [rsp + 0x98]
movzx ecx, byte [rdi]
call fcn.1401e5050
mov ebp, 1
test al, al
je 0x1401ed993
movzx ecx, byte [rdi + 1]
call fcn.1401e5050
test al, al
je 0x1401ed993
movzx ecx, byte [rdi + 2]
call fcn.1401e5050
test al, al
je 0x1401ed993
movzx ecx, byte [rdi + 3]
call fcn.1401e5050
test al, al
je 0x1401ed993
mov eax, dword [rdi]
mov dword [rsi + 0x14], eax
mov byte [rsi + 0x18], 0
mov ebp, 2
mov eax, dword [rsp + 0x78]
lea ecx, [rax - 2]
cmp ecx, 2
jae 0x1401ed98d
lea rcx, [rsi + 0x1a]
mov edx, ebp
mov rdx, qword [rsp + rdx*8 + 0x90]
mov edi, eax
mov r8, rdi
call fcn.140269600
mov byte [rsi + rdi + 0x1a], 0
jmp 0x1401ed991
mov ecx, 1
mov rbp, rcx
lea r15, [rax + 1]
mov qword [rsp + rcx*8 + 0x90], r15
sub eax, dword [rsp + rcx*8 + 0x88]
mov dword [rsp + rcx*4 + 0x6c], eax
mov rcx, r15
mov edx, 0x5f
call fcn.1402692a8
cmp rbp, 2
ja 0x1401ed833
test rax, rax
je 0x1401ed833
lea rcx, [rbp + 1]
test r12, r12
je 0x1401ed940
cmp rax, r12
jb 0x1401ed940
jmp 0x1401ed833
test eax, eax
jne 0x1401ed993
inc ebp
mov eax, ebp
cmp dword [rsp + rax*4 + 0x70], 0
jle 0x1401ed9a9
mov eax, dword [rsp + rax*8 + 0x90]
sub eax, dword [rsi + 0x28]
mov dword [rsi + 0x20], eax
mov dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call fcn.1401f02c0
cmp dword [rsp + 0x2c], 0
jle 0x1401eda39
mov rcx, qword [rsi + 0xd0]
cmp rcx, qword [rsi + 0x28]
je 0x1401ed9db
call fcn.1401e5020
mov rcx, qword [rsi + 0x28]
mov qword [rsi + 0xd0], 0
cmp rcx, r13
je 0x1401ed9f4
call fcn.1401e5020
mov qword [rsi + 0x28], r13
mov byte [rsi + 0x30], 0
mov byte [rsi + 8], 0
mov byte [rsi + 0x14], 0
mov byte [rsi + 0x1a], 0
mov byte [rsi + 0xd8], 1
mov dword [rsi + 0x20], 0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140265f90
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test bl, bl
je 0x1401eda12
mov rdi, qword [rsi + 0x28]
lea rdx, [0x14033c47c]
mov rcx, rdi
call fcn.140277b30
test eax, eax
je 0x1401eda12
lea rdx, [0x14033a160]
mov rcx, rdi
call fcn.140277b30
test eax, eax
je 0x1401eda12
lea rdx, [0x14033c4f4]
mov rcx, rdi
call fcn.140277b30
test eax, eax
je 0x1401eda12
mov eax, dword [0x1403afb88]
cmp eax, 2
je 0x1401edb26
lea rcx, [0x1403afb88]
call fcn.14021c420
test al, al
je 0x1401edb26
lea rdx, [0x1401f1b10]
mov ecx, 8
call fcn.14020ab60
lea rcx, [fcn.14020ec80]
lea rdx, [fcn.14020ed30]
lea r9, [rsp + 0x2c]
xor r8d, r8d
call fcn.14020dc30
mov rbx, rax
mov eax, dword [rsp + 0x2c]
test eax, eax
jg 0x1401edb13
lea r15, [0x14033bdc0]
xor r12d, r12d
lea r14, [rsp + 0x2c]
mov rdx, qword [r15]
mov rcx, rbx
mov r8d, 1
mov r9, r14
call fcn.14020e8f0
mov eax, dword [rsp + 0x2c]
cmp r12, 0xaf
ja 0x1401edb0f
inc r12
add r15, 8
test eax, eax
jle 0x1401edae3
test eax, eax
jle 0x1401edb36
test rbx, rbx
je 0x1401edb3d
mov rcx, rbx
call fcn.14020e030
mov eax, dword [rsp + 0x2c]
jmp 0x1401edb3d
mov eax, dword [0x1403afb8c]
test eax, eax
jle 0x1401edb4f
mov dword [rsp + 0x2c], eax
jmp 0x1401edb56
mov qword [0x1403afb80], rbx
mov dword [0x1403afb8c], eax
lea rcx, [0x1403afb88]
call fcn.14021c520
cmp dword [rsp + 0x2c], 0
jle 0x1401edbbf
lea rax, [rsp + 0x3d]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x28
mov word [rsp + 0x3c], 0
mov dword [rsp + 0x68], 0
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rsi
call fcn.1401ee3c0
test al, al
je 0x1401edb9d
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
xor r8d, r8d
call fcn.1401ed660
mov edi, dword [rsp + 0x2c]
cmp byte [rsp + 0x3c], 0
je 0x1401edbb2
mov rcx, qword [rsp + 0x30]
call fcn.1401e5020
test edi, edi
jg 0x1401ed9c5
jmp 0x1401eda12
mov rcx, qword [0x1403afb80]
mov rdx, rdi
call fcn.14020e530
test eax, eax
jne 0x1401eda12
jmp 0x1401edb56