Function at 0x1400fe600
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, 0x98
mov rdi, qword [rsp + 0x118]
mov esi, dword [rsp + 0x110]
mov dword [rdx], 1
lea rax, [rsp + 0x60]
lea r13, [rsp + 0x6c]
mov rbx, rdx
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x64]
mov qword [rsp + 0xe0], rcx
mov rcx, rax
mov dword [rsp + 0xf0], r8d
lea r8, [rsp + 0x68]
mov dword [rsp + 0xf8], r9d
mov r9, r13
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r8
call fcn.1400fcc30
mov eax, dword [rsp + 0x64]
mov r10d, dword [rsp + 0x6c]
mov dword [rsp + 0x44], 1
mov edx, eax
shr edx, 0x18
mov dword [rbx + 4], edx
and r10d, 0x10000000
je 0x1400fe6f8
shr eax, 0x10
movzx eax, al
sub eax, 1
mov r10d, eax
je 0x1400fe6f8
test eax, 0xffff0000
jne 0x1400fee50
mov ecx, 1
test al, 0xf0
jne 0x1400fee5b
test r10b, 0xc
je 0x1400fe6db
shr r10d, 2
add ecx, 2
and r10d, 2
je 0x1400fe6e4
add ecx, 1
mov eax, 1
shl eax, cl
mov dword [rsp + 0x44], eax
lea r10d, [rax - 1]
and r10d, edx
shr edx, cl
mov eax, dword [rsp + 0x60]
mov dword [rbx + 8], edx
mov r11d, esi
and r11d, 0xfffffffd
mov edx, eax
mov ecx, eax
mov dword [rsp + 0x3c], r11d
shr edx, 8
shr ecx, 4
and edx, 0xf
and ecx, 0xf
cmp edx, 0xf
jne 0x1400fe730
mov r8d, 0xb
bt r8, rsi
jb 0x1400fee20
mov dword [rbx + 0x88], edx
test esi, esi
jne 0x1400fe8f8
mov r8d, 0x8040
bt r8, rdx
jb 0x1400fe920
and eax, 0xf
mov dword [rbx + 0x84], ecx
mov dword [rbx + 0x80], eax
mov qword [rsp + 0x20], rdi
lea r14, [rsp + 0x80]
lea rbp, [rsp + 0x88]
lea r12, [rsp + 0x8c]
mov r9, rbp
mov rcx, r14
mov dword [rsp + 0x40], r10d
lea r15, [rsp + 0x84]
mov r8, r12
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov rdx, r15
call fcn.1400fcc30
mov r8, qword [rsp + 0x84]
mov r10d, dword [rsp + 0x40]
cmp dword [rsp + 0x100], 0x80000003
mov qword [rbx + 0x40], r8
mov r8d, dword [rsp + 0x8c]
mov dword [rbx + 0x48], r8d
ja 0x1400fed48
cmp dword [rsp + 0x3c], 1
je 0x1400fe9d0
cmp dword [rsp + 0xf8], 3
ja 0x1400fe980
mov r9d, dword [rsp + 0x3c]
test esi, esi
sete al
test r9d, r9d
je 0x1400fea50
cmp dword [rsp + 0x100], 0x80000007
jbe 0x1400fe829
mov rax, qword [rsp + 0x108]
test byte [rax + 0x12], 0x20
je 0x1400fee67
mov rax, qword [rsp + 0x108]
test byte [rax + 0x1a], 0x40
jne 0x1400ff1a0
cmp dword [rsp + 0xf8], 0xa
jbe 0x1400fe85c
cmp esi, 2
ja 0x1400fe85c
mov rax, qword [rsp + 0x108]
test byte [rax + 0x12], 0x20
jne 0x1400ff2e0
mov dword [rbx + 0x34], 0
cmp dword [rsp + 0x3c], 1
mov qword [rbx + 0x38], 0
setne byte [rsp + 0x3c]
mov rax, qword [rsp + 0x108]
test byte [rax + 0x1a], 0x40
jne 0x1400ff010
cmp dword [rsp + 0x100], 0x80000005
ja 0x1400ff210
cmp dword [rsp + 0xf8], 3
ja 0x1400fee10
mov r12d, dword [rbx + 4]
nop word [rax + rax]
mov rax, qword [rsp + 0xe0]
mov edx, r12d
mov r13, qword [rax + 8]
mov rcx, r13
call fcn.1400e7580
test eax, eax
je 0x1400fedf8
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x10], 0
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rsp + 0x3c], 1
jne 0x1400fe904
cmp edx, 0xf
je 0x1400fe920
cmp esi, 2
jne 0x1400fe74e
sub edx, 6
cmp edx, 1
ja 0x1400fe74e
nop dword [rax]
mov edx, eax
and eax, 0xf
shr edx, 0xc
mov dword [rbx + 0x80], eax
and edx, 0xf0
add edx, ecx
mov dword [rbx + 0x84], edx
test esi, esi
jne 0x1400fe75d
cmp dword [rbx + 0x88], 6
jne 0x1400fe75d
cmp edx, 0x57
je 0x1400fe962
cmp edx, 0x85
jne 0x1400fe75d
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x20], 1
jmp 0x1400fe75d
mov qword [rsp + 0x20], rdi
mov r8, qword [rsp + 0x58]
mov r9, r13
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x68], 0
call fcn.1400fcc30
mov eax, dword [rsp + 0x60]
test al, 0x1f
je 0x1400fe9d0
shr eax, 0x1a
lea ecx, [rax + 1]
mov eax, dword [rsp + 0x44]
cmp eax, ecx
jae 0x1400ff32e
nop dword [rax + rax]
cmp dword [rsp + 0xf8], 0x19
jbe 0x1400fe7f7
mov rax, qword [rsp + 0x108]
test byte [rax + 0x49], 0x80
je 0x1400fe7f7
mov qword [rsp + 0x20], rdi
mov rdx, qword [rsp + 0x50]
mov r9, r13
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x60], 0x1a
mov dword [rsp + 0x68], 0
call fcn.1400fcc30
mov eax, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x3c]
mov edx, eax
and eax, 0xffffff
shr edx, 0x18
test esi, esi
mov dword [rbx + 0x90], eax
mov dword [rbx + 0x8c], edx
sete al
test r9d, r9d
jne 0x1400fe80a
nop dword [rax]
cmp dword [rsp + 0xf8], 0x1e
jbe 0x1400fefe0
test al, al
je 0x1400fefe0
mov r8, rdi
mov edx, 0x1f
lea r13, [rsp + 0x7c]
mov rcx, rbx
call fcn.1400fcd60
lea rbp, [rsp + 0x78]
lea r14, [rsp + 0x74]
mov dword [rbx + 0x34], 0
mov qword [rbx + 0x38], 0
lea r12, [rsp + 0x70]
xor r15d, r15d
mov dword [rsp + 0x110], esi
mov rsi, rbx
mov ebx, r15d
mov r15, qword [rsp + 0xe0]
jmp 0x1400fead8
shr eax, 5
mov edx, dword [rsi + 0x34]
and eax, 7
cmp eax, 3
jne 0x1400feacf
mov r8d, dword [r15 + 0x20]
test r8d, r8d
jne 0x1400feb02
add edx, 1
add ebx, 1
mov dword [rsi + 0x34], edx
mov qword [rsp + 0x20], rdi
mov r9, r13
mov r8, rbp
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 4
mov dword [rsp + 0x78], ebx
call fcn.1400fcc30
mov eax, dword [rsp + 0x70]
test al, 0x1f
jne 0x1400feab8
mov rbx, rsi
mov esi, dword [rsp + 0x110]
mov eax, dword [rbx + 0x34]
mov rcx, qword [rbx + 0x38]
lea rdx, [rax + rax*4]
shl rdx, 3
call sub.msvcrt.dll_realloc
test rax, rax
je 0x1400ff3b0
mov edx, dword [rsp + 0x3c]
mov qword [rbx + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0xe8], rbx
mov ebx, r15d
mov r15, qword [rsp + 0xe0]
lea rdx, [rdx + rdx*4]
mov dword [rsp + 0x110], esi
mov rsi, r13
mov r13, rbp
lea rax, [rax + rdx*8]
mov rbp, rdi
mov rdi, rax
jmp 0x1400fec18
mov edx, r8d
mov ecx, dword [r15 + 0x20]
shr edx, 5
and edx, 7
test ecx, ecx
je 0x1400feb8a
cmp edx, 3
je 0x1400fec4b
cmp eax, 1
je 0x1400feb9a
cmp eax, 2
sete al
movzx eax, al
add eax, eax
mov dword [rdi], eax
mov eax, r8d
shr eax, 0xe
mov dword [rdi + 4], edx
and eax, 0xfff
add eax, 1
mov dword [rdi + 8], eax
mov edx, dword [rsp + 0x74]
mov ecx, edx
mov eax, edx
shr edx, 0x16
shr ecx, 0xc
and eax, 0xfff
add edx, 1
and ecx, 0x3ff
add eax, 1
add ecx, 1
and r8d, 0x200
mov r8d, 0xffffffff
mov dword [rdi + 0x10], eax
cmove r8d, edx
mov dword [rdi + 0x14], ecx
imul eax, edx
add rdi, 0x28
add ebx, 1
mov dword [rdi - 0xc], r8d
mov r11d, dword [rsp + 0x78]
lea r8d, [r11 + 1]
imul eax, r8d
mov dword [rdi - 8], r8d
imul eax, ecx
mov dword [rdi - 4], eax
mov eax, dword [rsp + 0x7c]
and eax, 2
mov dword [rdi - 0x10], eax
mov qword [rsp + 0x20], rbp
mov r8, r13
mov r9, rsi
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 4
mov dword [rsp + 0x78], ebx
call fcn.1400fcc30
mov r8d, dword [rsp + 0x70]
mov eax, r8d
and eax, 0x1f
jne 0x1400feb70
mov rbx, qword [rsp + 0xe8]
mov esi, dword [rsp + 0x110]
mov edx, dword [rbx + 0x34]
mov r12d, dword [rbx + 4]
test edx, edx
je 0x1400fe8b0
mov rax, qword [rbx + 0x38]
sub edx, 1
mov r11d, r12d
mov edi, 0xaaaaaaab
lea rdx, [rdx + rdx*4]
shr r11d, 3
mov ebp, 6
mov r10d, 1
lea r8, [rax + 4]
lea r9, [rax + rdx*8 + 0x2c]
jmp 0x1400fed06
mov eax, r12d
sub ecx, 1
je 0x1400fecf5
mov eax, 1
test ecx, 0xffff0000
je 0x1400fecbd
shr ecx, 0x10
mov eax, 0x11
test ch, 0xff
je 0x1400fecc8
shr ecx, 8
add eax, 8
test cl, 0xf0
je 0x1400fecd3
shr ecx, 4
add eax, 4
test cl, 0xc
je 0x1400fecde
shr ecx, 2
add eax, 2
and ecx, 2
jne 0x1400feef8
mov ecx, eax
mov edx, r10d
shl edx, cl
mov eax, edx
neg eax
and eax, r12d
mov dword [r8 + 8], eax
add r8, 0x28
cmp r8, r9
je 0x1400fe8b0
mov ecx, dword [r8 + 4]
mov eax, r12d
xor edx, edx
div ecx
mov dword [r8 + 8], eax
test esi, esi
je 0x1400feca0
cmp esi, 1
je 0x1400feec0
cmp esi, 3
jne 0x1400fecf9
cmp dword [rbx + 0x88], 0x18
jne 0x1400fecf9
cmp dword [r8], 3
jne 0x1400fecf9
cmp ecx, 6
jne 0x1400fecf9
mov dword [r8 + 8], r11d
jmp 0x1400fecf9
mov qword [rsp + 0x20], rdi
mov r9, r12
mov r8, rbp
mov rdx, r15
mov qword [rsp + 0x80], 0
mov rcx, r14
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x80], 0x80000002
call fcn.1400fcc30
mov r9, r12
mov r8, rbp
mov rdx, r15
movdqu xmm0, xmmword [rsp + 0x80]
mov rcx, r14
mov dword [rsp + 0x80], 0x80000003
movups xmmword [rbx + 0x4d], xmm0
mov qword [rsp + 0x20], rdi
call fcn.1400fcc30
mov r9, r12
mov r8, rbp
mov rdx, r15
movdqu xmm1, xmmword [rsp + 0x80]
mov rcx, r14
mov dword [rsp + 0x80], 0x80000004
movups xmmword [rbx + 0x5d], xmm1
mov qword [rsp + 0x20], rdi
call fcn.1400fcc30
mov r10d, dword [rsp + 0x40]
movdqu xmm2, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x6d], xmm2
jmp 0x1400fe7de
mov edx, r12d
mov rcx, r13
call fcn.1400e7060
jmp 0x1400fe8de
cmp byte [rsp + 0x3c], 0
je 0x1400fe8a6
jmp 0x1400ff38f
mov edx, eax
shr edx, 0x14
movzx edx, dl
add edx, 0xf
mov dword [rbx + 0x88], edx
test esi, esi
je 0x1400fe920
cmp dword [rsp + 0x3c], 1
je 0x1400fe920
jmp 0x1400fe74e
mov ecx, 0x19
mov r10d, 0xff
shr r10d, 4
add ecx, 4
jmp 0x1400fe6ce
mov qword [rsp + 0x20], rdi
lea r14, [rsp + 0x74]
lea r12, [rsp + 0x70]
mov rcx, r12
lea r9, [rsp + 0x7c]
lea r8, [rsp + 0x78]
mov rdx, r14
mov dword [rsp + 0x70], 0x80000008
call fcn.1400fcc30
mov eax, dword [rsp + 0x78]
mov ecx, eax
shr ecx, 0xc
and ecx, 0xf
je 0x1400ff344
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [rbx + 4]
xor edx, edx
div ecx
mov dword [rbx + 8], eax
mov dword [rbx + 0xc], edx
jmp 0x1400fe829
mov edx, dword [rbx + 0x88]
cmp edx, 0x16
jbe 0x1400fef10
cmp dword [r8], 3
jne 0x1400fecf9
lea edx, [rcx - 1]
test edx, ecx
je 0x1400fecf5
tzcnt ecx, ecx
mov eax, r12d
add ecx, 2
shr eax, cl
jmp 0x1400fecf5
lea ecx, [rax + 1]
mov eax, r10d
shl eax, cl
neg eax
and eax, r12d
jmp 0x1400fecf5
cmp edx, 0x10
jne 0x1400fef90
cmp dword [rbx + 0x84], 9
jne 0x1400fecf9
cmp dword [r8], 3
jne 0x1400fecf9
mov eax, dword [r8 + 0x18]
cmp eax, 0xffffffff
je 0x1400fef3d
test al, 1
jne 0x1400fecf9
cmp ecx, 7
jbe 0x1400fecf9
mov edx, ecx
shr edx, 1
cmp ecx, 0x10
mov ecx, edx
cmove ecx, ebp
shr dword [r8 + 0x20], 1
mov dword [r8 + 4], ecx
cmp eax, 0xffffffff
je 0x1400fef6c
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [r8 + 0x18], eax
mov eax, r12d
xor edx, edx
div dword [rsp + 0x44]
mov r13d, eax
mov eax, edx
xor edx, edx
div ecx
lea eax, [rax + r13*2]
mov dword [r8 + 8], eax
jmp 0x1400fecf9
cmp edx, 0x15
jne 0x1400fecf9
mov eax, dword [rbx + 0x84]
sub eax, 1
cmp eax, 1
ja 0x1400fecf9
cmp dword [r8], 3
jne 0x1400fecf9
cmp ecx, 6
jne 0x1400fecf9
mov eax, r12d
xor edx, edx
div dword [rsp + 0x44]
imul rdx, rdi
shr rdx, 0x22
lea eax, [rdx + rax*2]
jmp 0x1400fecf5
cmp dword [rsp + 0xf8], 0xa
ja 0x1400ff36e
mov dword [rbx + 0x34], 0
mov qword [rbx + 0x38], 0
mov byte [rsp + 0x3c], 1
jmp 0x1400fe898
xor r15d, r15d
lea r13, [rsp + 0x7c]
lea rbp, [rsp + 0x78]
lea r14, [rsp + 0x74]
lea r12, [rsp + 0x70]
jmp 0x1400ff038
add dword [rbx + 0x34], 1
add r15d, 1
mov qword [rsp + 0x20], rdi
mov r9, r13
mov r8, rbp
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 0x8000001d
mov dword [rsp + 0x78], r15d
call fcn.1400fcc30
mov r11d, dword [rsp + 0x70]
and r11d, 0x1f
jne 0x1400ff030
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x40], r11d
lea rcx, [rax + rax*4]
shl rcx, 3
call sub.msvcrt.dll_malloc
mov qword [rbx + 0x38], rax
mov r15, rax
test rax, rax
je 0x1400ff3bc
mov qword [rsp + 0xe8], rbx
mov ebx, dword [rsp + 0x40]
jmp 0x1400ff13e
cmp eax, 1
je 0x1400ff0b0
cmp eax, 2
sete al
movzx eax, al
add eax, eax
mov edx, dword [rsp + 0x74]
mov r10d, dword [rsp + 0x78]
mov dword [r15], eax
mov eax, r8d
shr eax, 5
and eax, 7
mov ecx, edx
mov dword [r15 + 4], eax
mov eax, r8d
shr ecx, 0xc
shr eax, 0xe
and ecx, 0x3ff
and eax, 0xfff
add ecx, 1
add eax, 1
mov dword [r15 + 0x14], ecx
mov dword [r15 + 8], eax
mov eax, edx
shr edx, 0x16
and eax, 0xfff
add edx, 1
add eax, 1
and r8d, 0x200
mov r8d, 0xffffffff
cmove r8d, edx
mov dword [r15 + 0x10], eax
imul eax, edx
add r15, 0x28
add ebx, 1
mov dword [r15 - 0xc], r8d
lea r8d, [r10 + 1]
imul eax, r8d
mov dword [r15 - 8], r8d
imul eax, ecx
mov dword [r15 - 4], eax
mov eax, dword [rsp + 0x7c]
and eax, 2
mov dword [r15 - 0x10], eax
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov r9, r13
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 0x8000001d
mov dword [rsp + 0x78], ebx
call fcn.1400fcc30
mov r8d, dword [rsp + 0x70]
mov eax, r8d
and eax, 0x1f
jne 0x1400ff0a0
mov rbx, qword [rsp + 0xe8]
cmp dword [rsp + 0xf8], 3
jbe 0x1400fec5a
cmp byte [rsp + 0x3c], 0
je 0x1400fec5a
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x3c], eax
jmp 0x1400fea99
mov qword [rsp + 0x20], rdi
lea r14, [rsp + 0x74]
lea r12, [rsp + 0x70]
mov rdx, r14
lea r9, [rsp + 0x7c]
lea r8, [rsp + 0x78]
mov rcx, r12
mov dword [rsp + 0x70], 0x8000001e
call fcn.1400fcc30
mov eax, dword [rsp + 0x70]
mov edx, dword [rbx + 0x88]
mov dword [rbx + 4], eax
test byte [rsp + 0xf0], 2
je 0x1400ff1f4
cmp edx, 0x16
je 0x1400ff318
movzx eax, byte [rsp + 0x78]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x74]
cmp edx, 0x16
jbe 0x1400ff323
and eax, 0xff
mov dword [rbx + 0xc], eax
jmp 0x1400fe83b
mov qword [rsp + 0x20], rdi
lea r13, [rsp + 0x7c]
lea rbp, [rsp + 0x78]
lea r14, [rsp + 0x74]
lea r12, [rsp + 0x70]
mov r9, r13
mov r8, rbp
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 0x80000005
call fcn.1400fcc30
mov eax, dword [rsp + 0x78]
mov r9d, 1
mov rcx, rbx
mov r8d, 1
mov edx, 1
mov dword [rsp + 0x20], eax
call fcn.1400fc9c0
mov eax, dword [rsp + 0x7c]
mov r9d, 1
mov rcx, rbx
mov r8d, 2
mov edx, 1
mov dword [rsp + 0x20], eax
call fcn.1400fc9c0
mov qword [rsp + 0x20], rdi
mov r9, r13
mov r8, rbp
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 0x80000006
call fcn.1400fcc30
mov eax, dword [rsp + 0x78]
test ah, 0xf0
jne 0x1400ff34f
mov eax, dword [rsp + 0x7c]
test ah, 0xf0
je 0x1400ff179
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x44]
xor r8d, r8d
mov rcx, rbx
mov edx, 3
call fcn.1400fc9c0
jmp 0x1400ff179
mov r8, rdi
mov edx, 0xb
mov rcx, rbx
call fcn.1400fcd60
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x34], 0
mov qword [rbx + 0x38], 0
cmp eax, 1
setne byte [rsp + 0x3c]
test eax, eax
jne 0x1400fe875
jmp 0x1400ff38f
mov dword [rbx + 0x10], 0
mov eax, dword [rsp + 0x74]
movzx eax, al
mov dword [rbx + 0x14], eax
jmp 0x1400fe83b
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
mov eax, dword [rsp + 0x40]
div ecx
mov dword [rbx + 0xc], eax
jmp 0x1400fe9d0
movzx eax, al
lea ecx, [rax + 1]
jmp 0x1400feeae
mov dword [rsp + 0x20], eax
mov r9d, 1
xor r8d, r8d
mov rcx, rbx
mov edx, 2
call fcn.1400fc9c0
jmp 0x1400ff2af
mov rax, qword [rsp + 0x108]
test byte [rax + 0x12], 0x20
jne 0x1400ff2e0
mov dword [rbx + 0x34], 0
mov qword [rbx + 0x38], 0
mov dword [rsp + 0x3c], 0
lea r13, [rsp + 0x7c]
lea rbp, [rsp + 0x78]
lea r14, [rsp + 0x74]
lea r12, [rsp + 0x70]
jmp 0x1400fea99
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x34], eax
jmp 0x1400fec5a
mov dword [rbx + 0x34], 0
jmp 0x1400ff179