Function at 0x180028c90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov qword [rax + 0x10], rbp
mov rbp, qword [0x18008b2c0]
mov qword [rax + 0x20], r13
mov rbx, rbp
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
mov edi, dword [rbp + 0x55b0]
sub edi, 1
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
js 0x180028d33
movsxd rsi, edi
shl rsi, 5
mov r14, rsi
nop
mov rdx, qword [rbp + 0x55b8]
cmp dword [rdx + rsi + 4], 7
jne 0x180028d26
movsxd r8, dword [rbp + 0x55b0]
mov rcx, rdx
sub rdx, rdx
add rdx, r14
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rbp + 0x55b0]
sub r14, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x180028ce0
xor edi, edi
mov esi, edi
cmp dword [rbp + 0x55b0], edi
jle 0x180028d74
mov ebp, edi
mov rax, qword [rbx + 0x55b8]
cmp dword [rax + rbp + 4], edi
jne 0x180028d5f
movsxd rdx, esi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rbp + 0x10]
inc esi
add rbp, 0x20
cmp esi, dword [rbx + 0x55b0]
jl 0x180028d41
mov rbp, qword [0x18008b2c0]
mov eax, dword [rbx + 0x3d40]
mov dword [rbx + 0x3d44], eax
cmp byte [rbp + 0x7d], dil
je 0x180028d90
test byte [rbp + 0xc], 2
jne 0x180028d90
mov byte [rbp + 0x7d], dil
mov ecx, dword [rbp + 8]
bt ecx, 0xa
jae 0x180028daf
mov eax, dword [rbp + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x180028daf
btr ecx, 0xa
mov dword [rbp + 8], ecx
mov eax, dword [rbx + 8]
mov rsi, rbp
mov dword [rbx + 0x3d40], eax
cmp byte [rbp + 0x5568], dil
jne 0x180028e23
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x180028e1c
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.180023e10
mov rbp, rax
test rax, rax
je 0x180028e15
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180039a30
mov rcx, qword [0x18008b2c0]
test rcx, rcx
je 0x180028e0c
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [0x18008b2c0]
mov byte [rsi + 0x5568], 1
movss xmm0, dword [rsi + 0x556c]
xorps xmm10, xmm10
comiss xmm0, xmm10
mov qword [rsp + 0x70], r15
jbe 0x180028ec0
subss xmm0, dword [rsi + 0x18]
comiss xmm10, xmm0
movss dword [rsi + 0x556c], xmm0
jb 0x180028ec0
mov r14, qword [rsi + 0x20]
test r14, r14
je 0x180028eb3
lea rcx, [rsp + 0xa0]
mov dword [rbp + 0x556c], edi
mov qword [rsp + 0xa0], rdi
call fcn.180039ca0
lea rdx, [0x18007a1c4]
mov rcx, r14
mov r15, rax
call fcn.180023ce0
mov rbp, rax
test rax, rax
je 0x180028eba
mov r8, qword [rsp + 0xa0]
mov r9, rax
mov edx, 1
mov rcx, r15
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 0x180028eba
mov byte [rsi + 0xdc], 1
mov dword [rsi + 0x556c], edi
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x54f8]
inc dword [rbx + 0x3f60]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x3f70], 1
mov word [rbx + 0x54de], di
mov dword [rbx + 0x3fd0], edi
addsd xmm0, qword [rbx + 0x3f58]
movsd qword [rbx + 0x3f58], xmm0
call fcn.1800467c0
movsxd rax, dword [rbx + 0x5830]
movss xmm1, dword [rbx + 0x18]
movss xmm8, dword [0x18007a94c]
movaps xmm0, xmm1
movss xmm9, dword [0x18007a870]
subss xmm0, dword [rbx + rax*4 + 0x5650]
addss xmm0, dword [rbx + 0x5838]
movss dword [rbx + 0x5838], xmm0
movss dword [rbx + rax*4 + 0x5650], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x5830]
movss xmm2, dword [rbx + 0x5838]
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
mov eax, dword [rbx + 0x5834]
inc eax
mov dword [rbx + 0x5830], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rbx + 0x5834], ecx
jbe 0x180028fa4
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x180028fa8
movaps xmm1, xmm8
movss dword [rbx + 0xe0], xmm1
call fcn.18003ac10
mov rax, qword [rbx + 0x50]
mov rbp, qword [0x18008b2c0]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0x60]
test rcx, rcx
jne 0x180028fd8
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1800322b0
mov eax, dword [rbx + 0x4208]
movaps xmm7, xmm8
movss xmm4, dword [0x18007a984]
movaps xmm6, xmm8
movaps xmm5, xmm4
test eax, eax
jle 0x180029057
mov rcx, qword [rbx + 0x4210]
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 8]
comiss xmm7, xmm3
movss xmm2, dword [rax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x14]
jbe 0x180029035
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x18002903d
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x180029045
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18002904d
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x180029010
movss dword [rbx + 0x3d74], xmm7
movss dword [rbx + 0x3d78], xmm6
movss dword [rbx + 0x3d7c], xmm4
movss dword [rbx + 0x3d80], xmm5
mov eax, dword [rbx + 0x39c8]
movss xmm1, dword [rbx + 0x39cc]
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x3d6c], eax
movss xmm0, dword [rbx + 0x3d70]
ucomiss xmm0, xmm1
jp 0x1800290a3
je 0x180029156
movss xmm6, dword [0x18007a8b8]
lea r14, [rbx + 0x3f0c]
movss dword [rbx + 0x3d70], xmm1
mov esi, edi
mov r15d, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x18002911b
movss xmm1, dword [rbx + 0x3d70]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x180029112
mov eax, 4
jmp 0x180029120
cmp eax, r15d
cmovg eax, r15d
jmp 0x180029120
mov eax, 0x30
mov byte [r14], al
inc esi
inc r14
cmp esi, 0x40
jl 0x1800290c2
movss xmm0, dword [0x18007a800]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x3d70]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3f08], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x60]
mov dword [rbx + 0x3d84], edi
cmp byte [rbx + 0x39c4], dil
je 0x18002917d
mov dword [rbx + 0x3d84], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39c5], dil
je 0x1800291a2
mov rax, qword [rbx + 0x3d48]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1800291a2
or edx, 2
mov dword [rbx + 0x3d84], edx
cmp byte [rbx + 0x39c6], dil
je 0x1800291b4
or edx, 4
mov dword [rbx + 0x3d84], edx
test byte [rbx + 0xc], 8
je 0x1800291c3
or edx, 8
mov dword [rbx + 0x3d84], edx
mov edx, edi
cmp dword [rbx + 0x4208], edi
jle 0x18002920f
mov r8, rdi
mov rax, qword [rbx + 0x4210]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + rax - 8]
xor eax, eax
mov qword [rcx + 0x30], rdi
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
cmp edx, dword [rbx + 0x4208]
jl 0x1800291d0
cmp byte [rbx + 0x43fc], dil
je 0x180029243
mov eax, dword [rbx + 0x441c]
cmp eax, dword [rbx + 0x4034]
jne 0x180029243
cmp dword [rbp + 0x4034], eax
jne 0x180029234
mov dword [rbp + 0x4038], eax
cmp dword [rbp + 0x4060], eax
jne 0x180029243
mov byte [rbp + 0x4064], 1
cmp dword [rbx + 0x4024], edi
jne 0x180029253
mov dword [rbx + 0x402c], edi
jmp 0x180029265
mov eax, dword [rbx + 0x4020]
test eax, eax
je 0x18002926b
cmp dword [rbx + 0x4034], eax
jne 0x18002926b
mov dword [rbx + 0x4030], edi
mov eax, dword [rbx + 0x4020]
test eax, eax
je 0x1800292a5
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x402c]
movss dword [rbx + 0x402c], xmm0
cmp dword [rbx + 0x4034], eax
je 0x1800292a5
addss xmm1, dword [rbx + 0x4030]
movss dword [rbx + 0x4030], xmm1
mov dword [rbx + 0x4024], eax
mov r13d, 0xffffffff
movzx eax, byte [rbx + 0x4029]
mov byte [rbx + 0x402a], al
mov eax, dword [rbx + 0x4034]
mov dword [rbx + 0x4020], edi
mov word [rbx + 0x4028], di
mov byte [rbx + 0x402b], dil
cmp dword [rbx + 0x4038], eax
je 0x180029350
cmp dword [rbx + 0x4060], eax
jne 0x180029350
test eax, eax
je 0x180029350
mov ecx, dword [rbp + 0x4034]
test ecx, ecx
setne al
mov byte [rbp + 0x4040], al
test ecx, ecx
je 0x180029315
mov dword [rbp + 0x403c], edi
mov word [rbp + 0x4043], di
mov dword [rbp + 0x405c], r13d
mov dword [rbp + 0x4034], edi
xorps xmm0, xmm0
mov word [rbp + 0x4041], di
xor eax, eax
mov qword [rbp + 0x4050], rdi
mov byte [rbp + 0x4045], dil
mov byte [rbp + 0x4078], dil
mov qword [rbp + 0x407c], rdi
movups xmmword [rbp + 0x4084], xmm0
mov dword [rbp + 0x4094], eax
mov ecx, dword [rbx + 0x4034]
test ecx, ecx
je 0x18002936f
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x403c]
movss dword [rbx + 0x403c], xmm0
mov rax, qword [rbx + 0x4050]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x4074]
mov qword [rbx + 0x4068], rax
movzx eax, byte [rbx + 0x4044]
mov byte [rbx + 0x4065], al
mov eax, dword [rbx + 0x5470]
movss dword [rbx + 0x4074], xmm0
mov dword [rbx + 0x4060], ecx
mov dword [rbx + 0x4038], edi
mov byte [rbx + 0x4045], dil
mov byte [rbx + 0x4064], dil
mov byte [rbx + 0x4040], dil
test eax, eax
je 0x1800293d4
cmp ecx, eax
je 0x1800293d4
mov dword [rbx + 0x5470], edi
test ecx, ecx
jne 0x1800293f1
mov qword [rbx + 0x407c], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x4084], xmm0
mov dword [rbx + 0x4094], eax
mov eax, dword [rbx + 0x446c]
lea rcx, [rbx + 0x38f8]
mov dword [rbx + 0x4470], eax
mov qword [rbx + 0x4468], 0x7f7fffff
mov word [rbx + 0x43fd], di
mov dword [rbx + 0x4478], edi
call fcn.1800462e0
movzx ecx, byte [rbx + 0x7a]
call fcn.180032950
call fcn.180027c10
call fcn.180036510
call fcn.180027fb0
test byte [rbx + 8], 0x40
jne 0x180029466
cmp dword [rbx + 0x5530], edi
jg 0x180029453
cmp dword [rbx + 0x5540], edi
jle 0x180029543
mov dl, 1
call fcn.180043ba0
xor ecx, ecx
call fcn.1800436c0
jmp 0x180029543
cmp byte [rbx + 0x70], dil
je 0x1800294b2
mov esi, edi
cmp dword [rbx + 0x5530], edi
jle 0x1800294b2
mov rbp, rdi
nop dword [rax]
mov rax, qword [rbx + 0x5538]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x1800294a4
cmp qword [rcx + 0x18], rdi
jne 0x1800294a4
cmp qword [rcx + 0x20], rdi
je 0x1800294a4
mov ecx, dword [rcx]
call fcn.1800436c0
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x5530]
jl 0x180029480
cmp byte [rbx + 0x5560], dil
je 0x1800294f5
xor ecx, ecx
call fcn.180039ca0
xor edx, edx
call fcn.180043ba0
xor ecx, ecx
call fcn.1800436c0
mov r8d, dword [rbx + 0x5550]
mov rcx, rbx
mov rdx, qword [rbx + 0x5558]
call fcn.18003d020
mov rcx, rbx
call fcn.18003d270
mov byte [rbx + 0x5560], dil
mov ebp, edi
cmp dword [rbx + 0x5540], edi
jle 0x180029543
mov rsi, rdi
mov rax, qword [rbx + 0x5548]
cmp dword [rsi + rax], 2
jne 0x180029535
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x180029523
mov r8b, 1
call fcn.18003d7c0
jmp 0x180029535
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x180029535
mov rcx, rbx
call fcn.18003d920
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x5540]
jl 0x180029502
call fcn.180028860
call fcn.180027590
mov r8, qword [0x18008b2c0]
mov eax, dword [r8 + 0x41e0]
sub eax, 1
js 0x18002959b
mov r8, qword [r8 + 0x41e8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x180029591
test dword [rax + 0xc], 0x8000000
jne 0x1800295b2
sub r8, 0x30
sub rdx, 1
jns 0x180029580
cmp qword [rbx + 0x43d0], rdi
je 0x1800295ce
movss xmm0, dword [rbx + 0x43ec]
comiss xmm0, xmm10
jbe 0x1800295ce
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18007a8d8]
addss xmm1, dword [rbx + 0x43f4]
minss xmm1, xmm9
jmp 0x1800295ec
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18007a8e4]
movss xmm1, dword [rbx + 0x43f4]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rbx + 0x43f4], xmm1
movups xmm0, xmmword [rbx + 0x5508]
mov dword [rbx + 0x43f8], edi
mov qword [rbx + 0x5840], 0xffffffffffffffff
movups xmmword [rbx + 0x5518], xmm0
mov dword [rbx + 0x583c], r13d
mov byte [rbx + 0x5508], dil
call fcn.180028390
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x3f73], dil
jne 0x180029656
movss xmm0, dword [rbx + 0x80]
comiss xmm10, xmm0
ja 0x180029656
movsd xmm8, qword [rbx + 0x3f58]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebp, edi
cmp dword [rbx + 0x3f80], edi
je 0x1800297c6
mov r14, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x3f88]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0xcb]
mov byte [rsi + 0xcc], al
mov word [rsi + 0xd8], di
mov byte [rsi + 0xcb], dil
mov byte [rsi + 0xcd], dil
test al, al
jne 0x1800297b4
cmp byte [rsi + 0x400], dil
jne 0x1800297b4
comiss xmm8, dword [rsi + 0x288]
jbe 0x1800297b4
mov rcx, qword [rsi + 0x2c0]
mov byte [rsi + 0x400], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3f8], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3fc], eax
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x180029712
mov rax, qword [0x18008b2c0]
mov qword [rsi + 0x108], rdi
test rax, rax
je 0x180029705
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x110], rdi
mov rcx, qword [rsi + 0x2c0]
call fcn.18004ea00
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x180029750
mov rax, qword [0x18008b2c0]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x180029743
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b8], rdi
mov rcx, qword [rsi + 0x1f0]
test rcx, rcx
je 0x180029782
mov rax, qword [0x18008b2c0]
mov qword [rsi + 0x1e8], rdi
test rax, rax
je 0x180029775
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f0], rdi
mov rcx, qword [rsi + 0x200]
test rcx, rcx
je 0x1800297b4
mov rax, qword [0x18008b2c0]
mov qword [rsi + 0x1f8], rdi
test rax, rax
je 0x1800297a7
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x200], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x3f80]
jne 0x180029670
mov r14d, edi
cmp dword [rbx + 0x4500], edi
jle 0x18002990b
mov qword [rsp + 0xb0], r12
mov r15, rdi
mov r12, rdi
mov rax, qword [rbx + 0x4508]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x1800298e8
comiss xmm8, xmm0
jbe 0x1800298e8
mov rsi, qword [rbx + 0x44e0]
mov rbp, qword [0x18008b2c0]
add rsi, r12
mov qword [rsi + 0x1e0], rdi
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x180029847
mov qword [rsi + 0x1d0], rdi
test rbp, rbp
je 0x18002983a
dec dword [rbp + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d8], rdi
mov byte [rsi + 0x20c], 1
mov rcx, qword [rsi + 0x198]
test rcx, rcx
je 0x180029880
mov rax, qword [0x18008b2c0]
mov qword [rsi + 0x190], rdi
test rax, rax
je 0x180029873
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x198], rdi
mov edx, edi
mov byte [rsi + 0x216], 1
cmp dword [rsi + 0x74], edi
jle 0x1800298b5
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rax + rcx - 0x18], r13w
cmp edx, dword [rsi + 0x74]
jl 0x1800298a0
sub rsi, qword [rbp + 0x44e0]
movabs rax, 0x7a44c6afc2dd9ca9
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x4508]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x218
cmp r14d, dword [rbx + 0x4500]
jl 0x1800297e3
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
cmp dword [rbx + 0x44c8], edi
jle 0x18002995d
mov rsi, rdi
nop
mov rbp, qword [rbx + 0x44d0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x18002994d
comiss xmm8, xmm0
jbe 0x18002994d
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180051bb0
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x44c8]
jl 0x180029920
movaps xmm8, xmmword [rsp + 0x40]
cmp byte [rbx + 0x3f73], dil
je 0x1800299d5
mov rsi, qword [0x18008b2c0]
mov rcx, qword [rsi + 0x41c8]
test rcx, rcx
je 0x18002999e
mov qword [rsi + 0x41c0], rdi
test rsi, rsi
je 0x180029991
dec dword [rsi + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x41c8], rdi
mov rcx, qword [rsi + 0x41d8]
test rcx, rcx
je 0x1800299d0
mov rax, qword [0x18008b2c0]
mov qword [rsi + 0x41d0], rdi
test rax, rax
je 0x1800299c3
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x41d8], rdi
call fcn.1800578e0
mov rax, qword [rbx + 0x4268]
mov byte [rbx + 0x3f73], dil
test rax, rax
je 0x180029a46
cmp byte [rax + 0xcc], dil
jne 0x180029a46
mov rcx, qword [0x18008b2c0]
mov eax, dword [rcx + 0x3f90]
sub eax, 1
js 0x180029a3f
movsxd rdx, eax
mov rax, qword [rcx + 0x3f98]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x180029a35
cmp byte [rcx + 0xcc], dil
je 0x180029a35
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x180029b30
sub r8, 8
sub rdx, 1
jns 0x180029a11
xor ecx, ecx
call fcn.180032030
mov ecx, dword [rbx + 0x3fb4]
test ecx, ecx
jns 0x180029a6c
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3fb0]
test eax, eax
cmovg edx, eax
call fcn.180046c40
mov dword [rbx + 0x3fb0], edi
mov ecx, dword [rbx + 0x41f4]
test ecx, ecx
jns 0x180029a98
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x41f0]
test eax, eax
cmovg edx, eax
call fcn.180046b10
lea rsi, [rbx + 0x41c0]
mov dword [rbx + 0x41f0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x180029ac4
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.180046bb0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x180029ad8
mov edx, 8
mov rcx, rsi
call fcn.180046bb0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x41d0]
inc dword [rsi]
call fcn.180045e50
test byte [rbx + 8], 0x40
je 0x180029c13
mov rax, qword [rbx + 0x3ff0]
mov qword [rbx + 0x3ff8], rdi
test rax, rax
je 0x180029b57
mov rcx, qword [rax + 0x428]
test rcx, rcx
je 0x180029b3d
mov rdx, qword [rbx + 0xd9c]
call fcn.1800434d0
mov qword [rbx + 0x3ff8], rax
jmp 0x180029b57
call fcn.180035d00
mov rcx, rax
jmp 0x180029a41
mov rax, qword [rax + 0x3a0]
mov rcx, qword [rax + 0x420]
test rcx, rcx
je 0x180029b57
mov qword [rbx + 0x3ff8], rcx
mov esi, edi
cmp dword [rbx + 0x5540], edi
jle 0x180029b9d
mov rbp, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x5548]
cmp dword [rax + rbp], 1
jne 0x180029b8f
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.18003d360
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x5540]
jl 0x180029b70
mov ecx, dword [rbx + 0x5544]
test ecx, ecx
jns 0x180029bc3
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5540]
test eax, eax
cmovg edx, eax
call fcn.180046d70
mov dword [rbx + 0x5540], edi
mov esi, edi
cmp dword [rbx + 0x5530], edi
jle 0x180029c13
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x5538]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x180029c05
cmp qword [rcx + 0x18], rdi
jne 0x180029c05
test dword [rcx + 0x10], 0x400
jne 0x180029c05
call fcn.18003e8d0
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x5530]
jl 0x180029be0
mov r10, qword [0x18008b2c0]
mov dword [r10 + 0x5610], edi
cmp byte [r10 + 0x560c], dil
je 0x180029cda
mov esi, dword [r10 + 0x4024]
mov ecx, 0x20e
mov dword [r10 + 0x43f8], 7
call fcn.180032870
test al, al
je 0x180029c55
mov byte [r10 + 0x560c], dil
movss xmm0, dword [r10 + 0x36f0]
ucomiss xmm0, xmm10
jp 0x180029c78
jne 0x180029c78
test esi, esi
je 0x180029c78
mov dword [r10 + 0x5610], esi
mov byte [r10 + 0x560c], dil
or dword [r10 + 0x40f0], 0x40
xor ecx, ecx
mov dword [r10 + 0x4150], 0x3f19999a
call fcn.180034120
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.180058990
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180058990
mov eax, 0x39e0
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x39d0
cmove ecx, eax
add rcx, qword [0x18008b2c0]
call fcn.180058a90
call fcn.180031c30
mov r10, qword [0x18008b2c0]
movaps xmm10, xmmword [rsp + 0x20]
mov rsi, r10
mov dword [r10 + 0x401c], edi
mov eax, dword [r10 + 0x5628]
inc eax
cmp dword [r10 + 0x3f60], eax
jne 0x180029dd4
mov ebp, dword [r10 + 0x4024]
test ebp, ebp
jne 0x180029d12
mov ebp, dword [r10 + 0x4034]
cmp dword [r10 + 0x5630], ebp
je 0x180029d5d
mov dword [r10 + 0x5630], ebp
mov dword [r10 + 0x562c], r13d
mov ecx, dword [r10 + 0x563c]
test ecx, ecx
jns 0x180029d57
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r10 + 0x5638]
test eax, eax
cmovg edx, eax
call fcn.180046cd0
mov r10, qword [0x18008b2c0]
mov dword [rsi + 0x5638], edi
test ebp, ebp
je 0x180029dd4
movsxd rcx, dword [rsi + 0x562c]
test ecx, ecx
js 0x180029d98
mov eax, ecx
cmp ecx, dword [rsi + 0x5638]
jge 0x180029dab
mov r8, qword [rsi + 0x5640]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], dil
jne 0x180029d90
cmp byte [r8 + rdx*8 + 4], 2
jle 0x180029dab
inc ecx
mov dword [rsi + 0x562c], ecx
mov eax, ecx
cmp ecx, r13d
jne 0x180029da7
mov dword [rsi + 0x401c], ebp
jmp 0x180029dd4
test ecx, ecx
js 0x180029dd4
cmp eax, dword [rsi + 0x5638]
jge 0x180029dd4
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rsi + 0x5640]
mov ecx, dword [rax + rdx*8]
mov dword [rsi + 0x401c], ecx
mov rax, qword [rsi + 0x5640]
inc byte [rax + rdx*8 + 4]
mov byte [rbx + 0x3f71], 1
lea rcx, str.DebugDefault
or dword [r10 + 0x40f0], 2
xor r8d, r8d
xor edx, edx
mov dword [r10 + 0x4114], 0x43c80000
mov dword [r10 + 0x4118], 0x43c80000
mov dword [r10 + 0x40f8], 4
call fcn.18002ef90
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xa8]
cmp dword [rbx + 0x55b0], edi
jle 0x180029e6d
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x55b8]
cmp dword [rax + rsi + 4], 1
jne 0x180029e5f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x55b0]
jl 0x180029e40
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret