Function at 0x140058e00
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rdi
sub rsp, 0x68
mov rdi, qword [0x1401414b0]
movaps xmmword [rax - 0x28], xmm6
mov qword [rax + 0x10], rbp
movaps xmmword [rax - 0x48], xmm8
cmp byte [rdi + 0xcb], 0
movaps xmmword [rax - 0x58], xmm9
je 0x140058e38
test byte [rdi + 0xc], 2
jne 0x140058e38
mov byte [rdi + 0xcb], 0
xor ebp, ebp
mov qword [rsp + 0x90], rsi
cmp byte [rdi + 0x3020], bpl
jne 0x140058ea3
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140058e9c
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rbp
call fcn.140055c40
mov rsi, rax
test rax, rax
je 0x140058e9c
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140065c10
mov rcx, qword [0x1401414b0]
test rcx, rcx
je 0x140058e93
dec dword [rcx + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x3020], 1
movss xmm0, dword [rdi + 0x3024]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140058f3f
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x3024], xmm0
jb 0x140058f3f
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140058f32
mov rax, qword [0x1401414b0]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rbp
mov dword [rax + 0x3024], ebp
call fcn.140065f70
lea rdx, [0x1400fe7c8]
mov rcx, rbx
mov rsi, rax
call fcn.140055af0
mov rbx, rax
test rax, rax
je 0x140058f39
mov r8, qword [rsp + 0x80]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140058f39
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x3024], ebp
inc dword [rdi + 0x1a10]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a1c], 1
mov dword [rdi + 0x2fec], ebp
mov dword [rdi + 0x1a80], ebp
addsd xmm0, qword [rdi + 0x1a08]
movsd qword [rdi + 0x1a08], xmm0
mov ecx, dword [rdi + 0x3004]
test ecx, ecx
jns 0x140058f96
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3000]
test eax, eax
cmovg edx, eax
call fcn.140067220
movss xmm8, dword [0x1401013b8]
movss xmm9, dword [0x1401012e8]
mov dword [rdi + 0x3000], ebp
movsxd rax, dword [rdi + 0x3274]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x3094]
addss xmm0, dword [rdi + 0x3278]
movss dword [rdi + 0x3278], xmm0
movss dword [rdi + rax*4 + 0x3094], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x3274]
movss xmm1, dword [rdi + 0x3278]
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 + 0x3274], ecx
jbe 0x140059024
divss xmm1, dword [0x140101378]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140059028
movaps xmm0, xmm8
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1401414b0]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x14005905b
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.1400603b0
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
mov qword [rdi + 0x194c], rbp
movss dword [rdi + 0x1954], xmm2
movss dword [rdi + 0x1958], xmm3
mov eax, dword [rdi + 0x1618]
movss xmm1, dword [rdi + 0x161c]
mov dword [rdi + 0x1944], eax
movss xmm0, dword [rdi + 0x1948]
ucomiss xmm0, xmm1
jp 0x1400590a8
je 0x140059132
mov qword [rsp + 0x60], r14
lea rsi, [rdi + 0x19c0]
movaps xmmword [rsp + 0x40], xmm7
mov ebx, ebp
movss xmm7, dword [0x140101340]
mov r14d, 0x200
movss dword [rdi + 0x1948], xmm1
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm9
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1948]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x140059108
mov edx, 0xc
jmp 0x14005910f
cmp edx, r14d
cmovg edx, r14d
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebx
mov byte [rsi], cl
inc rsi
cmp ebx, 0x40
jl 0x1400590d1
movaps xmm7, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x60]
mov r8d, ebp
mov dword [rdi + 0x195c], ebp
cmp byte [rdi + 0x1614], bpl
je 0x140059154
mov dword [rdi + 0x195c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x1615], bpl
je 0x14005917a
mov rax, qword [rdi + 0x1920]
mov rcx, qword [rax + 0x48]
test byte [rcx + 4], 4
jne 0x14005917a
or edx, 2
mov dword [rdi + 0x195c], edx
cmp byte [rdi + 0x1616], bpl
je 0x14005918c
or edx, 4
mov dword [rdi + 0x195c], edx
test byte [rdi + 0xc], 8
je 0x14005919b
or edx, 8
mov dword [rdi + 0x195c], edx
lea rcx, [rdi + 0x1de8]
call fcn.14006eb60
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1de8]
mov rdx, qword [rdx + 8]
call fcn.14006f180
mov rax, qword [rdi + 0x1e20]
lea rcx, [rdi + 0x1de8]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14006f060
lea rcx, [rdi + 0x1ec8]
call fcn.14006eb60
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1ec8]
mov rdx, qword [rdx + 8]
call fcn.14006f180
mov rax, qword [rdi + 0x1f00]
lea rcx, [rdi + 0x1ec8]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14006f060
mov r8, qword [0x1401414b0]
mov byte [rdi + 0x1d88], bpl
mov qword [rdi + 0x1d90], rbp
mov qword [rdi + 0x1d9c], rbp
mov dword [rdi + 0x1d98], ebp
mov qword [rdi + 0x1db4], rbp
mov qword [rdi + 0x1dac], rbp
mov qword [rdi + 0x1da4], rbp
cmp byte [rdi + 0x1fac], bpl
je 0x1400592c4
mov eax, dword [rdi + 0x1fcc]
cmp eax, dword [rdi + 0x1ad8]
jne 0x1400592c4
cmp dword [r8 + 0x1ad8], eax
jne 0x1400592b3
mov dword [r8 + 0x1adc], eax
cmp dword [r8 + 0x1b18], eax
jne 0x1400592c4
mov byte [r8 + 0x1b1c], 1
lea rax, [rdi + 0x1ac4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1ac8], ebp
jne 0x1400592dd
mov dword [rdi + 0x1ad0], ebp
jmp 0x1400592ee
mov edx, ecx
mov r9, rax
test ecx, ecx
je 0x1400592f9
cmp dword [rdi + 0x1ad8], ecx
jne 0x1400592f9
mov dword [rdi + 0x1ad4], ebp
mov edx, ecx
mov r9, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x140059330
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ad0]
movss dword [rdi + 0x1ad0], xmm0
cmp dword [rdi + 0x1ad8], edx
je 0x140059330
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ad4]
movss dword [rdi + 0x1ad4], xmm0
mov eax, dword [rdi + 0x1ad8]
movaps xmm2, xmm1
mov dword [rdi + 0x1ac8], edx
mov dword [r9], ebp
mov word [rdi + 0x1acc], bp
cmp dword [rdi + 0x1adc], eax
je 0x1400593b3
cmp dword [rdi + 0x1b18], eax
jne 0x1400593b3
test eax, eax
je 0x1400593b3
mov ecx, dword [r8 + 0x1ad8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ae4], al
test ecx, ecx
je 0x140059383
mov dword [r8 + 0x1ae0], ebp
mov word [r8 + 0x1ae7], bp
mov dword [r8 + 0x1ad8], ebp
mov word [r8 + 0x1ae5], bp
mov qword [r8 + 0x1b08], rbp
mov byte [r8 + 0x1ae9], bpl
mov qword [r8 + 0x1aec], rbp
mov qword [r8 + 0x1af8], rbp
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ad8]
test ecx, ecx
je 0x1400593d0
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1ae0]
movss dword [rdi + 0x1ae0], xmm0
mov rax, qword [rdi + 0x1b08]
addss xmm2, dword [rdi + 0x1b2c]
mov qword [rdi + 0x1b20], rax
movzx eax, byte [rdi + 0x1ae8]
mov byte [rdi + 0x1b1d], al
mov eax, dword [rdi + 0x2fb0]
movss dword [rdi + 0x1b2c], xmm2
mov dword [rdi + 0x1b18], ecx
mov dword [rdi + 0x1adc], ebp
mov byte [rdi + 0x1ae9], bpl
mov byte [rdi + 0x1b1c], bpl
mov byte [rdi + 0x1ae4], bpl
test eax, eax
je 0x140059430
cmp ecx, eax
je 0x140059430
mov dword [rdi + 0x2fb0], ebp
test ecx, ecx
jne 0x140059442
mov qword [rdi + 0x1aec], rbp
mov qword [rdi + 0x1af8], rbp
mov eax, dword [rdi + 0x201c]
mov dword [rdi + 0x2020], eax
mov eax, ebp
mov qword [rdi + 0x2018], 0x7f7fffff
mov word [rdi + 0x1fad], bp
mov dword [rdi + 0x2028], ebp
cmp byte [r8 + 0x148], bpl
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x149], bpl
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x14a], bpl
cmove edx, ecx
lea rcx, [rdi + 0xca8]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x14b], bpl
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a8]
mov dword [rdi + 0x3c8], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1401013d8]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
nop word [rax + rax]
cmp byte [rcx - 1], bpl
je 0x1400594fc
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1400594f5
movaps xmm0, xmm6
jmp 0x1400594ff
addss xmm0, dword [rdi + 0x18]
jmp 0x1400594ff
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], bpl
je 0x14005951e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140059517
movaps xmm0, xmm6
jmp 0x140059521
addss xmm0, dword [rdi + 0x18]
jmp 0x140059521
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], bpl
je 0x140059541
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14005953a
movaps xmm0, xmm6
jmp 0x140059544
addss xmm0, dword [rdi + 0x18]
jmp 0x140059544
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], bpl
je 0x140059565
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14005955e
movaps xmm0, xmm6
jmp 0x140059568
addss xmm0, dword [rdi + 0x18]
jmp 0x140059568
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1400594e0
call fcn.140062da0
call fcn.1400581b0
call fcn.140058ae0
call fcn.140057c30
mov r11, qword [0x1401414b0]
mov eax, dword [r11 + 0x1be8]
sub eax, 1
js 0x1400595db
movsxd rdx, eax
mov rax, qword [r11 + 0x1bf0]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop
mov rax, qword [r8]
test rax, rax
je 0x1400595d1
test dword [rax + 0xc], 0x8000000
jne 0x1400595f1
sub r8, 0x30
sub rdx, 1
jns 0x1400595c0
cmp qword [rdi + 0x1d38], rbp
je 0x14005960d
movss xmm0, dword [rdi + 0x1d54]
comiss xmm0, xmm6
jbe 0x14005960d
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14010133c]
addss xmm1, dword [rdi + 0x1de0]
minss xmm1, xmm9
jmp 0x14005962a
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140101348]
movss xmm1, dword [rdi + 0x1de0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1de0], xmm1
mov dword [rdi + 0x1fa8], ebp
mov qword [rdi + 0x3280], 0xffffffffffffffff
mov dword [rdi + 0x327c], 0xffffffff
mov dword [rdi + 0x3010], 0x3f800000
mov dword [rdi + 0x3014], 0x3f800000
call fcn.140058570
mov r8, qword [r11 + 0x1c08]
movaps xmm9, xmmword [rsp + 0x20]
test r8, r8
je 0x1400596a6
cmp byte [r8 + 0x7e], bpl
je 0x1400596a6
test dword [r8 + 0xc], 0x40000
jne 0x1400596a6
cmp byte [r11 + 0x148], bpl
jne 0x1400596a6
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x1400596a6
call fcn.14005b0f0
test al, al
je 0x1400596a6
mov al, 1
jmp 0x1400596a8
xor al, al
mov byte [r11 + 0x1d80], al
cmp dword [r11 + 0x1ad8], ebp
jne 0x140059713
test al, al
je 0x140059713
mov qword [r11 + 0x1d68], r8
mov dword [r11 + 0x1d78], 0x7fffffff
cmp dword [r11 + 0x1c10], ebp
je 0x140059700
mov ecx, dword [r11 + 0x1c58]
cmp ecx, 0x7fffffff
je 0x140059700
cmp byte [r11 + 0x149], bpl
mov eax, 2
cmovne eax, ebp
add eax, ecx
mov dword [r11 + 0x1d7c], eax
jmp 0x140059713
movzx eax, byte [r11 + 0x149]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1d7c], ecx
mov r8, qword [r11 + 0x1d68]
mov qword [r11 + 0x1d60], rbp
mov dword [r11 + 0x1d74], 0x7fffffff
mov dword [r11 + 0x1d70], 0x7fffffff
test r8, r8
je 0x1400597b0
mov eax, dword [r11 + 0x1d78]
mov qword [r11 + 0x1d60], r8
cmp eax, 0x7fffffff
je 0x14005976b
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x14005976b
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d70], edx
mov eax, dword [r11 + 0x1d7c]
cmp eax, 0x7fffffff
je 0x140059793
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x140059793
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1d74], edx
mov qword [r11 + 0x1d68], rbp
mov dword [r11 + 0x1d7c], 0x7fffffff
mov dword [r11 + 0x1d78], 0x7fffffff
mov dword [r11 + 0x1c58], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x1400597db
movsd xmm8, qword [rdi + 0x1a08]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, ebp
cmp dword [rdi + 0x1a30], ebp
je 0x140059845
mov rsi, rbp
nop dword [rax + rax]
mov rax, qword [rdi + 0x1a38]
mov rcx, qword [rsi + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x8a], bp
mov byte [rcx + 0x7e], bpl
mov byte [rcx + 0x80], bpl
test al, al
jne 0x140059830
cmp byte [rcx + 0x400], bpl
jne 0x140059830
comiss xmm8, dword [rcx + 0x294]
jbe 0x140059830
call fcn.1400575d0
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x1a30]
jne 0x1400597f0
mov r11, qword [0x1401414b0]
mov rax, qword [rdi + 0x1c08]
movaps xmm8, xmmword [rsp + 0x30]
mov rsi, qword [rsp + 0x90]
test rax, rax
je 0x1400598c1
cmp byte [rax + 0x7f], bpl
jne 0x1400598c1
mov eax, dword [r11 + 0x1a40]
sub eax, 1
js 0x1400598ba
movsxd r9, eax
mov rax, qword [r11 + 0x1a48]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x1400598b0
cmp byte [r8 + 0x7f], bpl
je 0x1400598b0
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140059a47
sub r10, 8
sub r9, 1
jns 0x140059880
xor ecx, ecx
call fcn.140060090
mov ecx, dword [rdi + 0x1a64]
test ecx, ecx
jns 0x1400598e7
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a60]
test eax, eax
cmovg edx, eax
call fcn.140066de0
mov dword [rdi + 0x1a60], ebp
mov ecx, dword [rdi + 0x1bfc]
test ecx, ecx
jns 0x140059913
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1bf8]
test eax, eax
cmovg edx, eax
call fcn.1400672b0
mov dword [rdi + 0x1bf8], ebp
xor edx, edx
mov rcx, qword [rdi + 0x1c08]
call fcn.1400616e0
mov r8, qword [0x1401414b0]
cmp byte [r8 + 0x308c], 0
mov dword [r8 + 0x3090], ebp
mov rbp, qword [rsp + 0x88]
je 0x1400599fb
mov ebx, dword [r8 + 0x1ac8]
mov dword [r8 + 0x1fa8], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140059976
call fcn.14005b0f0
test al, al
je 0x140059976
mov byte [r8 + 0x308c], 0
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x140059999
jne 0x140059999
test ebx, ebx
je 0x140059999
mov dword [r8 + 0x3090], ebx
mov byte [r8 + 0x308c], 0
or dword [r8 + 0x1b30], 0x40
xor edx, edx
mov dword [r8 + 0x1b90], 0x3f19999a
call fcn.140061530
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.1400791e0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400791e0
mov eax, 0x1630
lea rdx, str.Click_to_break_in_debugger_
test ebx, ebx
mov ecx, 0x1620
cmove ecx, eax
add rcx, qword [0x1401414b0]
call fcn.1400792e0
call fcn.14005ffa0
mov r8, qword [0x1401414b0]
mov byte [rdi + 0x1a1d], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1b30], 2
xor edx, edx
mov dword [r8 + 0x1b50], 0x43c80000
mov dword [r8 + 0x1b54], 0x43c80000
mov dword [r8 + 0x1b38], 4
xor r8d, r8d
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rbx
jmp fcn.14005daf0
mov rcx, qword [r8 + 0x3d0]
test rcx, rcx
je 0x140059a5d
cmp byte [rcx + 0x7f], bpl
jne 0x1400598bc
mov rcx, r8
jmp 0x1400598bc