Function at 0x40ddf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [0x56e3a0]
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0x51ac]
sub eax, 1
mov dword [ebp - 0xc], eax
js 0x40de80
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov edx, dword [edi + 0x51b4]
cmp dword [ebx + edx + 4], 7
jne 0x40de75
mov esi, edx
mov ecx, ebx
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
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 + 0x51ac]
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 [ebp - 0xc]
add esp, 0xc
dec dword [edi + 0x51ac]
dec eax
sub ebx, 0x14
mov dword [ebp - 0xc], eax
test eax, eax
jns 0x40de20
xor esi, esi
cmp dword [edi + 0x51ac], esi
jle 0x40deb4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x51b4]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x40dea8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x51ac]
jl 0x40de90
mov esi, dword [0x56e3a0]
cmp byte [esi + 0x5d], 0
je 0x40deca
test byte [esi + 0xc], 2
jne 0x40deca
mov byte [esi + 0x5d], 0
cmp byte [esi + 0x5175], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 8], ebx
jne 0x40df27
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40df20
push ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
call fcn.0040af00
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40df20
mov edx, dword [ebp - 0xc]
mov ecx, eax
call fcn.0041d5d0
mov ecx, dword [0x56e3a0]
test ecx, ecx
je 0x40df18
dec dword [ecx + 0xa8]
push dword [ebp - 0x14]
call ebx
add esp, 4
mov byte [esi + 0x5175], 1
movss xmm0, dword [esi + 0x5178]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40dfaf
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5178], xmm0
jb 0x40dfaf
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x40df9e
mov eax, dword [0x56e3a0]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [eax + 0x5178], 0
call fcn.0041d870
mov edx, 0x4906dc
mov dword [ebp - 0x14], eax
mov ecx, ebx
call fcn.0040ae00
mov ebx, eax
test ebx, ebx
je 0x40dfa5
push ebx
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x14]
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 0x40dfa5
mov byte [esi + 0x90], 1
mov dword [esi + 0x5178], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3d48]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3d54], 1
mov word [edi + 0x5136], ax
mov dword [edi + 0x3d9c], eax
addsd xmm0, qword [edi + 0x3d40]
movsd qword [edi + 0x3d40], xmm0
mov ecx, dword [edi + 0x514c]
test ecx, ecx
jns 0x40e009
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 + 0x5148]
call fcn.0041ea40
mov dword [edi + 0x5148], 0
mov ecx, 0x78
mov eax, dword [edi + 0x5400]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x492eec]
movss xmm4, dword [0x492d90]
subss xmm0, dword [edi + eax*4 + 0x5220]
movss dword [ebp - 0xc], xmm2
addss xmm0, dword [edi + 0x5408]
movss dword [edi + 0x5408], xmm0
movss dword [edi + eax*4 + 0x5220], xmm1
mov eax, dword [edi + 0x5400]
inc eax
movss xmm1, dword [edi + 0x5408]
cdq
idiv ecx
mov eax, dword [edi + 0x5404]
inc eax
mov dword [edi + 0x5400], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5404], ecx
jbe 0x40e0a3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x40e0a6
movaps xmm0, xmm2
mov esi, dword [0x56e3a0]
xor ebx, ebx
movss dword [edi + 0x94], xmm0
mov eax, dword [esi + 0x3f58]
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 + 0x3f50], ebx
jle 0x40e1c0
nop word [eax + eax]
mov eax, dword [esi + 0x3f58]
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 + 0x3f50]
jl 0x40e0f0
movss xmm2, dword [ebp - 0xc]
mov eax, dword [edi + 0x40]
mov esi, dword [0x56e3a0]
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x4c]
test ebx, ebx
jne 0x40e1dc
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
movss xmm0, dword [esi + 0x44]
movaps xmm1, xmm4
mov eax, dword [esi + 0x3da8]
mov dword [esi + 0x3b40], ebx
mulss xmm0, dword [ebx + 0x10]
mulss xmm0, dword [ebx + 0x44]
maxss xmm1, xmm0
movss dword [esi + 0x3b48], xmm1
test eax, eax
je 0x40e226
mulss xmm1, dword [eax + 0x23c]
mov eax, dword [eax + 0x2d8]
test eax, eax
je 0x40e229
mulss xmm1, dword [eax + 0x23c]
jmp 0x40e229
movaps xmm1, xmm3
movss xmm4, dword [0x492f30]
movaps xmm7, xmm2
movss dword [esi + 0x3b44], 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 + 0x3b4c], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3b50], ecx
mov dword [esi + 0x3d3c], eax
mov dword [esi + 0x3b54], ebx
movss dword [esi + 0x3b58], xmm1
mov edx, dword [edi + 0x3f50]
test edx, edx
jle 0x40e2c4
mov ecx, dword [edi + 0x3f58]
nop
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0xc]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x10]
jbe 0x40e2a4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x40e2ac
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x40e2b4
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x40e2bc
movaps xmm5, xmm0
add ecx, 4
sub edx, 1
jne 0x40e280
movss dword [edi + 0x3b64], xmm7
movss dword [edi + 0x3b68], xmm6
movss dword [edi + 0x3b6c], xmm4
movss dword [edi + 0x3b70], xmm5
mov eax, dword [edi + 0x37e8]
movss xmm1, dword [edi + 0x37ec]
mov dword [edi + 0x3b5c], eax
movss xmm0, dword [edi + 0x3b60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40e3ed
movss dword [edi + 0x3b60], xmm1
xor esi, esi
mov ebx, 0x200
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x40e3a9
movss xmm1, dword [edi + 0x3b60]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x492d90]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x492df8]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x40e39f
mov eax, 4
jmp 0x40e3ab
cmp eax, 0x200
cmovg eax, ebx
jmp 0x40e3ab
xor eax, eax
mov byte [esi + edi + 0x3cfc], al
inc esi
cmp esi, 0x40
jl 0x40e320
movsd xmm0, qword [0x492da8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x492d90]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3b60]
divss xmm0, xmm1
movss dword [edi + 0x3cf8], xmm0
xor edx, edx
mov dword [edi + 0x3b74], 0
cmp byte [edi + 0x37e4], dl
je 0x40e410
mov dword [edi + 0x3b74], 1
mov edx, 1
cmp byte [edi + 0x37e5], 0
mov ecx, edx
je 0x40e432
mov eax, dword [edi + 0x3b40]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x40e432
or ecx, 2
mov dword [edi + 0x3b74], ecx
cmp byte [edi + 0x37e6], 0
je 0x40e444
or ecx, 4
mov dword [edi + 0x3b74], ecx
test byte [edi + 0xc], 8
je 0x40e453
or ecx, 8
mov dword [edi + 0x3b74], ecx
xor esi, esi
cmp dword [edi + 0x3f50], esi
jle 0x40e482
nop dword [eax]
mov eax, dword [edi + 0x3f58]
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 + 0x3f50]
jl 0x40e460
cmp byte [edi + 0x40cc], 0
je 0x40e4bc
mov eax, dword [edi + 0x40e4]
cmp eax, dword [edi + 0x3de0]
jne 0x40e4bc
mov ecx, dword [0x56e3a0]
cmp dword [ecx + 0x3de0], eax
jne 0x40e4ad
mov dword [ecx + 0x3de4], eax
cmp dword [ecx + 0x3e24], eax
jne 0x40e4bc
mov byte [ecx + 0x3e28], 1
cmp dword [edi + 0x3dd0], 0
jne 0x40e4d1
mov dword [edi + 0x3dd8], 0
jmp 0x40e4e3
mov eax, dword [edi + 0x3dcc]
test eax, eax
je 0x40e4ed
cmp dword [edi + 0x3de0], eax
jne 0x40e4ed
mov dword [edi + 0x3ddc], 0
mov eax, dword [edi + 0x3dcc]
test eax, eax
je 0x40e527
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3dd8]
movss dword [edi + 0x3dd8], xmm0
cmp dword [edi + 0x3de0], eax
je 0x40e527
addss xmm1, dword [edi + 0x3ddc]
movss dword [edi + 0x3ddc], xmm1
mov dword [edi + 0x3dd0], eax
mov al, byte [edi + 0x3dd5]
mov byte [edi + 0x3dd6], al
mov eax, dword [edi + 0x3de0]
mov dword [edi + 0x3dcc], 0
mov word [edi + 0x3dd4], 0
mov byte [edi + 0x3dd7], 0
cmp dword [edi + 0x3de4], eax
je 0x40e572
cmp dword [edi + 0x3e24], eax
jne 0x40e572
test eax, eax
je 0x40e572
call fcn.0040cc30
mov ecx, dword [edi + 0x3de0]
test ecx, ecx
je 0x40e591
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3de8]
movss dword [edi + 0x3de8], xmm0
mov eax, dword [edi + 0x3e18]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e34]
mov dword [edi + 0x3e2c], eax
mov al, byte [edi + 0x3df0]
mov byte [edi + 0x3e29], al
mov eax, dword [edi + 0x50c8]
movss dword [edi + 0x3e34], xmm0
mov dword [edi + 0x3e24], ecx
mov dword [edi + 0x3de4], 0
mov byte [edi + 0x3df1], 0
mov byte [edi + 0x3e28], 0
mov byte [edi + 0x3dec], 0
test eax, eax
je 0x40e5fb
cmp ecx, eax
je 0x40e5fb
mov dword [edi + 0x50c8], 0
test ecx, ecx
jne 0x40e61b
mov dword [edi + 0x3df4], ecx
xorps xmm0, xmm0
mov dword [edi + 0x3df8], ecx
movups xmmword [edi + 0x3dfc], xmm0
mov dword [edi + 0x3e0c], ecx
mov eax, dword [edi + 0x4130]
mov dword [edi + 0x4134], eax
mov dword [edi + 0x4130], 0
mov dword [edi + 0x412c], 0x7f7fffff
mov word [edi + 0x40cd], 0
mov dword [edi + 0x413c], 0
mov ecx, dword [edi + 0x3720]
test ecx, ecx
jns 0x40e674
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 + 0x371c]
call fcn.0041f010
mov dword [edi + 0x371c], 0
mov cl, byte [edi + 0x5a]
call fcn.00417010
mov esi, dword [0x56e3a0]
xor eax, eax
cmp byte [esi + 0xce0], al
setne al
mov ecx, eax
or ecx, 2
cmp byte [esi + 0xce1], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [esi + 0xce2], 0
cmove edx, ecx
mov eax, edx
or eax, 8
cmp byte [esi + 0xce3], 0
cmove eax, edx
cmp byte [esi + 0x36f9], 0
mov dword [esi + 0xd34], eax
je 0x40e778
mov eax, 0x200
lea ecx, [esi + 0x8b4]
mov edx, dword [ecx]
cmp edx, 0xffffffff
je 0x40e6f0
mov dword [esi + edx*4 + 0xb4], eax
inc eax
add ecx, 4
cmp eax, 0x285
jl 0x40e6e2
xor edx, edx
lea ebx, [esi + 0xb4]
cmp byte [edx + esi + 0xac8], 0
jne 0x40e717
mov al, byte [esi + 0x36f9]
cmp al, 1
jne 0x40e738
cmp dword [ebx], 0xffffffff
mov ecx, edx
mov al, byte [edx + esi + 0xac8]
cmovne ecx, dword [ebx]
add ecx, ecx
mov byte [esi + ecx*8 + 0xd3c], al
mov al, 1
mov byte [esi + 0x36f9], 1
inc edx
add ebx, 4
cmp edx, 0x200
jl 0x40e703
cmp al, 1
jne 0x40e778
mov al, byte [esi + 0xce0]
mov byte [esi + 0x354c], al
mov al, byte [esi + 0xce1]
mov byte [esi + 0x355c], al
mov al, byte [esi + 0xce2]
mov byte [esi + 0x356c], al
mov al, byte [esi + 0xce3]
mov byte [esi + 0x357c], al
test byte [esi + 0xc], 1
jne 0x40e7a3
lea eax, [esi + 0x33d8]
mov ecx, 0x18
nop dword [eax]
mov byte [eax - 0xc], 0
lea eax, [eax + 0x10]
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x40e790
movss xmm2, dword [0x492f10]
lea eax, [esi + 0xd40]
mov ecx, 0x285
nop word [eax + eax]
cmp byte [eax - 4], 0
movss xmm0, dword [eax]
movss dword [eax + 4], xmm0
je 0x40e7e3
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x40e7dc
xorps xmm0, xmm0
jmp 0x40e7e6
addss xmm0, dword [esi + 0x18]
jmp 0x40e7e6
movaps xmm0, xmm2
movss dword [eax], xmm0
add eax, 0x10
sub ecx, 1
jne 0x40e7c0
call fcn.0041a7b0
call fcn.0040d390
call fcn.0040db80
mov esi, dword [0x56e3a0]
mov ecx, dword [esi + 0x3db4]
test ecx, ecx
je 0x40e901
mov eax, dword [esi + 0x3de0]
mov dword [esi + 0x3de4], eax
cmp dword [esi + 0x3e24], eax
jne 0x40e830
mov byte [esi + 0x3e28], 1
cmp byte [esi + 0xcd0], 0
mov ecx, dword [ecx + 0x2e0]
je 0x40e8f5
lea eax, [esi + 0xcc8]
mov edx, eax
test eax, eax
jne 0x40e855
lea edx, [esi + 0xcc8]
movss xmm0, dword [edx]
movss xmm1, dword [0x492f2c]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x40e8f5
comiss xmm2, xmm1
jb 0x40e8f5
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x3e10]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x3e14]
ucomiss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm2
lahf
test ah, 0x44
jp 0x40e8b7
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x40e8e2
test dword [ecx + 8], 0x100
jne 0x40e8d5
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x5178]
jb 0x40e8d5
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5178], eax
push 1
lea edx, [ebp - 0x20]
call fcn.00416990
add esp, 4
mov ecx, dword [esi + 0x3db4]
call fcn.004164f0
mov esi, dword [0x56e3a0]
jmp 0x40e939
mov dword [esi + 0x3db4], 0
jmp 0x40e934
mov ecx, dword [esi + 0x3e18]
test ecx, ecx
je 0x40e939
mov eax, dword [esi + 0x3de0]
cmp dword [ecx + 0x50], eax
jne 0x40e939
mov dword [esi + 0x3de4], eax
cmp dword [esi + 0x3e24], eax
jne 0x40e92b
mov byte [esi + 0x3e28], 1
cmp byte [esi + 0xcd0], 0
jne 0x40e939
call fcn.0040cc30
mov edx, dword [esi + 0x3f34]
sub edx, 1
js 0x40e96e
mov eax, dword [esi + 0x3f3c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x40e966
test dword [ecx + 8], 0x8000000
jne 0x40ea1c
sub eax, 0x24
sub edx, 1
jns 0x40e953
cmp dword [edi + 0x40ac], 0
xorps xmm6, xmm6
je 0x40e98b
movss xmm0, dword [edi + 0x40bc]
comiss xmm0, xmm6
ja 0x40ea1f
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x492e30]
movss xmm1, dword [edi + 0x40c4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [edi + 0x40c4], xmm1
movups xmm0, xmmword [edi + 0x5154]
mov dword [edi + 0x40c8], 0
mov dword [edi + 0x5414], 0xffffffff
mov dword [edi + 0x5410], 0xffffffff
mov dword [edi + 0x540c], 0xffffffff
movups xmmword [edi + 0x5164], xmm0
mov byte [edi + 0x5154], 0
call fcn.0040d6f0
cmp byte [edi + 0x3d57], 0
jne 0x40ea41
movss xmm0, dword [edi + 0x60]
comiss xmm6, xmm0
ja 0x40ea41
movsd xmm1, qword [edi + 0x3d40]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
jmp 0x40ea46
xorps xmm6, xmm6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x492e20]
addss xmm1, dword [edi + 0x40c4]
minss xmm1, dword [0x492d90]
jmp 0x40e9a8
movss xmm1, dword [ebp - 0xc]
xor ebx, ebx
cmp dword [edi + 0x3d60], ebx
je 0x40ebd3
mov eax, dword [edi + 0x3d68]
xor ecx, ecx
mov esi, dword [eax + ebx*4]
mov al, byte [esi + 0x8a]
mov byte [esi + 0x8b], al
mov word [esi + 0x96], cx
mov byte [esi + 0x8a], cl
mov byte [esi + 0x8c], cl
test al, al
jne 0x40ebc1
cmp byte [esi + 0x324], cl
jne 0x40ebc1
comiss xmm1, dword [esi + 0x21c]
jbe 0x40ebc1
mov ecx, dword [esi + 0x244]
mov byte [esi + 0x324], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x31c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x320], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x40eafc
mov eax, dword [0x56e3a0]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x40eaeb
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x244]
call fcn.004275a0
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x40eb45
mov eax, dword [0x56e3a0]
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
test eax, eax
je 0x40eb34
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x168], 0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x40eb83
mov eax, dword [0x56e3a0]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x40eb72
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x40ebc1
mov eax, dword [0x56e3a0]
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test eax, eax
je 0x40ebb0
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x19c], 0
movss xmm1, dword [ebp - 0xc]
inc ebx
cmp ebx, dword [edi + 0x3d60]
jne 0x40ea54
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x41a0], ecx
jle 0x40ed1f
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x14], edx
nop dword [eax]
mov eax, dword [edi + 0x41a8]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x40ed06
movss xmm2, dword [ebp - 0xc]
comiss xmm2, xmm0
jbe 0x40ed06
mov esi, dword [edi + 0x4188]
mov ebx, dword [0x56e3a0]
add esi, edx
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x40ec66
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test ebx, ebx
je 0x40ec55
dec dword [ebx + 0xa8]
push eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x190], 0
mov byte [esi + 0x1bc], 1
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x40ecab
mov eax, dword [0x56e3a0]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x40ec9a
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x174], 0
xor edx, edx
mov byte [esi + 0x1c6], 1
cmp dword [esi + 0x54], edx
jle 0x40ecd7
xor ecx, ecx
or ebx, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], bx
cmp edx, dword [esi + 0x54]
jl 0x40ecc0
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
sub esi, dword [ebx + 0x4188]
mov eax, 0x8fb823ef
imul esi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x41a8]
add edx, esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0x10]
inc ecx
add edx, 0x1c8
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
cmp ecx, dword [edi + 0x41a0]
jl 0x40ebf0
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x4174], eax
jle 0x40ed73
xor esi, esi
xorps xmm1, xmm1
mov ebx, dword [edi + 0x417c]
movss xmm0, dword [ebx + esi + 4]
comiss xmm0, xmm1
jb 0x40ed64
movss xmm2, dword [ebp - 0xc]
comiss xmm2, xmm0
jbe 0x40ed64
lea ecx, [esi + 0x10]
add ecx, ebx
call fcn.0042a250
mov eax, dword [ebp - 0x14]
xorps xmm1, xmm1
mov dword [ebx + esi + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x4174]
jl 0x40ed31
cmp byte [edi + 0x3d57], 0
je 0x40ee08
mov esi, dword [0x56e3a0]
mov eax, dword [esi + 0x3f24]
test eax, eax
je 0x40edc3
mov dword [esi + 0x3f20], 0
mov dword [esi + 0x3f1c], 0
test esi, esi
je 0x40edae
dec dword [esi + 0xa8]
mov ebx, dword [ebp - 8]
push eax
call ebx
add esp, 4
mov dword [esi + 0x3f24], 0
jmp 0x40edc6
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 0x3f30]
test ecx, ecx
je 0x40ee03
mov eax, dword [0x56e3a0]
mov dword [esi + 0x3f2c], 0
mov dword [esi + 0x3f28], 0
test eax, eax
je 0x40edf3
dec dword [eax + 0xa8]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x3f30], 0
call fcn.00434be0
mov eax, dword [edi + 0x3f5c]
mov byte [edi + 0x3d57], 0
test eax, eax
je 0x40ee71
cmp byte [eax + 0x8b], 0
jne 0x40ee71
mov eax, dword [0x56e3a0]
mov edx, dword [eax + 0x3d6c]
sub edx, 1
js 0x40ee6a
mov eax, dword [eax + 0x3d74]
lea esi, [eax + edx*4]
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x40ee62
cmp byte [ecx + 0x8b], 0
je 0x40ee62
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x40f0da
sub esi, 4
sub edx, 1
jns 0x40ee40
xor ecx, ecx
call fcn.004164f0
mov ecx, dword [edi + 0x3d88]
test ecx, ecx
jns 0x40ee97
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 + 0x3d84]
call fcn.0041efa0
mov dword [edi + 0x3d84], 0
mov ecx, dword [edi + 0x3f44]
test ecx, ecx
jns 0x40eec7
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 + 0x3f40]
call fcn.0041ef20
lea esi, [edi + 0x3f1c]
mov dword [edi + 0x3f40], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40eef6
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.0041ea40
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x40ef0b
push 8
mov ecx, esi
call fcn.0041ea40
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x3f28]
inc dword [esi]
call fcn.0041e810
mov ebx, dword [0x56e3a0]
cmp byte [ebx + 0x51f0], 0
mov dword [ebx + 0x51f4], 0
je 0x40efec
mov esi, dword [ebx + 0x3dd0]
mov ecx, 0x20e
mov dword [ebx + 0x40c8], 7
call fcn.00416f10
test al, al
je 0x40ef68
mov byte [ebx + 0x51f0], 0
movss xmm0, dword [ebx + 0x3618]
ucomiss xmm0, dword [0x492cb0]
lahf
test ah, 0x44
jp 0x40ef8e
test esi, esi
je 0x40ef8e
mov dword [ebx + 0x51f4], esi
mov byte [ebx + 0x51f0], 0
or dword [ebx + 0x3e8c], 0x40
xor ecx, ecx
mov dword [ebx + 0x3ee0], 0x3f19999a
call fcn.00418460
push esi
push str.HoveredId:_0x_08X
call fcn.004360f0
push str.Press_ESC_to_abort_picking.
call fcn.004360f0
add esp, 0xc
mov ecx, 0x3800
test esi, esi
mov eax, 0x37f0
cmove eax, ecx
add eax, dword [0x56e3a0]
push str.Click_to_break_in_debugger_
push eax
call fcn.00436180
add esp, 8
call fcn.00416390
mov ebx, dword [0x56e3a0]
mov esi, ebx
mov dword [esi + 0x3dc8], 0
mov eax, dword [esi + 0x5208]
inc eax
cmp dword [esi + 0x3d48], eax
jne 0x40f11e
mov edx, dword [esi + 0x3dd0]
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x40f021
mov edx, dword [esi + 0x3de0]
mov dword [ebp - 0xc], edx
cmp dword [esi + 0x5210], edx
je 0x40f077
lea eax, [esi + 0x5214]
mov dword [esi + 0x5210], edx
mov dword [esi + 0x520c], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f071
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, [esi + 0x5214]
call fcn.0041f090
mov ebx, dword [0x56e3a0]
lea eax, [esi + 0x5214]
mov edx, dword [ebp - 0xc]
mov dword [eax], 0
test edx, edx
je 0x40f11e
mov eax, dword [esi + 0x520c]
test eax, eax
js 0x40f0cb
mov ecx, eax
cmp eax, dword [esi + 0x5214]
jge 0x40f0fa
mov edx, dword [esi + 0x521c]
shl ecx, 6
mov dword [ebp - 0x1c], ecx
cmp byte [ecx + edx + 5], 0
mov edx, dword [ebp - 0xc]
jne 0x40f0c4
mov ebx, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [esi + 0x521c]
cmp byte [ebx + edx + 4], 2
mov ebx, dword [0x56e3a0]
mov edx, dword [ebp - 0xc]
jle 0x40f0fa
inc eax
mov dword [esi + 0x520c], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x40f0f6
mov dword [esi + 0x3dc8], edx
jmp 0x40f11e
mov eax, dword [ecx + 0x2f0]
test eax, eax
je 0x40f0ed
cmp byte [eax + 0x8b], 0
jne 0x40f0ef
mov eax, ecx
mov ecx, eax
jmp 0x40ee6c
test ecx, ecx
js 0x40f11e
cmp ecx, dword [esi + 0x5214]
jge 0x40f11e
mov eax, dword [esi + 0x521c]
shl ecx, 6
mov eax, dword [ecx + eax]
mov dword [esi + 0x3dc8], eax
mov eax, dword [esi + 0x521c]
inc byte [eax + ecx + 4]
mov byte [edi + 0x3d55], 1
xor edx, edx
or dword [ebx + 0x3e8c], 2
mov ecx, str.DebugDefault
push 0
mov dword [ebx + 0x3eac], 0x43c80000
mov dword [ebx + 0x3eb0], 0x43c80000
mov dword [ebx + 0x3e94], 4
call fcn.00413ab0
xor esi, esi
add esp, 4
cmp dword [edi + 0x51ac], esi
jle 0x40f194
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x51b4]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x40f188
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x51ac]
jl 0x40f170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret