Function at 0x1401ed650
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 0x1401ed69e
mov rcx, rdx
call fcn.1401e5010
mov rdx, qword [rsi + 0x28]
mov qword [rsi + 0xd0], 0
lea r13, [rsi + 0x30]
cmp rdx, r13
je 0x1401ed6c1
mov rcx, rdx
call fcn.1401e5010
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 0x1401ed722
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 0x1401ed76c
call fcn.140211b10
jmp 0x1401ed771
lea rbx, [0x1403afb10]
mov rcx, rbx
call fcn.14021c3b0
mov rdi, qword [0x1403afaf0]
mov rcx, rbx
call fcn.14021c3f0
test rdi, rdi
jne 0x1401ed75c
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.1401ed340
mov rdi, rax
mov rcx, rsi
mov rdx, rdi
call fcn.1401ee130
jmp 0x1401eda02
call fcn.140211250
mov edi, eax
cmp dword [rsp + 0x2c], 0xf
je 0x1401ed782
cmp edi, 0x9d
jl 0x1401ed7c6
inc edi
movsxd rcx, edi
call fcn.1401e4f40
mov qword [rsi + 0x28], rax
test rax, rax
je 0x1401ed7b6
mov dword [rsp + 0x2c], 0
lea r9, [rsp + 0x2c]
mov rcx, r14
mov rdx, rax
mov r8d, edi
test bl, bl
je 0x1401ed7bf
call fcn.140211b10
jmp 0x1401ed7c4
mov qword [rsi + 0x28], r13
jmp 0x1401ed9b5
call fcn.140211250
mov edi, eax
mov eax, dword [rsp + 0x2c]
test eax, eax
jg 0x1401ed9b5
cmp eax, 0xffffff84
je 0x1401ed9b5
mov dword [rsi + 0x20], edi
mov r14, qword [rsi + 0x28]
mov qword [rsp + 0x90], r14
mov rcx, r14
mov edx, 0x40
call fcn.140269298
mov r12, rax
mov rcx, r14
mov edx, 0x5f
call fcn.140269298
test rax, rax
je 0x1401ed81e
test r12, r12
je 0x1401ed92b
cmp rax, r12
jb 0x1401ed92b
xor ebp, ebp
mov r15, r14
mov rcx, r15
mov edx, 0x40
call fcn.140269298
mov r12, rax
mov rcx, r15
mov edx, 0x2e
call fcn.140269298
mov rcx, r12
or rcx, rax
je 0x1401ed863
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 0x1401ed86b
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 0x1401ed9b5
test edi, edi
jle 0x1401ed894
lea rcx, [rsi + 8]
mov rdx, r14
mov r8, rdi
call fcn.1402695f0
mov byte [rsi + rdi + 8], 0
mov eax, dword [rsp + 0x74]
mov ebp, 1
cmp eax, 4
jne 0x1401ed904
mov rdi, qword [rsp + 0x98]
movzx ecx, byte [rdi]
call fcn.1401e5040
mov ebp, 1
test al, al
je 0x1401ed983
movzx ecx, byte [rdi + 1]
call fcn.1401e5040
test al, al
je 0x1401ed983
movzx ecx, byte [rdi + 2]
call fcn.1401e5040
test al, al
je 0x1401ed983
movzx ecx, byte [rdi + 3]
call fcn.1401e5040
test al, al
je 0x1401ed983
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 0x1401ed97d
lea rcx, [rsi + 0x1a]
mov edx, ebp
mov rdx, qword [rsp + rdx*8 + 0x90]
mov edi, eax
mov r8, rdi
call fcn.1402695f0
mov byte [rsi + rdi + 0x1a], 0
jmp 0x1401ed981
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.140269298
cmp rbp, 2
ja 0x1401ed823
test rax, rax
je 0x1401ed823
lea rcx, [rbp + 1]
test r12, r12
je 0x1401ed930
cmp rax, r12
jb 0x1401ed930
jmp 0x1401ed823
test eax, eax
jne 0x1401ed983
inc ebp
mov eax, ebp
cmp dword [rsp + rax*4 + 0x70], 0
jle 0x1401ed999
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.1401f02b0
cmp dword [rsp + 0x2c], 0
jle 0x1401eda29
mov rcx, qword [rsi + 0xd0]
cmp rcx, qword [rsi + 0x28]
je 0x1401ed9cb
call fcn.1401e5010
mov rcx, qword [rsi + 0x28]
mov qword [rsi + 0xd0], 0
cmp rcx, r13
je 0x1401ed9e4
call fcn.1401e5010
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.140265f80
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 0x1401eda02
mov rdi, qword [rsi + 0x28]
lea rdx, [0x14033c47c]
mov rcx, rdi
call fcn.140277b20
test eax, eax
je 0x1401eda02
lea rdx, [0x14033a160]
mov rcx, rdi
call fcn.140277b20
test eax, eax
je 0x1401eda02
lea rdx, [0x14033c4f4]
mov rcx, rdi
call fcn.140277b20
test eax, eax
je 0x1401eda02
mov eax, dword [0x1403afb88]
cmp eax, 2
je 0x1401edb16
lea rcx, [0x1403afb88]
call fcn.14021c410
test al, al
je 0x1401edb16
lea rdx, [0x1401f1b00]
mov ecx, 8
call fcn.14020ab50
lea rcx, [fcn.14020ec70]
lea rdx, [fcn.14020ed20]
lea r9, [rsp + 0x2c]
xor r8d, r8d
call fcn.14020dc20
mov rbx, rax
mov eax, dword [rsp + 0x2c]
test eax, eax
jg 0x1401edb03
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.14020e8e0
mov eax, dword [rsp + 0x2c]
cmp r12, 0xaf
ja 0x1401edaff
inc r12
add r15, 8
test eax, eax
jle 0x1401edad3
test eax, eax
jle 0x1401edb26
test rbx, rbx
je 0x1401edb2d
mov rcx, rbx
call fcn.14020e020
mov eax, dword [rsp + 0x2c]
jmp 0x1401edb2d
mov eax, dword [0x1403afb8c]
test eax, eax
jle 0x1401edb3f
mov dword [rsp + 0x2c], eax
jmp 0x1401edb46
mov qword [0x1403afb80], rbx
mov dword [0x1403afb8c], eax
lea rcx, [0x1403afb88]
call fcn.14021c510
cmp dword [rsp + 0x2c], 0
jle 0x1401edbaf
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.1401ee3b0
test al, al
je 0x1401edb8d
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
xor r8d, r8d
call fcn.1401ed650
mov edi, dword [rsp + 0x2c]
cmp byte [rsp + 0x3c], 0
je 0x1401edba2
mov rcx, qword [rsp + 0x30]
call fcn.1401e5010
test edi, edi
jg 0x1401ed9b5
jmp 0x1401eda02
mov rcx, qword [0x1403afb80]
mov rdx, rdi
call fcn.14020e520
test eax, eax
jne 0x1401eda02
jmp 0x1401edb46