Function at 0x1800318c0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, qword [0x18006e0a0]
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
cmp byte [rdi + 0xcb], 0
je 0x1800318f9
test byte [rdi + 0xc], 2
jne 0x1800318f9
mov byte [rdi + 0xcb], 0
cmp byte [rdi + 0x2fd0], 0
mov r14d, 2
jne 0x180031a26
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180031a1f
lea rdx, [0x18005f3f0]
call fcn.18002ca00
mov rbx, rax
test rax, rax
je 0x180031a1f
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180031a16
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180031a16
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180031a16
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180031a16
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x180031a16
mov rax, qword [0x18006e0a0]
test rax, rax
je 0x1800319a5
inc dword [rax + 0x3bc]
mov rdx, qword [0x18006e0b0]
mov rcx, rbp
call qword [0x18006d2e0]
mov rsi, rax
test rax, rax
je 0x180031a16
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x180031a03
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18006e0a0]
test rax, rax
je 0x1800319f1
dec dword [rax + 0x3bc]
mov rdx, qword [0x18006e0b0]
mov rcx, rsi
call qword [0x18006d2e8]
jmp 0x180031a1f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.18002e2b0
jmp 0x1800319df
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rdi + 0x2fd0], 1
movss xmm0, dword [rdi + 0x2fd4]
xorps xmm6, xmm6
xor esi, esi
comiss xmm0, xmm6
jbe 0x180031a67
subss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm6
movss dword [rdi + 0x2fd4], xmm0
ja 0x180031a67
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180031a5a
call fcn.1800354c0
jmp 0x180031a61
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2fd4], esi
inc dword [rdi + 0x1a88]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov byte [rdi + 0x1a94], 1
mov dword [rdi + 0x2fac], esi
mov dword [rdi + 0x1ae8], esi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x1a80]
movsd qword [rdi + 0x1a80], xmm0
mov byte [rax], 1
mov rax, qword [0x18006e0a0]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180031ac3
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.180035990
movss xmm1, dword [rdi + 0x14]
lea rcx, [rdi + 0x19b0]
movss xmm0, dword [rdi + 0x10]
mov eax, dword [rdi + 0x1604]
mov qword [rsp + 0x20], rsi
movups xmm2, xmmword [rsp + 0x20]
mov dword [rdi + 0x19c4], eax
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
movss xmm1, dword [rdi + 0x1608]
shufps xmm2, xmm2, 0x39
movups xmmword [rdi + 0x19cc], xmm2
call fcn.18003ed40
mov eax, esi
mov dword [rdi + 0x19dc], esi
cmp byte [rdi + 0x1600], sil
je 0x180031b37
mov dword [rdi + 0x19dc], 1
mov eax, 1
cmp byte [rdi + 0x1601], sil
je 0x180031b49
or eax, r14d
mov dword [rdi + 0x19dc], eax
test byte [rdi + 0xc], 8
je 0x180031b58
or eax, 4
mov dword [rdi + 0x19dc], eax
lea rcx, [rdi + 0x1e28]
call fcn.18003b490
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e28]
mov rdx, qword [rdx + 8]
call fcn.18003e240
lea rcx, [rdi + 0x1e28]
call fcn.18003e180
lea rcx, [rdi + 0x1ed0]
call fcn.18003b490
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1ed0]
mov rdx, qword [rdx + 8]
call fcn.18003e240
lea rcx, [rdi + 0x1ed0]
call fcn.18003e180
mov byte [rdi + 0x1dc8], sil
mov qword [rdi + 0x1dd0], rsi
mov qword [rdi + 0x1ddc], rsi
mov dword [rdi + 0x1dd8], esi
mov qword [rdi + 0x1df4], rsi
mov qword [rdi + 0x1dec], rsi
mov qword [rdi + 0x1de4], rsi
cmp byte [rdi + 0x1f7c], sil
je 0x180031c21
mov eax, dword [rdi + 0x1f9c]
cmp eax, dword [rdi + 0x1b38]
jne 0x180031c21
mov rcx, qword [0x18006e0a0]
cmp dword [rcx + 0x1b38], eax
jne 0x180031c12
mov dword [rcx + 0x1b3c], eax
cmp dword [rcx + 0x1b78], eax
jne 0x180031c21
mov byte [rcx + 0x1b7c], 1
lea rax, [rdi + 0x1b24]
mov ecx, dword [rax]
cmp dword [rdi + 0x1b2c], esi
jne 0x180031c3a
mov dword [rdi + 0x1b30], esi
jmp 0x180031c4b
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x180031c56
cmp dword [rdi + 0x1b38], ecx
jne 0x180031c56
mov dword [rdi + 0x1b34], esi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180031c8d
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1b30]
movss dword [rdi + 0x1b30], xmm0
cmp dword [rdi + 0x1b38], edx
je 0x180031c8d
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1b34]
movss dword [rdi + 0x1b34], xmm0
mov eax, dword [rdi + 0x1b38]
movaps xmm2, xmm1
mov dword [rdi + 0x1b2c], edx
mov dword [r8], esi
mov byte [rdi + 0x1b28], sil
cmp dword [rdi + 0x1b3c], eax
je 0x180031cc4
cmp dword [rdi + 0x1b78], eax
jne 0x180031cc4
test eax, eax
je 0x180031cc4
call fcn.1800297f0
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1b38]
test ecx, ecx
je 0x180031ce1
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1b40]
movss dword [rdi + 0x1b40], xmm0
mov rax, qword [rdi + 0x1b68]
addss xmm2, dword [rdi + 0x1b8c]
mov qword [rdi + 0x1b80], rax
movzx eax, byte [rdi + 0x1b47]
mov byte [rdi + 0x1b7d], al
mov eax, dword [rdi + 0x2f70]
movss dword [rdi + 0x1b8c], xmm2
mov dword [rdi + 0x1b78], ecx
mov dword [rdi + 0x1b3c], esi
mov byte [rdi + 0x1b48], sil
mov byte [rdi + 0x1b7c], sil
mov byte [rdi + 0x1b44], sil
test eax, eax
je 0x180031d41
cmp ecx, eax
je 0x180031d41
mov dword [rdi + 0x2f70], esi
test ecx, ecx
jne 0x180031d53
mov qword [rdi + 0x1b4c], rsi
mov qword [rdi + 0x1b58], rsi
mov eax, dword [rdi + 0x1fec]
lea rcx, [rdi + 0xca0]
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x1ff0], eax
mov r8d, 0x800
mov qword [rdi + 0x1fe8], 0x7f7fffff
mov byte [rdi + 0x1f7d], sil
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x18005f5cc]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x180031dc2
movss xmm0, dword [rax - 4]
comiss xmm0, xmm6
jae 0x180031dbb
movaps xmm0, xmm6
jmp 0x180031dc5
addss xmm0, dword [rdi + 0x18]
jmp 0x180031dc5
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x180031de4
movss xmm0, dword [rax]
comiss xmm0, xmm6
jae 0x180031ddd
movaps xmm0, xmm6
jmp 0x180031de7
addss xmm0, dword [rdi + 0x18]
jmp 0x180031de7
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x180031e07
movss xmm0, dword [rax + 4]
comiss xmm0, xmm6
jae 0x180031e00
movaps xmm0, xmm6
jmp 0x180031e0a
addss xmm0, dword [rdi + 0x18]
jmp 0x180031e0a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x180031e2b
movss xmm0, dword [rax + 8]
comiss xmm0, xmm6
jae 0x180031e24
movaps xmm0, xmm6
jmp 0x180031e2e
addss xmm0, dword [rdi + 0x18]
jmp 0x180031e2e
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x180031da6
call fcn.18002f1e0
call fcn.180036ed0
movsxd rax, dword [rdi + 0x3224]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x1800604f0]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x3044]
addss xmm0, dword [rdi + 0x3228]
movss dword [rdi + 0x3228], xmm0
movss dword [rdi + rax*4 + 0x3044], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3224]
movss xmm1, dword [rdi + 0x3228]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x3224], ecx
jbe 0x180031ec9
movss xmm0, dword [0x1800604e8]
divss xmm0, xmm1
jmp 0x180031ecc
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.1800360f0
mov rbx, qword [0x18006e0a0]
mov r9, qword [rbx + 0x1b08]
test r9, r9
je 0x180031fd5
mov eax, dword [rbx + 0x1b38]
mov dword [rbx + 0x1b3c], eax
cmp dword [rbx + 0x1b78], eax
jne 0x180031f0b
mov byte [rbx + 0x1b7c], 1
mov r9, qword [r9 + 0x368]
cmp byte [rbx + 0x138], sil
je 0x180031fc7
mov rcx, qword [0x18006e0a0]
lea rax, [rbx + 0x130]
mov rdx, rax
test rax, rax
jne 0x180031f3c
lea rdx, [rcx + 0x130]
movss xmm0, dword [rdx]
movss xmm1, dword [0x180060510]
comiss xmm0, xmm1
movss xmm2, dword [rdx + 4]
jb 0x180031fc7
comiss xmm2, xmm1
jb 0x180031fc7
movss xmm0, dword [rax]
subss xmm0, dword [rbx + 0x1b60]
movss xmm1, dword [rax + 4]
subss xmm1, dword [rbx + 0x1b64]
ucomiss xmm0, dword [r9 + 0x10]
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
jne 0x180031f8a
ucomiss xmm1, dword [r9 + 0x14]
je 0x180031fb9
test dword [r9 + 0xc], 0x100
jne 0x180031fa6
comiss xmm6, dword [rcx + 0x2fd4]
jb 0x180031fa6
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2fd4], eax
mov r8d, 1
lea rdx, [rsp + 0x70]
mov rcx, r9
call fcn.180035e40
mov rcx, qword [rbx + 0x1b08]
call fcn.18002b9a0
jmp 0x18003200f
call fcn.1800297f0
mov qword [rbx + 0x1b08], rsi
jmp 0x18003200f
mov rcx, qword [rbx + 0x1b68]
test rcx, rcx
je 0x18003200f
mov eax, dword [rbx + 0x1b38]
cmp dword [rcx + 0x4c], eax
jne 0x18003200f
mov dword [rbx + 0x1b3c], eax
cmp dword [rbx + 0x1b78], eax
jne 0x180032001
mov byte [rbx + 0x1b7c], 1
cmp byte [rbx + 0x138], sil
jne 0x18003200f
call fcn.1800297f0
mov r8, qword [0x18006e0a0]
mov eax, dword [r8 + 0x1c40]
sub eax, 1
js 0x18003205b
mov r8, qword [r8 + 0x1c48]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax + rax]
mov rax, qword [r8]
test rax, rax
je 0x180032051
test dword [rax + 0xc], 0x8000000
jne 0x18003206d
sub r8, 0x30
sub rdx, 1
jns 0x180032040
cmp qword [rdi + 0x1d78], rsi
je 0x18003208c
comiss xmm6, dword [rdi + 0x1d94]
jae 0x18003208c
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800604dc]
addss xmm1, dword [rdi + 0x1e20]
minss xmm1, dword [0x18005f4cc]
jmp 0x1800320a9
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x18005f530]
movss xmm1, dword [rdi + 0x1e20]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1e20], xmm1
mov dword [rdi + 0x1f78], esi
mov qword [rdi + 0x3230], 0xffffffffffffffff
mov dword [rdi + 0x322c], 0xffffffff
mov dword [rdi + 0x2fc0], 0x3f800000
mov dword [rdi + 0x2fc4], 0x3f800000
call fcn.1800374b0
mov rbx, qword [rdi + 0x1c60]
test rbx, rbx
je 0x180032126
cmp byte [rbx + 0x7e], sil
je 0x180032126
test dword [rbx + 0xc], 0x40000
jne 0x180032126
cmp byte [rdi + 0x148], sil
jne 0x180032126
mov rax, qword [0x18006e0a0]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180032126
mov dl, 1
call fcn.18002dbf0
test al, al
je 0x180032126
mov al, 1
jmp 0x180032128
xor al, al
mov byte [rdi + 0x1dc0], al
cmp dword [rdi + 0x1b38], esi
jne 0x180032188
test al, al
je 0x180032188
mov qword [rdi + 0x1da8], rbx
mov dword [rdi + 0x1db8], 0x7fffffff
cmp dword [rdi + 0x1c68], esi
je 0x180032177
mov eax, dword [rdi + 0x1cac]
cmp eax, 0x7fffffff
je 0x180032177
cmp byte [rdi + 0x149], sil
cmovne r14d, esi
add r14d, eax
mov dword [rdi + 0x1dbc], r14d
jmp 0x180032188
movzx eax, byte [rdi + 0x149]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1dbc], ecx
mov r8, qword [rdi + 0x1da8]
mov qword [rdi + 0x1da0], rsi
mov dword [rdi + 0x1db4], 0x7fffffff
mov dword [rdi + 0x1db0], 0x7fffffff
test r8, r8
je 0x18003221d
mov eax, dword [rdi + 0x1db8]
mov qword [rdi + 0x1da0], r8
cmp eax, 0x7fffffff
je 0x1800321dc
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x1800321dc
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1db0], edx
mov eax, dword [rdi + 0x1dbc]
cmp eax, 0x7fffffff
je 0x180032202
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x180032202
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1db4], edx
mov qword [rdi + 0x1da8], rsi
mov dword [rdi + 0x1dbc], 0x7fffffff
mov dword [rdi + 0x1db8], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
mov dword [rdi + 0x1cac], 0x7fffffff
jb 0x180032244
movsd xmm7, qword [rdi + 0x1a80]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a98], esi
je 0x18003229e
mov r14, rsi
mov rax, qword [rdi + 0x1aa0]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x8a], si
mov byte [rcx + 0x7e], sil
mov byte [rcx + 0x80], sil
test al, al
jne 0x180032290
cmp byte [rcx + 0x3c8], sil
jne 0x180032290
comiss xmm7, dword [rcx + 0x27c]
jbe 0x180032290
call fcn.18002bc90
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a98]
jne 0x180032251
mov rax, qword [rdi + 0x1c60]
test rax, rax
je 0x18003237a
cmp byte [rax + 0x7f], sil
jne 0x18003237a
mov r11, qword [0x18006e0a0]
mov eax, dword [r11 + 0x1aa8]
sub eax, 1
js 0x18003231a
movsxd r9, eax
mov rax, qword [r11 + 0x1ab0]
lea r10, [rax + r9*8]
nop dword [rax]
mov r8, qword [r10]
test r8, r8
je 0x180032310
cmp byte [r8 + 0x7f], sil
je 0x180032310
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180032526
sub r10, 8
sub r9, 1
jns 0x1800322e0
cmp qword [r11 + 0x1c60], rsi
je 0x18003234d
mov qword [r11 + 0x1c60], rsi
mov byte [r11 + 0x1cb5], sil
mov qword [r11 + 0x1c68], rsi
mov byte [r11 + 0x1cb0], sil
mov dword [r11 + 0x1ca8], esi
mov r11, qword [0x18006e0a0]
lea rbx, [r11 + 0x1c40]
cmp dword [rbx], 1
jl 0x18003237a
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180032378
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1800384a0
mov dword [rbx], esi
mov ecx, dword [rdi + 0x1acc]
test ecx, ecx
jns 0x1800323a0
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1ac8]
test eax, eax
cmovg edx, eax
call fcn.180038400
mov dword [rdi + 0x1ac8], esi
mov ecx, dword [rdi + 0x1c54]
test ecx, ecx
jns 0x1800323cc
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c50]
test eax, eax
cmovg edx, eax
call fcn.1800384a0
mov dword [rdi + 0x1c50], esi
xor edx, edx
mov rcx, qword [rdi + 0x1c60]
call fcn.180029b40
mov rbp, qword [0x18006e0a0]
mov dword [rbp + 0x3040], esi
cmp byte [rbp + 0x303c], sil
je 0x1800324c3
mov rax, qword [0x18006e0a0]
mov r14d, dword [rbp + 0x1b2c]
mov dword [rax + 0x1f78], 7
mov rbx, qword [0x18006e0a0]
mov ecx, dword [rbx + 0x74]
test ecx, ecx
js 0x180032439
mov dl, 1
call fcn.18002dbf0
test al, al
je 0x180032439
mov byte [rbp + 0x303c], sil
mov rbx, qword [0x18006e0a0]
movss xmm0, dword [rbx + 0x43c]
ucomiss xmm0, xmm6
jne 0x180032460
test r14d, r14d
je 0x180032460
mov dword [rbp + 0x3040], r14d
mov byte [rbp + 0x303c], sil
mov rbx, qword [0x18006e0a0]
or dword [rbx + 0x1b90], 0x40
xor edx, edx
xor ecx, ecx
mov dword [rbx + 0x1be8], 0x3f19999a
call fcn.180028be0
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.180051790
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180051790
mov rcx, qword [0x18006e0a0]
lea rdx, str.Click_to_break_in_debugger_
mov eax, 0x10
test r14d, r14d
cmove rsi, rax
add rcx, 0x160c
add rcx, rsi
call fcn.1800517c0
call fcn.18002a2b0
mov byte [rdi + 0x1a95], 1
lea rcx, str.DebugDefault
mov rax, qword [0x18006e0a0]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1b90], 2
mov dword [rax + 0x1bb0], 0x43c80000
mov dword [rax + 0x1bb4], 0x43c80000
mov dword [rax + 0x1b98], 4
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r14
pop rdi
pop rsi
jmp fcn.1800266e0
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.18002b9a0
jmp 0x18003237a