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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push r12
push r13
sub rsp, 0x90
mov eax, dword [rdx + 0x40]
mov rbx, r8
mov r13, rdx
cmp eax, dword [rbx + 0x40]
jne 0x1400ff329
mov ecx, dword [rdx + 0x44]
cmp ecx, dword [rbx + 0x44]
jne 0x1400ff329
cmp eax, 0x10
jl 0x1400ff317
cmp ecx, 0x10
jl 0x1400ff317
mov eax, dword [rdx + 0x6c]
cmp eax, dword [rbx + 0x6c]
je 0x1400fedf5
mov eax, 0xfefbffff
add rsp, 0x90
pop r13
pop r12
pop rbx
ret
mov r12, qword [rsp + 0xb0]
add eax, 0xfffff900
test eax, 0xfffffeff
jne 0x1400fee2b
cmp dword [r12 + 0x14], 2
jne 0x1400fee19
cmp dword [r12 + 0x18], 0
je 0x1400fee2b
mov eax, 0xfef4ffff
add rsp, 0x90
pop r13
pop r12
pop rbx
ret
cmp dword [r12 + 0x1d0], 0
mov qword [rsp + 0x80], rdi
jne 0x1400fef50
cmp qword [r12 + 0x1c8], 0
jne 0x1400ff0e5
mov ecx, 0xc2f
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400fee7c
lea rbx, [rax + 0x2f]
movabs rcx, 0x27600000000
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rax], rcx
mov qword [r12 + 0x1c8], rbx
test rbx, rbx
jne 0x1400fee93
mov eax, 0xfd84ffe0
jmp 0x1400ff2fb
xor edi, edi
lea r11, [0x14018ecb0]
lea r10, [r12 + 0x148]
nop dword [rax]
nop dword [rax + rax]
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
mov rax, rbx
mov qword [r10], rbx
add rbx, 0xc0
cmp edi, r9d
je 0x1400fef20
mov ecx, r9d
xor ecx, edi
cmp ecx, 1
je 0x1400fef20
mov rdx, r11
mov r8d, 0xc
nop word [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
mov word [rax], cx
mov word [rax + 2], cx
mov word [rax + 4], cx
mov word [rax + 6], cx
mov word [rax + 8], cx
mov word [rax + 0xa], cx
mov word [rax + 0xc], cx
mov word [rax + 0xe], cx
lea rax, [rax + 0x10]
sub r8, 1
jne 0x1400feef0
inc r9d
add r10, 8
add r11, 0x18
cmp r9d, 4
jl 0x1400feec0
inc edi
cmp edi, 4
jl 0x1400feeb0
mov rbx, qword [rsp + 0xc0]
mov dword [r12 + 0x1d0], 1
movsxd rcx, dword [r12 + 0x14]
movsxd rdi, dword [r12 + 0x18]
mov qword [rsp + 0xc8], rbp
mov eax, edi
mov qword [rsp + 0x88], rsi
xor eax, ecx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x60], ecx
cmp eax, 1
jne 0x1400ff0ef
cmp dword [r13 + 0x6c], 0x500
jne 0x1400ff0ef
movsxd rdx, dword [rbx + 0x3c]
mov r10d, 0x128
movsxd rsi, dword [r13 + 0x3c]
movsxd r11, dword [rbx + 0x38]
mov rcx, rsi
movsxd rbp, dword [r13 + 0x38]
mov r14, qword [rbx + 8]
mov rax, rbp
mov r12, qword [rbx + 0x10]
mov r9, qword [rbx + 0x48]
mov r15, qword [r13 + 8]
mov r8, r9
sar rcx, 1
imul rcx, qword [r13 + 0x50]
mov r13, qword [r13 + 0x10]
sar rax, 1
add rcx, rax
mov rax, r11
add r15, rcx
sar rax, 1
add r13, rcx
mov rcx, rdx
sar rcx, 1
imul rcx, qword [rbx + 0x50]
mov rbx, qword [rsp + 0xb8]
add rcx, rax
mov rax, qword [rsp + 0xb0]
add r14, rcx
add r12, rcx
mov rcx, qword [rsp + 0xc0]
mov rbx, qword [rbx + 0x48]
mov edi, dword [rax + 0x10]
mov eax, pe_nt_image_headers64
test edi, edi
cmovne r10d, eax
imul r8, rdx
mov rdx, rbx
add r8, qword [rcx]
mov rcx, rbx
mov rbx, qword [rsp + 0xb0]
add r8, r11
imul rcx, rsi
mov rsi, qword [rsp + 0xb8]
mov eax, dword [rsi + 0x44]
add rcx, qword [rsi]
mov dword [rsp + 0x28], eax
add rcx, rbp
mov eax, dword [rsi + 0x40]
mov dword [rsp + 0x20], eax
mov rax, qword [r10 + rbx]
call qword [case.0x14008f836.32]
test edi, edi
mov ecx, 0x140
mov rdi, qword [rsp + 0xc0]
mov eax, 0x138
cmovne eax, ecx
mov r8, r14
add rbx, rax
mov rcx, r15
mov eax, dword [rsi + 0x44]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, dword [rsi + 0x40]
cdq
mov dword [rsp + 0x28], r9d
mov r9, qword [rdi + 0x50]
sub eax, edx
mov rdx, qword [rsi + 0x50]
sar eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
call qword [case.0x14008f836.32]
mov eax, dword [rsi + 0x44]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, dword [rsi + 0x40]
cdq
sub eax, edx
mov dword [rsp + 0x28], r9d
mov r9, qword [rdi + 0x50]
mov r8, r12
mov rdx, qword [rsi + 0x50]
mov rcx, r13
sar eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rbx]
call qword [case.0x14008f836.32]
jmp 0x1400ff2df
mov eax, 0xfd62fff8
jmp 0x1400ff2fb
mov eax, dword [r13 + 0x6c]
cmp eax, 0x500
jne 0x1400ff1d0
movsxd r11, dword [rbx + 0x3c]
movsxd r8, dword [r13 + 0x3c]
mov r9, r11
mov r15, qword [rbx + 0x48]
mov rdx, r8
movsxd r10, dword [r13 + 0x38]
mov r12, qword [r13 + 0x48]
movsxd rbx, dword [rbx + 0x38]
mov rbp, r12
mov rcx, qword [rsp + 0xc0]
mov r14, qword [r13 + 0x10]
mov rsi, qword [r13 + 8]
sar rdx, 1
imul rdx, qword [r13 + 0x50]
imul rbp, r8
add rdx, r10
sar r9, 1
imul r9, qword [rcx + 0x50]
movsxd rcx, dword [rsp + 0x60]
add r14, rdx
add rbp, r10
add rsi, rdx
mov r10, qword [rsp + 0xc0]
add r9, rbx
add rbp, qword [r13]
lea rdi, [rdi + rcx*4]
mov rcx, r15
imul rcx, r11
mov eax, dword [r10 + 0x44]
mov r8, qword [r10 + 0x10]
add rcx, rbx
mov rdx, qword [r10 + 8]
add r8, r9
add rcx, qword [r10]
add rdx, r9
mov dword [rsp + 0x50], eax
mov r9, r15
mov eax, dword [r10 + 0x40]
mov r10, qword [rsp + 0xb0]
mov dword [rsp + 0x48], eax
mov rax, qword [r10 + rdi*8 + 0x148]
mov qword [rsp + 0x40], rax
mov rax, qword [r10 + 0x120]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbp
call qword [case.0x14008f836.32]
jmp 0x1400ff2df
cmp eax, 0x800
jne 0x1400ff27b
movsxd r9, dword [rbx + 0x3c]
lea r11, [rdi + rcx*4]
mov r14, qword [rbx + 0x50]
mov r15, qword [rbx + 0x48]
movsxd r10, dword [rbx + 0x38]
mov rcx, r15
movsxd rdx, dword [r13 + 0x3c]
mov rax, qword [rsp + 0xc0]
mov rdi, rdx
movsxd r8, dword [r13 + 0x38]
mov rbp, qword [r13 + 0x48]
mov rsi, qword [r13 + 0x50]
mov rbx, rbp
imul rbx, rdx
imul rcx, r9
mov qword [rsp + 0x48], rsi
mov rdx, r9
sar rdx, 1
add rbx, r8
add rbx, qword [r13]
mov r9, r14
sar rdi, 1
mov qword [rsp + 0x40], rbp
imul rdx, r14
imul rdi, rsi
add rdx, qword [rax + 8]
add rcx, r10
add rcx, qword [rax]
add rdx, r10
mov eax, dword [r13 + 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [r13 + 0x40]
add rdi, qword [r13 + 8]
mov dword [rsp + 0x30], eax
add rdi, r8
mov rax, qword [r12 + r11*8 + 0x20]
mov r8, r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
call qword [case.0x14008f836.32]
jmp 0x1400ff2df
cmp eax, 0x700
jne 0x1400ff310
mov r11, qword [r13 + 0x48]
lea r10, [rdi + rcx*4]
mov eax, dword [r13 + 0x38]
movsxd r8, dword [r13 + 0x3c]
add eax, eax
mov rdx, qword [rbx + 0x48]
movsxd rcx, eax
mov eax, dword [rbx + 0x38]
add eax, eax
mov qword [rsp + 0x28], r11
movsxd r9, eax
mov eax, dword [r13 + 0x44]
imul r8, r11
mov dword [rsp + 0x20], eax
mov rax, qword [r12 + r10*8 + 0xa0]
add r8, rcx
movsxd rcx, dword [rbx + 0x3c]
add r8, qword [r13]
imul rcx, rdx
add rcx, r9
mov r9d, dword [r13 + 0x40]
add rcx, qword [rbx]
call qword [case.0x14008f836.32]
xor eax, eax
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x88]
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x90
pop r13
pop r12
pop rbx
ret
mov eax, 0xfeb4ffff
jmp 0x1400ff2e1
mov eax, 0xff00ffff
add rsp, 0x90
pop r13
pop r12
pop rbx
ret
mov eax, 0xff05ffbd
add rsp, 0x90
pop r13
pop r12
pop rbx
ret