Function at 0x1400f7d40
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.1400f6370
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 0x1400f7e38
shr eax, 0x10
movzx eax, al
sub eax, 1
mov r10d, eax
je 0x1400f7e38
test eax, 0xffff0000
jne 0x1400f8590
mov ecx, 1
test al, 0xf0
jne 0x1400f859b
test r10b, 0xc
je 0x1400f7e1b
shr r10d, 2
add ecx, 2
and r10d, 2
je 0x1400f7e24
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 0x1400f7e70
mov r8d, 0xb
bt r8, rsi
jb 0x1400f8560
mov dword [rbx + 0x88], edx
test esi, esi
jne 0x1400f8038
mov r8d, 0x8040
bt r8, rdx
jb 0x1400f8060
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.1400f6370
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 0x1400f8488
cmp dword [rsp + 0x3c], 1
je 0x1400f8110
cmp dword [rsp + 0xf8], 3
ja 0x1400f80c0
mov r9d, dword [rsp + 0x3c]
test esi, esi
sete al
test r9d, r9d
je 0x1400f8190
cmp dword [rsp + 0x100], 0x80000007
jbe 0x1400f7f69
mov rax, qword [rsp + 0x108]
test byte [rax + 0x12], 0x20
je 0x1400f85a7
mov rax, qword [rsp + 0x108]
test byte [rax + 0x1a], 0x40
jne 0x1400f88e0
cmp dword [rsp + 0xf8], 0xa
jbe 0x1400f7f9c
cmp esi, 2
ja 0x1400f7f9c
mov rax, qword [rsp + 0x108]
test byte [rax + 0x12], 0x20
jne 0x1400f8a20
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 0x1400f8750
cmp dword [rsp + 0x100], 0x80000005
ja 0x1400f8950
cmp dword [rsp + 0xf8], 3
ja 0x1400f8550
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.1400e0cc0
test eax, eax
je 0x1400f8538
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 0x1400f8044
cmp edx, 0xf
je 0x1400f8060
cmp esi, 2
jne 0x1400f7e8e
sub edx, 6
cmp edx, 1
ja 0x1400f7e8e
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 0x1400f7e9d
cmp dword [rbx + 0x88], 6
jne 0x1400f7e9d
cmp edx, 0x57
je 0x1400f80a2
cmp edx, 0x85
jne 0x1400f7e9d
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x20], 1
jmp 0x1400f7e9d
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.1400f6370
mov eax, dword [rsp + 0x60]
test al, 0x1f
je 0x1400f8110
shr eax, 0x1a
lea ecx, [rax + 1]
mov eax, dword [rsp + 0x44]
cmp eax, ecx
jae 0x1400f8a6e
nop dword [rax + rax]
cmp dword [rsp + 0xf8], 0x19
jbe 0x1400f7f37
mov rax, qword [rsp + 0x108]
test byte [rax + 0x49], 0x80
je 0x1400f7f37
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.1400f6370
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 0x1400f7f4a
nop dword [rax]
cmp dword [rsp + 0xf8], 0x1e
jbe 0x1400f8720
test al, al
je 0x1400f8720
mov r8, rdi
mov edx, 0x1f
lea r13, [rsp + 0x7c]
mov rcx, rbx
call fcn.1400f64a0
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 0x1400f8218
shr eax, 5
mov edx, dword [rsi + 0x34]
and eax, 7
cmp eax, 3
jne 0x1400f820f
mov r8d, dword [r15 + 0x20]
test r8d, r8d
jne 0x1400f8242
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.1400f6370
mov eax, dword [rsp + 0x70]
test al, 0x1f
jne 0x1400f81f8
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 0x1400f8af0
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 0x1400f8358
mov edx, r8d
mov ecx, dword [r15 + 0x20]
shr edx, 5
and edx, 7
test ecx, ecx
je 0x1400f82ca
cmp edx, 3
je 0x1400f838b
cmp eax, 1
je 0x1400f82da
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.1400f6370
mov r8d, dword [rsp + 0x70]
mov eax, r8d
and eax, 0x1f
jne 0x1400f82b0
mov rbx, qword [rsp + 0xe8]
mov esi, dword [rsp + 0x110]
mov edx, dword [rbx + 0x34]
mov r12d, dword [rbx + 4]
test edx, edx
je 0x1400f7ff0
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 0x1400f8446
mov eax, r12d
sub ecx, 1
je 0x1400f8435
mov eax, 1
test ecx, 0xffff0000
je 0x1400f83fd
shr ecx, 0x10
mov eax, 0x11
test ch, 0xff
je 0x1400f8408
shr ecx, 8
add eax, 8
test cl, 0xf0
je 0x1400f8413
shr ecx, 4
add eax, 4
test cl, 0xc
je 0x1400f841e
shr ecx, 2
add eax, 2
and ecx, 2
jne 0x1400f8638
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 0x1400f7ff0
mov ecx, dword [r8 + 4]
mov eax, r12d
xor edx, edx
div ecx
mov dword [r8 + 8], eax
test esi, esi
je 0x1400f83e0
cmp esi, 1
je 0x1400f8600
cmp esi, 3
jne 0x1400f8439
cmp dword [rbx + 0x88], 0x18
jne 0x1400f8439
cmp dword [r8], 3
jne 0x1400f8439
cmp ecx, 6
jne 0x1400f8439
mov dword [r8 + 8], r11d
jmp 0x1400f8439
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.1400f6370
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.1400f6370
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.1400f6370
mov r10d, dword [rsp + 0x40]
movdqu xmm2, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x6d], xmm2
jmp 0x1400f7f1e
mov edx, r12d
mov rcx, r13
call fcn.1400e07a0
jmp 0x1400f801e
cmp byte [rsp + 0x3c], 0
je 0x1400f7fe6
jmp 0x1400f8acf
mov edx, eax
shr edx, 0x14
movzx edx, dl
add edx, 0xf
mov dword [rbx + 0x88], edx
test esi, esi
je 0x1400f8060
cmp dword [rsp + 0x3c], 1
je 0x1400f8060
jmp 0x1400f7e8e
mov ecx, 0x19
mov r10d, 0xff
shr r10d, 4
add ecx, 4
jmp 0x1400f7e0e
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.1400f6370
mov eax, dword [rsp + 0x78]
mov ecx, eax
shr ecx, 0xc
and ecx, 0xf
je 0x1400f8a84
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 0x1400f7f69
mov edx, dword [rbx + 0x88]
cmp edx, 0x16
jbe 0x1400f8650
cmp dword [r8], 3
jne 0x1400f8439
lea edx, [rcx - 1]
test edx, ecx
je 0x1400f8435
tzcnt ecx, ecx
mov eax, r12d
add ecx, 2
shr eax, cl
jmp 0x1400f8435
lea ecx, [rax + 1]
mov eax, r10d
shl eax, cl
neg eax
and eax, r12d
jmp 0x1400f8435
cmp edx, 0x10
jne 0x1400f86d0
cmp dword [rbx + 0x84], 9
jne 0x1400f8439
cmp dword [r8], 3
jne 0x1400f8439
mov eax, dword [r8 + 0x18]
cmp eax, 0xffffffff
je 0x1400f867d
test al, 1
jne 0x1400f8439
cmp ecx, 7
jbe 0x1400f8439
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 0x1400f86ac
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 0x1400f8439
cmp edx, 0x15
jne 0x1400f8439
mov eax, dword [rbx + 0x84]
sub eax, 1
cmp eax, 1
ja 0x1400f8439
cmp dword [r8], 3
jne 0x1400f8439
cmp ecx, 6
jne 0x1400f8439
mov eax, r12d
xor edx, edx
div dword [rsp + 0x44]
imul rdx, rdi
shr rdx, 0x22
lea eax, [rdx + rax*2]
jmp 0x1400f8435
cmp dword [rsp + 0xf8], 0xa
ja 0x1400f8aae
mov dword [rbx + 0x34], 0
mov qword [rbx + 0x38], 0
mov byte [rsp + 0x3c], 1
jmp 0x1400f7fd8
xor r15d, r15d
lea r13, [rsp + 0x7c]
lea rbp, [rsp + 0x78]
lea r14, [rsp + 0x74]
lea r12, [rsp + 0x70]
jmp 0x1400f8778
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.1400f6370
mov r11d, dword [rsp + 0x70]
and r11d, 0x1f
jne 0x1400f8770
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 0x1400f8afc
mov qword [rsp + 0xe8], rbx
mov ebx, dword [rsp + 0x40]
jmp 0x1400f887e
cmp eax, 1
je 0x1400f87f0
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.1400f6370
mov r8d, dword [rsp + 0x70]
mov eax, r8d
and eax, 0x1f
jne 0x1400f87e0
mov rbx, qword [rsp + 0xe8]
cmp dword [rsp + 0xf8], 3
jbe 0x1400f839a
cmp byte [rsp + 0x3c], 0
je 0x1400f839a
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x3c], eax
jmp 0x1400f81d9
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.1400f6370
mov eax, dword [rsp + 0x70]
mov edx, dword [rbx + 0x88]
mov dword [rbx + 4], eax
test byte [rsp + 0xf0], 2
je 0x1400f8934
cmp edx, 0x16
je 0x1400f8a58
movzx eax, byte [rsp + 0x78]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x74]
cmp edx, 0x16
jbe 0x1400f8a63
and eax, 0xff
mov dword [rbx + 0xc], eax
jmp 0x1400f7f7b
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.1400f6370
mov eax, dword [rsp + 0x78]
mov r9d, 1
mov rcx, rbx
mov r8d, 1
mov edx, 1
mov dword [rsp + 0x20], eax
call fcn.1400f6100
mov eax, dword [rsp + 0x7c]
mov r9d, 1
mov rcx, rbx
mov r8d, 2
mov edx, 1
mov dword [rsp + 0x20], eax
call fcn.1400f6100
mov qword [rsp + 0x20], rdi
mov r9, r13
mov r8, rbp
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x70], 0x80000006
call fcn.1400f6370
mov eax, dword [rsp + 0x78]
test ah, 0xf0
jne 0x1400f8a8f
mov eax, dword [rsp + 0x7c]
test ah, 0xf0
je 0x1400f88b9
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x44]
xor r8d, r8d
mov rcx, rbx
mov edx, 3
call fcn.1400f6100
jmp 0x1400f88b9
mov r8, rdi
mov edx, 0xb
mov rcx, rbx
call fcn.1400f64a0
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 0x1400f7fb5
jmp 0x1400f8acf
mov dword [rbx + 0x10], 0
mov eax, dword [rsp + 0x74]
movzx eax, al
mov dword [rbx + 0x14], eax
jmp 0x1400f7f7b
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
mov eax, dword [rsp + 0x40]
div ecx
mov dword [rbx + 0xc], eax
jmp 0x1400f8110
movzx eax, al
lea ecx, [rax + 1]
jmp 0x1400f85ee
mov dword [rsp + 0x20], eax
mov r9d, 1
xor r8d, r8d
mov rcx, rbx
mov edx, 2
call fcn.1400f6100
jmp 0x1400f89ef
mov rax, qword [rsp + 0x108]
test byte [rax + 0x12], 0x20
jne 0x1400f8a20
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 0x1400f81d9
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x34], eax
jmp 0x1400f839a
mov dword [rbx + 0x34], 0
jmp 0x1400f88b9