Function at 0x180030e00
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rcx, qword [0x1800d9728]
xor edi, edi
mov qword [rax + 0x10], rbp
mov rbx, rcx
mov qword [rax + 0x18], r13
mov esi, edi
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
cmp dword [rcx + 0x2ff8], edi
jle 0x180030e85
mov ebp, edi
nop dword [rax + rax]
mov r8, qword [rbx + 0x3000]
cmp dword [r8 + rbp], edi
jne 0x180030e70
movsxd rax, esi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rbx
call qword [r8 + rbp + 8]
inc esi
add rbp, 0x18
cmp esi, dword [rbx + 0x2ff8]
jl 0x180030e50
mov rcx, qword [0x1800d9728]
mov eax, dword [rbx + 0x1a24]
mov dword [rbx + 0x1a28], eax
cmp byte [rcx + 0xd3], dil
je 0x180030ea7
test byte [rcx + 0xc], 2
jne 0x180030ea7
mov byte [rcx + 0xd3], dil
mov edx, dword [rcx + 8]
bt edx, 0xa
jae 0x180030ec6
mov eax, dword [rcx + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x180030ec6
btr edx, 0xa
mov dword [rcx + 8], edx
mov eax, dword [rbx + 8]
mov rsi, rcx
mov dword [rbx + 0x1a24], eax
cmp byte [rcx + 0x2fc0], dil
jne 0x180030f3d
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x180030f36
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
mov rcx, rax
call fcn.18002d170
mov rbp, rax
test rax, rax
je 0x180030f2f
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.1800417a0
mov rcx, qword [0x1800d9728]
test rcx, rcx
je 0x180030f26
dec dword [rcx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1800d9728]
mov byte [rsi + 0x2fc0], 1
movss xmm0, dword [rsi + 0x2fc4]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180030fd2
subss xmm0, dword [rsi + 0x18]
comiss xmm6, xmm0
movss dword [rsi + 0x2fc4], xmm0
jb 0x180030fd2
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x180030fc5
mov dword [rcx + 0x2fc4], edi
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.180041b00
lea rdx, [0x18007d434]
mov rcx, rbp
mov r14, rax
call fcn.18002d040
mov rbp, rax
test rax, rax
je 0x180030fcc
mov r8, qword [rsp + 0xa0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180030fcc
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x2fc4], edi
inc dword [rbx + 0x1b20]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b30], 1
mov dword [rbx + 0x2f40], edi
mov dword [rbx + 0x1b90], edi
addsd xmm0, qword [rbx + 0x1b18]
movsd qword [rbx + 0x1b18], xmm0
mov ecx, dword [rbx + 0x2f5c]
test ecx, ecx
jns 0x180031029
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x2f58]
test eax, eax
cmovg edx, eax
call fcn.18004d5c0
movss xmm9, dword [0x18007dc80]
movss xmm10, dword [0x18007dab0]
mov dword [rbx + 0x2f58], edi
movsxd rax, dword [rbx + 0x3234]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x3054]
addss xmm0, dword [rbx + 0x3238]
movss dword [rbx + 0x3238], xmm0
movss dword [rbx + rax*4 + 0x3054], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3234]
movss xmm1, dword [rbx + 0x3238]
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 [rbx + 0x3234], ecx
jbe 0x1800310b7
divss xmm1, dword [0x18007dbc0]
movaps xmm0, xmm10
divss xmm0, xmm1
jmp 0x1800310bb
movaps xmm0, xmm9
movss dword [rbx + 0x39c], xmm0
call fcn.180042a30
mov rax, qword [rbx + 0xa8]
mov rsi, qword [0x1800d9728]
mov byte [rax], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x1800310f3
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.18003b0b0
mov eax, dword [rbx + 0x1d40]
movaps xmm8, xmm9
movss xmm4, dword [0x18007dcbc]
movaps xmm7, xmm9
movaps xmm5, xmm4
test eax, eax
jle 0x180031169
mov rcx, qword [rbx + 0x1d48]
mov edx, eax
nop
mov rax, qword [rcx]
movss xmm3, dword [rax + 8]
comiss xmm8, xmm3
movss xmm2, dword [rax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x14]
jbe 0x180031147
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x18003114f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x180031157
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18003115f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x180031120
mov qword [rsp + 0x70], r15
movss dword [rbx + 0x1a5c], xmm8
movss dword [rbx + 0x1a60], xmm7
movss dword [rbx + 0x1a64], xmm4
movss dword [rbx + 0x1a68], xmm5
mov eax, dword [rbx + 0x16fc]
movss xmm1, dword [rbx + 0x1700]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x1a54], eax
movss xmm0, dword [rbx + 0x1a58]
ucomiss xmm0, xmm1
jp 0x1800311bc
je 0x180031238
movss xmm7, dword [0x18007db00]
lea r14, [rbx + 0x1ad0]
movss dword [rbx + 0x1a58], xmm1
mov ebp, edi
mov r15d, 0x200
nop dword [rax + rax]
movd xmm1, ebp
cvtdq2ps xmm1, xmm1
addss xmm1, xmm10
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x1a58]
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 0x180031217
mov edx, 0xc
jmp 0x18003121e
cmp edx, r15d
cmovg edx, r15d
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebp
mov byte [r14], cl
inc r14
cmp ebp, 0x40
jl 0x1800311e0
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x1a6c], edi
cmp byte [rbx + 0x16f8], dil
je 0x18003125f
mov dword [rbx + 0x1a6c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f9], dil
je 0x180031285
mov rax, qword [rbx + 0x1a30]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x180031285
or edx, 2
mov dword [rbx + 0x1a6c], edx
cmp byte [rbx + 0x16fa], dil
je 0x180031297
or edx, 4
mov dword [rbx + 0x1a6c], edx
test byte [rbx + 0xc], 8
je 0x1800312a6
or edx, 8
mov dword [rbx + 0x1a6c], edx
mov edx, edi
cmp dword [rbx + 0x1d40], edi
jle 0x180031308
mov r8, rdi
mov rax, qword [rbx + 0x1d48]
lea r8, [r8 + 8]
inc edx
mov rcx, qword [r8 + rax - 8]
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0xdc], rdi
mov qword [rcx + 0xd4], rdi
mov qword [rcx + 0xcc], rdi
mov qword [rcx + 0xe8], rdi
mov byte [rcx + 0xb0], dil
mov qword [rcx + 0xb8], rdi
mov qword [rcx + 0xc4], rdi
mov dword [rcx + 0xc0], edi
cmp edx, dword [rbx + 0x1d40]
jl 0x1800312b3
cmp byte [rbx + 0x1efc], dil
je 0x18003133c
mov eax, dword [rbx + 0x1f1c]
cmp eax, dword [rbx + 0x1bf0]
jne 0x18003133c
cmp dword [rsi + 0x1bf0], eax
jne 0x18003132d
mov dword [rsi + 0x1bf4], eax
cmp dword [rsi + 0x1c30], eax
jne 0x18003133c
mov byte [rsi + 0x1c34], 1
cmp dword [rbx + 0x1be0], edi
jne 0x18003134c
mov dword [rbx + 0x1be8], edi
jmp 0x18003135e
mov eax, dword [rbx + 0x1bdc]
test eax, eax
je 0x180031364
cmp dword [rbx + 0x1bf0], eax
jne 0x180031364
mov dword [rbx + 0x1bec], edi
mov eax, dword [rbx + 0x1bdc]
test eax, eax
je 0x18003139e
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1be8]
movss dword [rbx + 0x1be8], xmm0
cmp dword [rbx + 0x1bf0], eax
je 0x18003139e
addss xmm1, dword [rbx + 0x1bec]
movss dword [rbx + 0x1bec], xmm1
mov dword [rbx + 0x1be0], eax
mov eax, dword [rbx + 0x1bf0]
mov dword [rbx + 0x1bdc], edi
mov word [rbx + 0x1be4], di
cmp dword [rbx + 0x1bf4], eax
je 0x180031416
cmp dword [rbx + 0x1c30], eax
jne 0x180031416
test eax, eax
je 0x180031416
mov ecx, dword [rsi + 0x1bf0]
test ecx, ecx
setne al
mov byte [rsi + 0x1bfc], al
test ecx, ecx
je 0x1800313ed
mov dword [rsi + 0x1bf8], edi
mov word [rsi + 0x1bff], di
mov dword [rsi + 0x1bf0], edi
mov word [rsi + 0x1bfd], di
mov qword [rsi + 0x1c20], rdi
mov byte [rsi + 0x1c01], dil
mov qword [rsi + 0x1c04], rdi
mov qword [rsi + 0x1c10], rdi
mov ecx, dword [rbx + 0x1bf0]
test ecx, ecx
je 0x180031435
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1bf8]
movss dword [rbx + 0x1bf8], xmm0
mov rax, qword [rbx + 0x1c20]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1c44]
mov qword [rbx + 0x1c38], rax
movzx eax, byte [rbx + 0x1c00]
mov byte [rbx + 0x1c35], al
mov eax, dword [rbx + 0x2f00]
movss dword [rbx + 0x1c44], xmm0
mov dword [rbx + 0x1c30], ecx
mov dword [rbx + 0x1bf4], edi
mov byte [rbx + 0x1c01], dil
mov byte [rbx + 0x1c34], dil
mov byte [rbx + 0x1bfc], dil
test eax, eax
je 0x18003149a
cmp ecx, eax
je 0x18003149a
mov dword [rbx + 0x2f00], edi
test ecx, ecx
jne 0x1800314ac
mov qword [rbx + 0x1c04], rdi
mov qword [rbx + 0x1c10], rdi
mov eax, dword [rbx + 0x1f6c]
mov r8d, 0x800
mov dword [rbx + 0x1f70], eax
mov eax, edi
mov qword [rbx + 0x1f68], 0x7f7fffff
mov word [rbx + 0x1efd], di
mov dword [rbx + 0x1f78], edi
cmp byte [rsi + 0x13c], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x13d], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x13e], dil
cmove edx, ecx
lea rcx, [rbx + 0xc98]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x13f], dil
cmove eax, edx
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x18007dc90]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x180031560
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x180031559
movaps xmm0, xmm6
jmp 0x180031563
addss xmm0, dword [rbx + 0x18]
jmp 0x180031563
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x180031582
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18003157b
movaps xmm0, xmm6
jmp 0x180031585
addss xmm0, dword [rbx + 0x18]
jmp 0x180031585
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x1800315a5
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18003159e
movaps xmm0, xmm6
jmp 0x1800315a8
addss xmm0, dword [rbx + 0x18]
jmp 0x1800315a8
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x1800315c9
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1800315c2
movaps xmm0, xmm6
jmp 0x1800315cc
addss xmm0, dword [rbx + 0x18]
jmp 0x1800315cc
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x180031544
call fcn.18003e400
call fcn.1800301a0
mov rcx, rbx
call fcn.1800441c0
call fcn.180030af0
call fcn.18002fa60
mov r10, qword [0x1800d9728]
mov eax, dword [r10 + 0x1d20]
sub eax, 1
js 0x18003164b
mov r8, qword [r10 + 0x1d28]
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 0x180031641
test dword [rax + 0xc], 0x8000000
jne 0x180031661
sub r8, 0x30
sub rdx, 1
jns 0x180031630
cmp qword [rbx + 0x1ea8], rdi
je 0x18003167d
movss xmm0, dword [rbx + 0x1ec4]
comiss xmm0, xmm6
jbe 0x18003167d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18007dafc]
addss xmm1, dword [rbx + 0x1ef4]
minss xmm1, xmm10
jmp 0x18003169a
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18007db18]
movss xmm1, dword [rbx + 0x1ef4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1ef4], xmm1
mov dword [rbx + 0x1ef8], edi
mov qword [rbx + 0x3240], 0xffffffffffffffff
mov dword [rbx + 0x323c], 0xffffffff
mov dword [rbx + 0x2f68], 0x3f800000
mov dword [rbx + 0x2f6c], 0x3f800000
mov qword [rbx + 0x2f78], rdi
call fcn.180030560
mov r8, qword [r10 + 0x1d78]
movaps xmm10, xmmword [rsp + 0x20]
test r8, r8
je 0x180031720
cmp byte [r8 + 0xbf], dil
je 0x180031720
test dword [r8 + 0xc], 0x40000
jne 0x180031720
cmp byte [r10 + 0x13c], dil
jne 0x180031720
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x180031720
call fcn.180033f30
test al, al
je 0x180031720
mov al, 1
jmp 0x180031722
xor al, al
mov byte [r10 + 0x1ef0], al
cmp dword [r10 + 0x1bf0], edi
jne 0x18003178d
test al, al
je 0x18003178d
mov qword [r10 + 0x1ed8], r8
mov dword [r10 + 0x1ee8], 0x7fffffff
cmp dword [r10 + 0x1d80], edi
je 0x18003177a
mov ecx, dword [r10 + 0x1dc8]
cmp ecx, 0x7fffffff
je 0x18003177a
cmp byte [r10 + 0x13d], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r10 + 0x1eec], eax
jmp 0x18003178d
movzx eax, byte [r10 + 0x13d]
neg al
sbb ecx, ecx
mov dword [r10 + 0x1eec], ecx
mov r8, qword [r10 + 0x1ed8]
mov qword [r10 + 0x1ed0], rdi
mov dword [r10 + 0x1ee4], 0x7fffffff
mov dword [r10 + 0x1ee0], 0x7fffffff
test r8, r8
je 0x18003182a
mov eax, dword [r10 + 0x1ee8]
mov qword [r10 + 0x1ed0], r8
cmp eax, 0x7fffffff
je 0x1800317e5
mov ecx, dword [r8 + 0x1f8]
cmp ecx, 0xffffffff
je 0x1800317e5
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1ee0], edx
mov eax, dword [r10 + 0x1eec]
cmp eax, 0x7fffffff
je 0x18003180d
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x18003180d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1ee4], edx
mov qword [r10 + 0x1ed8], rdi
mov dword [r10 + 0x1eec], 0x7fffffff
mov dword [r10 + 0x1ee8], 0x7fffffff
mov dword [r10 + 0x1dc8], 0x7fffffff
movss xmm0, dword [rbx + 0xd8]
comiss xmm0, xmm6
jb 0x180031855
movsd xmm9, qword [rbx + 0x1b18]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov esi, edi
cmp dword [rbx + 0x1b40], edi
je 0x1800318b9
mov r14, rdi
mov rax, qword [rbx + 0x1b48]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0xbf]
mov byte [rcx + 0xc0], al
mov word [rcx + 0xca], di
mov byte [rcx + 0xbf], dil
mov byte [rcx + 0xc1], dil
test al, al
jne 0x1800318ab
cmp byte [rcx + 0x440], dil
jne 0x1800318ab
comiss xmm9, dword [rcx + 0x2e0]
jbe 0x1800318ab
call fcn.18002f210
inc esi
add r14, 8
cmp esi, dword [rbx + 0x1b40]
jne 0x180031862
mov rax, qword [rbx + 0x1d78]
movaps xmm9, xmmword [rsp + 0x30]
test rax, rax
je 0x1800318db
cmp byte [rax + 0xc0], dil
jne 0x1800318db
xor ecx, ecx
call fcn.18003af90
lea rcx, [rbx + 0x1b70]
call fcn.18004d180
mov ecx, dword [rbx + 0x1d34]
test ecx, ecx
jns 0x18003190d
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1d30]
test eax, eax
cmovg edx, eax
call fcn.18004d650
mov r13, qword [0x1800d9728]
mov dword [rbx + 0x1d30], edi
mov r11, qword [rbx + 0x1d78]
movsxd rsi, dword [r13 + 0x1d20]
test esi, esi
je 0x1800319c3
mov r10d, edi
test r11, r11
je 0x1800319b0
test esi, esi
jle 0x1800319b0
mov r14, qword [r13 + 0x1d28]
mov rbp, rdi
add r14, 8
mov r15, rdi
nop dword [rax]
mov rax, qword [r14]
test rax, rax
je 0x18003199d
test dword [rax + 0xc], 0x1000000
jne 0x18003199d
mov rdx, rbp
cmp r10d, esi
jge 0x1800319b0
mov rcx, qword [r13 + 0x1d28]
add rcx, 8
add rcx, r15
mov r8, qword [rcx]
test r8, r8
je 0x18003198f
mov rax, qword [r11 + 0x3e8]
cmp qword [r8 + 0x3e8], rax
je 0x18003199d
inc rdx
add rcx, 0x30
cmp rdx, rsi
jl 0x180031977
jmp 0x1800319b9
inc r10d
inc rbp
add r15, 0x30
add r14, 0x30
cmp r10d, esi
jl 0x180031950
cmp r10d, dword [r13 + 0x1d20]
jge 0x1800319c3
xor edx, edx
mov ecx, r10d
call fcn.18003ca90
test byte [rbx + 8], 0x40
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0xb0]
je 0x180031ae3
mov rax, qword [rbx + 0x1bb0]
mov qword [rbx + 0x1bb8], rdi
test rax, rax
je 0x180031a2d
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x180031a13
mov rdx, qword [rbx + 0x120]
call fcn.18004a6f0
mov qword [rbx + 0x1bb8], rax
jmp 0x180031a2d
mov rax, qword [rax + 0x3f0]
mov rcx, qword [rax + 0x448]
test rcx, rcx
je 0x180031a2d
mov qword [rbx + 0x1bb8], rcx
mov esi, edi
cmp dword [rbx + 0x2f98], edi
jle 0x180031a6d
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x2fa0]
cmp dword [rax + rbp], 1
jne 0x180031a5f
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.180045110
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x2f98]
jl 0x180031a40
mov ecx, dword [rbx + 0x2f9c]
test ecx, ecx
jns 0x180031a93
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x2f98]
test eax, eax
cmovg edx, eax
call fcn.18004d6f0
mov dword [rbx + 0x2f98], edi
mov esi, edi
cmp dword [rbx + 0x2f88], edi
jle 0x180031ae3
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x2f90]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x180031ad5
cmp qword [rcx + 0x10], rdi
jne 0x180031ad5
test dword [rcx + 8], 0x400
jne 0x180031ad5
call fcn.180046150
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x2f88]
jl 0x180031ab0
mov r8, qword [0x1800d9728]
mov rbp, qword [rsp + 0xa8]
mov dword [r8 + 0x3040], edi
cmp byte [r8 + 0x303c], dil
je 0x180031bba
mov esi, dword [r8 + 0x1be0]
mov dword [r8 + 0x1ef8], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x180031b30
call fcn.180033f30
test al, al
je 0x180031b30
mov byte [r8 + 0x303c], dil
movss xmm0, dword [r8 + 0x434]
ucomiss xmm0, xmm6
jp 0x180031b52
jne 0x180031b52
test esi, esi
je 0x180031b52
mov dword [r8 + 0x3040], esi
mov byte [r8 + 0x303c], dil
mov rax, qword [0x1800d9728]
xor edx, edx
or dword [rax + 0x1c48], 0x40
mov dword [rax + 0x1ca8], 0x3f19999a
call fcn.18003c5c0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.180060e70
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180060e70
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1800d9728]
add rax, 0x1704
add rcx, rax
call fcn.180060f70
call fcn.18003aa80
mov rax, qword [0x1800d9728]
lea rcx, str.DebugDefault
mov byte [rbx + 0x1b31], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1c48], 2
mov dword [rax + 0x1c6c], 0x43c80000
mov dword [rax + 0x1c70], 0x43c80000
mov dword [rax + 0x1c50], 4
call fcn.180037810
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x2ff8], edi
jle 0x180031c3f
mov rsi, rdi
nop
mov r8, qword [rbx + 0x3000]
cmp dword [rsi + r8], 1
jne 0x180031c31
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rbx
call qword [rsi + r8 + 8]
inc edi
add rsi, 0x18
cmp edi, dword [rbx + 0x2ff8]
jl 0x180031c10
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret