Function at 0x10009de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x103ca868]
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x5a1c]
sub eax, 1
mov dword [esp + 0x20], eax
js 0x10009e70
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov ecx, dword [edi + 0x5a24]
cmp dword [ecx + ebx + 4], 7
jne 0x10009e64
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, ebx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x5a1c]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x2c]
add esp, 0xc
dec dword [edi + 0x5a1c]
dec eax
sub ebx, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jns 0x10009e10
xor esi, esi
cmp dword [edi + 0x5a1c], esi
jle 0x10009ea4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a24]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10009e98
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a1c]
jl 0x10009e80
mov esi, dword [0x103ca868]
cmp byte [esi + 0x66], 0
je 0x10009eba
test byte [esi + 0xc], 2
jne 0x10009eba
mov byte [esi + 0x66], 0
cmp byte [esi + 0x59e5], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x1c], ebx
jne 0x10009f21
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10009f1a
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
call fcn.10004bd0
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x10009f1a
mov edx, dword [esp + 0x20]
test edx, edx
je 0x10009f05
call fcn.1001b3e0
mov ecx, dword [esp + 0x28]
mov eax, dword [0x103ca868]
test eax, eax
je 0x10009f14
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov byte [esi + 0x59e5], 1
movss xmm0, dword [esi + 0x59e8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10009fae
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x59e8], xmm0
jb 0x10009fae
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x10009f9d
mov eax, dword [0x103ca868]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [eax + 0x59e8], 0
call fcn.1001b680
mov edx, 0x1038fcf8
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.10004ad0
mov ebx, eax
test ebx, ebx
je 0x10009fa4
push ebx
push dword [esp + 0x24]
push 1
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x10009fa4
mov byte [esi + 0x98], 1
mov dword [esi + 0x59e8], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3de4], 1
mov word [edi + 0x59aa], ax
mov dword [edi + 0x3e2c], eax
addsd xmm0, qword [edi + 0x3dd0]
movsd qword [edi + 0x3dd0], xmm0
mov ecx, dword [edi + 0x59bc]
test ecx, ecx
jns 0x1000a008
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x59b8]
call fcn.1001cc60
mov dword [edi + 0x59b8], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5ba8]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x103a3b54]
movss xmm4, dword [0x103a39e4]
subss xmm0, dword [edi + eax*4 + 0x5ab8]
movss dword [esp + 0x20], xmm2
addss xmm0, dword [edi + 0x5bb0]
movss dword [edi + 0x5bb0], xmm0
movss dword [edi + eax*4 + 0x5ab8], xmm1
mov eax, dword [edi + 0x5ba8]
inc eax
movss xmm1, dword [edi + 0x5bb0]
cdq
idiv ecx
mov eax, dword [edi + 0x5bac]
inc eax
mov dword [edi + 0x5ba8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5bac], ecx
jbe 0x1000a0a3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1000a0a6
movaps xmm0, xmm2
mov esi, dword [0x103ca868]
xor ebx, ebx
movss dword [edi + 0x9c], xmm0
mov eax, dword [esi + 0x47a0]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [esi + 0x4798], ebx
jle 0x1000a1c1
nop word [eax + eax]
mov eax, dword [esi + 0x47a0]
movaps xmm2, xmm3
mov edx, dword [eax + ebx*4]
inc ebx
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x7c]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp ebx, dword [esi + 0x4798]
jl 0x1000a0f0
movss xmm2, dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov esi, dword [0x103ca868]
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x54]
test ebx, ebx
jne 0x1000a1dd
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
movss xmm0, dword [esi + 0x4c]
movaps xmm1, xmm4
mov eax, dword [esi + 0x3e38]
mov dword [esi + 0x3bc0], ebx
mulss xmm0, dword [ebx + 0x10]
mulss xmm0, dword [ebx + 0x44]
maxss xmm1, xmm0
movss dword [esi + 0x3bc8], xmm1
test eax, eax
je 0x1000a227
mulss xmm1, dword [eax + 0x240]
mov eax, dword [eax + 0x2dc]
test eax, eax
je 0x1000a22a
mulss xmm1, dword [eax + 0x240]
jmp 0x1000a22a
movaps xmm1, xmm3
movss xmm4, dword [0x103a3bb8]
movaps xmm7, xmm2
movss dword [esi + 0x3bc4], xmm1
movaps xmm6, xmm2
mov edx, dword [ebx + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x3bcc], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3bd0], ecx
mov dword [esi + 0x3dc8], eax
mov dword [esi + 0x3bd4], ebx
movss dword [esi + 0x3bd8], xmm1
mov edx, dword [edi + 0x4798]
test edx, edx
jle 0x1000a2c4
mov ecx, dword [edi + 0x47a0]
nop
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x1000a2a4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000a2ac
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1000a2b4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1000a2bc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1000a280
movss dword [edi + 0x3be4], xmm7
movss dword [edi + 0x3be8], xmm6
movss dword [edi + 0x3bec], xmm4
movss dword [edi + 0x3bf0], xmm5
mov eax, dword [edi + 0x3858]
movss xmm1, dword [edi + 0x385c]
mov dword [edi + 0x3bdc], eax
movss xmm0, dword [edi + 0x3be0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a3f4
movss dword [edi + 0x3be0], xmm1
xor esi, esi
mov ebx, 0x200
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000a3ad
movss xmm1, dword [edi + 0x3be0]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x103a39e4]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x103a3a4c]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1000a3a3
mov eax, 4
jmp 0x1000a3b2
cmp eax, 0x200
cmovg eax, ebx
jmp 0x1000a3b2
mov eax, 0x30
mov byte [esi + edi + 0x3d88], al
inc esi
cmp esi, 0x40
jl 0x1000a320
movsd xmm0, qword [0x103a39f8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x103a39e4]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be0]
divss xmm0, xmm1
movss dword [edi + 0x3d84], xmm0
xor edx, edx
mov dword [edi + 0x3bf4], 0
cmp byte [edi + 0x3854], dl
je 0x1000a417
mov dword [edi + 0x3bf4], 1
mov edx, 1
cmp byte [edi + 0x3855], 0
mov ecx, edx
je 0x1000a439
mov eax, dword [edi + 0x3bc0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000a439
or ecx, 2
mov dword [edi + 0x3bf4], ecx
cmp byte [edi + 0x3856], 0
je 0x1000a44b
or ecx, 4
mov dword [edi + 0x3bf4], ecx
test byte [edi + 0xc], 8
je 0x1000a45a
or ecx, 8
mov dword [edi + 0x3bf4], ecx
xor esi, esi
cmp dword [edi + 0x4798], esi
jle 0x1000a486
mov eax, dword [edi + 0x47a0]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x4798]
jl 0x1000a464
cmp byte [edi + 0x492c], 0
je 0x1000a4c0
mov eax, dword [edi + 0x4944]
cmp eax, dword [edi + 0x3e70]
jne 0x1000a4c0
mov ecx, dword [0x103ca868]
cmp dword [ecx + 0x3e70], eax
jne 0x1000a4b1
mov dword [ecx + 0x3e74], eax
cmp dword [ecx + 0x3e98], eax
jne 0x1000a4c0
mov byte [ecx + 0x3e9c], 1
cmp dword [edi + 0x3e60], 0
jne 0x1000a4d5
mov dword [edi + 0x3e68], 0
jmp 0x1000a4e7
mov eax, dword [edi + 0x3e5c]
test eax, eax
je 0x1000a4f1
cmp dword [edi + 0x3e70], eax
jne 0x1000a4f1
mov dword [edi + 0x3e6c], 0
mov eax, dword [edi + 0x3e5c]
test eax, eax
je 0x1000a52b
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e68]
movss dword [edi + 0x3e68], xmm0
cmp dword [edi + 0x3e70], eax
je 0x1000a52b
addss xmm1, dword [edi + 0x3e6c]
movss dword [edi + 0x3e6c], xmm1
mov dword [edi + 0x3e60], eax
mov eax, dword [edi + 0x3e70]
mov dword [edi + 0x3e5c], 0
mov word [edi + 0x3e64], 0
test eax, eax
je 0x1000a579
cmp dword [edi + 0x3e74], eax
je 0x1000a579
cmp dword [edi + 0x3e98], eax
jne 0x1000a579
test byte [edi + 0x5a60], 1
je 0x1000a574
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001bee0
add esp, 4
call fcn.10007f70
mov edx, dword [edi + 0x3e70]
test edx, edx
je 0x1000a598
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e78]
movss dword [edi + 0x3e78], xmm0
mov eax, dword [edi + 0x3e8c]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ea8]
mov dword [edi + 0x3ea0], eax
mov al, byte [edi + 0x3e80]
mov byte [edi + 0x3e9d], al
mov eax, dword [edi + 0x5938]
movss dword [edi + 0x3ea8], xmm0
mov dword [edi + 0x3e98], edx
mov dword [edi + 0x3e74], 0
mov byte [edi + 0x3e81], 0
mov byte [edi + 0x3e9c], 0
mov byte [edi + 0x3e7c], 0
test eax, eax
je 0x1000a602
cmp edx, eax
je 0x1000a602
mov dword [edi + 0x5938], 0
test edx, edx
jne 0x1000a620
mov dword [edi + 0x4674], edx
mov dword [edi + 0x466c], edx
mov byte [edi + 0x4670], dl
mov dword [edi + 0x4674], edx
jmp 0x1000a643
mov eax, dword [edi + 0x4674]
test eax, eax
je 0x1000a643
test al, 2
je 0x1000a643
mov ecx, 0x20e
call fcn.10004050
mov dword [eax + 4], edx
mov dword [eax], edx
mov word [eax + 8], 0
mov eax, dword [edi + 0x4a54]
movss xmm0, dword [edi + 0x4a5c]
mov dword [edi + 0x4a58], eax
test eax, eax
je 0x1000a674
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a54], 0
movss dword [edi + 0x4a5c], xmm0
jmp 0x1000a6b4
comiss xmm0, dword [0x103a392c]
jbe 0x1000a6be
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x103a3988]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a60]
addss xmm1, xmm1
movss dword [edi + 0x4a60], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000a6be
mov dword [edi + 0x4a5c], 0
mov dword [edi + 0x4a60], 0
mov eax, dword [edi + 0x4990]
mov dword [edi + 0x4994], eax
mov dword [edi + 0x4990], 0
mov dword [edi + 0x498c], 0x7f7fffff
mov word [edi + 0x492d], 0
mov dword [edi + 0x499c], 0
mov ecx, dword [edi + 0x3790]
test ecx, ecx
jns 0x1000a717
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x378c]
call fcn.1001d340
mov dword [edi + 0x378c], 0
mov cl, byte [edi + 0x62]
call fcn.10014860
call fcn.10008ab0
call fcn.10018380
call fcn.10008f70
call fcn.10009b70
mov esi, dword [0x103ca868]
mov ecx, dword [esi + 0x3e44]
test ecx, ecx
je 0x1000a7f6
mov eax, dword [esi + 0x3e70]
mov dword [esi + 0x3e74], eax
cmp dword [esi + 0x3e98], eax
jne 0x1000a76c
mov byte [esi + 0x3e9c], 1
cmp byte [esi + 0xdc0], 0
mov ebx, dword [ecx + 0x2e4]
je 0x1000a7ea
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1000a78d
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x103a3bb0]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000a7ea
comiss xmm2, xmm1
jb 0x1000a7ea
movss xmm0, dword [eax]
lea edx, [esp + 0x30]
subss xmm0, dword [esi + 0x3e84]
push 1
mov ecx, ebx
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e88]
movss dword [esp + 0x38], xmm0
call fcn.10013c80
mov ecx, dword [esi + 0x3e44]
add esp, 4
call fcn.100138e0
jmp 0x1000a82e
mov dword [esi + 0x3e44], 0
jmp 0x1000a829
mov ecx, dword [esi + 0x3e8c]
test ecx, ecx
je 0x1000a82e
mov eax, dword [esi + 0x3e70]
cmp dword [ecx + 0x54], eax
jne 0x1000a82e
mov dword [esi + 0x3e74], eax
cmp dword [esi + 0x3e98], eax
jne 0x1000a820
mov byte [esi + 0x3e9c], 1
cmp byte [esi + 0xdc0], 0
jne 0x1000a82e
call fcn.10007f70
mov eax, dword [0x103ca868]
mov edx, dword [eax + 0x477c]
sub edx, 1
js 0x1000a867
mov eax, dword [eax + 0x4784]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a85f
test dword [ecx + 8], 0x8000000
jne 0x1000a881
sub eax, 0x28
sub edx, 1
jns 0x1000a850
cmp dword [edi + 0x48fc], 0
je 0x1000a8a0
movss xmm0, dword [edi + 0x490c]
comiss xmm0, dword [0x103a392c]
jbe 0x1000a8a0
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x103a3a68]
addss xmm1, dword [edi + 0x4924]
minss xmm1, dword [0x103a39e4]
jmp 0x1000a8c1
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x103a3a84]
movss xmm1, dword [edi + 0x4924]
subss xmm1, xmm0
maxss xmm1, dword [0x103a392c]
movss dword [edi + 0x4924], xmm1
movups xmm0, xmmword [edi + 0x59c4]
mov dword [edi + 0x4928], 0
mov dword [edi + 0x5bbc], 0xffffffff
mov dword [edi + 0x5bb8], 0xffffffff
mov dword [edi + 0x5bb4], 0xffffffff
movups xmmword [edi + 0x59d4], xmm0
mov byte [edi + 0x59c4], 0
call fcn.100092d0
cmp byte [edi + 0x3de7], 0
jne 0x1000a939
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1000a939
movsd xmm1, qword [edi + 0x3dd0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x1000a93f
movss xmm1, dword [esp + 0x20]
xor ebx, ebx
cmp dword [edi + 0x3df0], ebx
je 0x1000aae4
nop dword [eax]
mov eax, dword [edi + 0x3df8]
mov esi, dword [eax + ebx*4]
mov ax, word [esi + 0x9a]
mov cl, byte [esi + 0x8e]
mov word [esi + 0x9c], ax
xor eax, eax
mov byte [esi + 0x8f], cl
mov byte [esi + 0x8e], 0
mov byte [esi + 0x90], 0
mov word [esi + 0x9a], ax
test cl, cl
jne 0x1000aad1
cmp byte [esi + 0x32c], al
jne 0x1000aad1
comiss xmm1, dword [esi + 0x220]
jbe 0x1000aad1
mov ecx, dword [esi + 0x248]
mov byte [esi + 0x32c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x324], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x328], eax
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x1000aa09
mov eax, dword [0x103ca868]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
test eax, eax
je 0x1000a9f7
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0xd0], 0
mov ecx, dword [esi + 0x248]
call fcn.1001f160
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x1000aa53
mov eax, dword [0x103ca868]
mov dword [esi + 0x168], 0
mov dword [esi + 0x164], 0
test eax, eax
je 0x1000aa41
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x16c], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x1000aa92
mov eax, dword [0x103ca868]
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x1000aa80
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x194], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1000aad1
mov eax, dword [0x103ca868]
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test eax, eax
je 0x1000aabf
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1a0], 0
movss xmm1, dword [esp + 0x20]
inc ebx
cmp ebx, dword [edi + 0x3df0]
jne 0x1000a950
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x4a00], ecx
jle 0x1000ac35
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x28], edx
nop
mov eax, dword [edi + 0x4a08]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000ac1a
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x1000ac17
mov esi, dword [edi + 0x49e8]
mov ebx, dword [0x103ca868]
add esi, edx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x1a4], 0
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x1000ab79
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test ebx, ebx
je 0x1000ab67
dec dword [ebx + 0xb0]
push eax
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1cc], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x1000abbf
mov eax, dword [0x103ca868]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x1000abad
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1d6], 1
cmp dword [esi + 0x54], edx
jle 0x1000abeb
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], bx
cmp edx, dword [esi + 0x54]
jl 0x1000abd2
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub esi, dword [ebx + 0x49e8]
mov eax, 0x22b63cbf
imul esi
mov eax, dword [ebx + 0x4a08]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x24]
xorps xmm1, xmm1
inc ecx
add edx, 0x1d8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [edi + 0x4a00]
jl 0x1000ab00
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [edi + 0x49d4], eax
jle 0x1000ac95
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov ebx, dword [edi + 0x49dc]
movss xmm0, dword [ebx + esi + 4]
comiss xmm0, xmm1
jb 0x1000ac85
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x1000ac82
lea ecx, [esi + 0x10]
add ecx, ebx
call fcn.100224a0
mov eax, dword [esp + 0x28]
mov dword [ebx + esi + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x49d4]
jl 0x1000ac50
cmp byte [edi + 0x3de7], 0
je 0x1000ad2c
mov esi, dword [0x103ca868]
mov eax, dword [esi + 0x476c]
test eax, eax
je 0x1000ace6
mov dword [esi + 0x4768], 0
mov dword [esi + 0x4764], 0
test esi, esi
je 0x1000acd0
dec dword [esi + 0xb0]
mov ebx, dword [esp + 0x1c]
push eax
call ebx
add esp, 4
mov dword [esi + 0x476c], 0
jmp 0x1000acea
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4778]
test ecx, ecx
je 0x1000ad27
mov eax, dword [0x103ca868]
mov dword [esi + 0x4774], 0
mov dword [esi + 0x4770], 0
test eax, eax
je 0x1000ad17
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x4778], 0
call fcn.10029a70
mov eax, dword [edi + 0x47a4]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x1000ad91
cmp byte [eax + 0x8f], 0
jne 0x1000ad91
mov eax, dword [0x103ca868]
mov edx, dword [eax + 0x3dfc]
sub edx, 1
js 0x1000ad8a
mov eax, dword [eax + 0x3e04]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x1000ad82
cmp byte [ecx + 0x8f], 0
je 0x1000ad82
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000af60
sub esi, 4
sub edx, 1
jns 0x1000ad60
xor ecx, ecx
call fcn.100138e0
mov ecx, dword [edi + 0x3e18]
test ecx, ecx
jns 0x1000adb7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3e14]
call fcn.1001d2d0
mov dword [edi + 0x3e14], 0
mov ecx, dword [edi + 0x478c]
test ecx, ecx
jns 0x1000ade7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4788]
call fcn.1001d250
lea esi, [edi + 0x4764]
mov dword [edi + 0x4788], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000ae16
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001cc60
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000ae2b
push 8
mov ecx, esi
call fcn.1001cc60
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4770]
inc dword [esi]
call fcn.1001ca30
mov esi, dword [0x103ca868]
cmp byte [esi + 0x5a81], 0
mov dword [esi + 0x5a84], 0
je 0x1000afaf
mov ebx, dword [esi + 0x3e60]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x34], ebx
mov dword [esi + 0x4928], 7
call fcn.10014460
add esp, 4
test al, al
je 0x1000ae93
mov byte [esi + 0x5a81], 0
mov eax, dword [esi + 0xdd4]
mov dword [esp + 0x20], eax
cmp eax, 0x3000
je 0x1000aed0
movzx ecx, byte [esi + 0x5a82]
xor edx, edx
push 0
call fcn.10014620
add esp, 4
test al, al
mov eax, dword [esp + 0x20]
je 0x1000aed0
test ebx, ebx
je 0x1000aed0
mov dword [esi + 0x5a84], ebx
mov byte [esi + 0x5a81], 0
xor ebx, ebx
cmp eax, 0x3000
jne 0x1000aef5
push 0
xor edx, edx
mov ecx, ebx
call fcn.10014620
add esp, 4
test al, al
mov eax, dword [esp + 0x20]
je 0x1000aef5
mov byte [esi + 0x5a82], bl
inc ebx
cmp ebx, 3
jl 0x1000aed2
or dword [esi + 0x46d4], 0x40
xor ecx, ecx
mov dword [esi + 0x4728], 0x3f333333
call fcn.10015fe0
mov ebx, dword [esp + 0x30]
push ebx
push str.HoveredId:_0x_08X
call fcn.1002a830
push str.Press_ESC_to_abort_picking.
call fcn.1002a830
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x20], 0x3000
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x1000af7c
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002a830
add esp, 4
jmp 0x1000afaa
mov eax, dword [ecx + 0x2f4]
test eax, eax
je 0x1000af73
cmp byte [eax + 0x8f], 0
jne 0x1000af75
mov eax, ecx
mov ecx, eax
jmp 0x1000ad8c
movzx eax, byte [esi + 0x5a82]
mov ecx, 0x3870
test ebx, ebx
push dword [esp + eax*4 + 0x30]
mov eax, 0x3860
cmove eax, ecx
add eax, dword [0x103ca868]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002a920
add esp, 0xc
call fcn.10013710
call fcn.1001c250
mov al, byte [edi + 0x5a80]
test al, al
je 0x1000afd2
sub al, 1
mov byte [edi + 0x5a80], al
jne 0x1000afd2
mov dword [edi + 0x4680], 0
mov eax, dword [0x103ca868]
xor edx, edx
mov byte [edi + 0x3de5], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x46d4], 2
mov dword [eax + 0x46f4], 0x43c80000
mov dword [eax + 0x46f8], 0x43c80000
mov dword [eax + 0x46dc], 4
call fcn.10010fc0
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a1c], esi
jle 0x1000b044
xor ebx, ebx
mov eax, dword [edi + 0x5a24]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x1000b038
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a1c]
jl 0x1000b020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret