Function at 0x40de30
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 0x40dec0
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov edx, dword [edi + 0x51b4]
cmp dword [ebx + edx + 4], 7
jne 0x40deb5
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 0x40de60
xor esi, esi
cmp dword [edi + 0x51ac], esi
jle 0x40def4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x51b4]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x40dee8
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 0x40ded0
mov esi, dword [0x56e3a0]
cmp byte [esi + 0x5d], 0
je 0x40df0a
test byte [esi + 0xc], 2
jne 0x40df0a
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 0x40df67
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40df60
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 0x40df60
mov edx, dword [ebp - 0xc]
mov ecx, eax
call fcn.0041d610
mov ecx, dword [0x56e3a0]
test ecx, ecx
je 0x40df58
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 0x40dfef
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5178], xmm0
jb 0x40dfef
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x40dfde
mov eax, dword [0x56e3a0]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [eax + 0x5178], 0
call fcn.0041d8b0
mov edx, 0x490684
mov dword [ebp - 0x14], eax
mov ecx, ebx
call fcn.0040ae00
mov ebx, eax
test ebx, ebx
je 0x40dfe5
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 0x40dfe5
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 0x40e049
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.0041ea50
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 [0x492ef4]
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 0x40e0e3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x40e0e6
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 0x40e200
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 0x40e130
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 0x40e21c
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x44]
movaps xmm0, xmm4
mov eax, dword [esi + 0x3da8]
mov dword [esi + 0x3b40], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x3b48], xmm0
test eax, eax
je 0x40e26e
movss xmm0, dword [eax + 0x23c]
mov eax, dword [eax + 0x2d8]
mulss xmm0, dword [esi + 0x3b48]
test eax, eax
je 0x40e271
mulss xmm0, dword [eax + 0x23c]
jmp 0x40e271
movaps xmm0, xmm3
movss xmm4, dword [0x492f38]
movaps xmm7, xmm2
movss dword [esi + 0x3b44], xmm0
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], xmm0
mov edx, dword [edi + 0x3f50]
test edx, edx
jle 0x40e30a
mov ecx, dword [edi + 0x3f58]
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 0x40e2ea
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x40e2f2
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x40e2fa
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x40e302
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x40e2c6
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 0x40e42f
movss dword [edi + 0x3b60], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x40e3eb
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 0x40e3e1
mov eax, 4
jmp 0x40e3ed
cmp eax, 0x200
cmovg eax, ebx
jmp 0x40e3ed
xor eax, eax
mov byte [esi + edi + 0x3cfc], al
inc esi
cmp esi, 0x40
jl 0x40e362
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 0x40e452
mov dword [edi + 0x3b74], 1
mov edx, 1
cmp byte [edi + 0x37e5], 0
mov ecx, edx
je 0x40e474
mov eax, dword [edi + 0x3b40]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x40e474
or ecx, 2
mov dword [edi + 0x3b74], ecx
cmp byte [edi + 0x37e6], 0
je 0x40e486
or ecx, 4
mov dword [edi + 0x3b74], ecx
test byte [edi + 0xc], 8
je 0x40e495
or ecx, 8
mov dword [edi + 0x3b74], ecx
xor esi, esi
cmp dword [edi + 0x3f50], esi
jle 0x40e4c2
nop
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 0x40e4a0
cmp byte [edi + 0x40cc], 0
je 0x40e4fc
mov eax, dword [edi + 0x40e4]
cmp eax, dword [edi + 0x3de0]
jne 0x40e4fc
mov ecx, dword [0x56e3a0]
cmp dword [ecx + 0x3de0], eax
jne 0x40e4ed
mov dword [ecx + 0x3de4], eax
cmp dword [ecx + 0x3e24], eax
jne 0x40e4fc
mov byte [ecx + 0x3e28], 1
cmp dword [edi + 0x3dd0], 0
jne 0x40e511
mov dword [edi + 0x3dd8], 0
jmp 0x40e523
mov eax, dword [edi + 0x3dcc]
test eax, eax
je 0x40e52d
cmp dword [edi + 0x3de0], eax
jne 0x40e52d
mov dword [edi + 0x3ddc], 0
mov eax, dword [edi + 0x3dcc]
test eax, eax
je 0x40e567
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3dd8]
movss dword [edi + 0x3dd8], xmm0
cmp dword [edi + 0x3de0], eax
je 0x40e567
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 0x40e5b2
cmp dword [edi + 0x3e24], eax
jne 0x40e5b2
test eax, eax
je 0x40e5b2
call fcn.0040cc30
mov ecx, dword [edi + 0x3de0]
test ecx, ecx
je 0x40e5d1
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 0x40e63b
cmp ecx, eax
je 0x40e63b
mov dword [edi + 0x50c8], 0
test ecx, ecx
jne 0x40e65b
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 0x40e6b4
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.0041f020
mov dword [edi + 0x371c], 0
mov cl, byte [edi + 0x5a]
call fcn.00416ff0
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 0x40e7b8
mov eax, 0x200
lea ecx, [esi + 0x8b4]
mov edx, dword [ecx]
cmp edx, 0xffffffff
je 0x40e730
mov dword [esi + edx*4 + 0xb4], eax
inc eax
add ecx, 4
cmp eax, 0x285
jl 0x40e722
xor edx, edx
lea ebx, [esi + 0xb4]
cmp byte [esi + edx + 0xac8], 0
jne 0x40e757
mov al, byte [esi + 0x36f9]
cmp al, 1
jne 0x40e778
cmp dword [ebx], 0xffffffff
mov ecx, edx
mov al, byte [esi + edx + 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 0x40e743
cmp al, 1
jne 0x40e7b8
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 0x40e7e3
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 0x40e7d0
movss xmm2, dword [0x492f18]
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 0x40e823
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x40e81c
xorps xmm0, xmm0
jmp 0x40e826
addss xmm0, dword [esi + 0x18]
jmp 0x40e826
movaps xmm0, xmm2
movss dword [eax], xmm0
add eax, 0x10
sub ecx, 1
jne 0x40e800
call fcn.0041a7a0
call fcn.0040d390
call fcn.0040dbc0
mov esi, dword [0x56e3a0]
mov ecx, dword [esi + 0x3db4]
test ecx, ecx
je 0x40e941
mov eax, dword [esi + 0x3de0]
mov dword [esi + 0x3de4], eax
cmp dword [esi + 0x3e24], eax
jne 0x40e870
mov byte [esi + 0x3e28], 1
cmp byte [esi + 0xcd0], 0
mov ecx, dword [ecx + 0x2e0]
je 0x40e935
lea eax, [esi + 0xcc8]
mov edx, eax
test eax, eax
jne 0x40e895
lea edx, [esi + 0xcc8]
movss xmm0, dword [edx]
movss xmm1, dword [0x492f34]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x40e935
comiss xmm2, xmm1
jb 0x40e935
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 0x40e8f7
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x40e922
test dword [ecx + 8], 0x100
jne 0x40e915
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x5178]
jb 0x40e915
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5178], eax
push 1
lea edx, [ebp - 0x20]
call fcn.00416970
add esp, 4
mov ecx, dword [esi + 0x3db4]
call fcn.004164d0
mov esi, dword [0x56e3a0]
jmp 0x40e979
mov dword [esi + 0x3db4], 0
jmp 0x40e974
mov ecx, dword [esi + 0x3e18]
test ecx, ecx
je 0x40e979
mov eax, dword [esi + 0x3de0]
cmp dword [ecx + 0x50], eax
jne 0x40e979
mov dword [esi + 0x3de4], eax
cmp dword [esi + 0x3e24], eax
jne 0x40e96b
mov byte [esi + 0x3e28], 1
cmp byte [esi + 0xcd0], 0
jne 0x40e979
call fcn.0040cc30
mov edx, dword [esi + 0x3f34]
sub edx, 1
js 0x40e9ae
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 0x40e9a6
test dword [ecx + 8], 0x8000000
jne 0x40ea5c
sub eax, 0x24
sub edx, 1
jns 0x40e993
cmp dword [edi + 0x40ac], 0
xorps xmm6, xmm6
je 0x40e9cb
movss xmm0, dword [edi + 0x40bc]
comiss xmm0, xmm6
ja 0x40ea5f
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.0040d720
cmp byte [edi + 0x3d57], 0
jne 0x40ea81
movss xmm0, dword [edi + 0x60]
comiss xmm6, xmm0
ja 0x40ea81
movsd xmm1, qword [edi + 0x3d40]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
jmp 0x40ea86
xorps xmm6, xmm6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x492e20]
addss xmm1, dword [edi + 0x40c4]
minss xmm1, dword [0x492d90]
jmp 0x40e9e8
movss xmm1, dword [ebp - 0xc]
xor ebx, ebx
cmp dword [edi + 0x3d60], ebx
je 0x40ec13
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 0x40ec01
cmp byte [esi + 0x324], cl
jne 0x40ec01
comiss xmm1, dword [esi + 0x21c]
jbe 0x40ec01
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 0x40eb3c
mov eax, dword [0x56e3a0]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x40eb2b
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.004274a0
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x40eb85
mov eax, dword [0x56e3a0]
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
test eax, eax
je 0x40eb74
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 0x40ebc3
mov eax, dword [0x56e3a0]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x40ebb2
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 0x40ec01
mov eax, dword [0x56e3a0]
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test eax, eax
je 0x40ebf0
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 0x40ea94
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x41a0], ecx
jle 0x40ed5f
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 0x40ed46
movss xmm2, dword [ebp - 0xc]
comiss xmm2, xmm0
jbe 0x40ed46
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 0x40eca6
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test ebx, ebx
je 0x40ec95
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 0x40eceb
mov eax, dword [0x56e3a0]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x40ecda
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 0x40ed17
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 0x40ed00
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 0x40ec30
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x4174], eax
jle 0x40edb3
xor esi, esi
xorps xmm1, xmm1
mov ebx, dword [edi + 0x417c]
movss xmm0, dword [ebx + esi + 4]
comiss xmm0, xmm1
jb 0x40eda4
movss xmm2, dword [ebp - 0xc]
comiss xmm2, xmm0
jbe 0x40eda4
lea ecx, [esi + 0x10]
add ecx, ebx
call fcn.0042a160
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 0x40ed71
cmp byte [edi + 0x3d57], 0
je 0x40ee48
mov esi, dword [0x56e3a0]
mov eax, dword [esi + 0x3f24]
test eax, eax
je 0x40ee03
mov dword [esi + 0x3f20], 0
mov dword [esi + 0x3f1c], 0
test esi, esi
je 0x40edee
dec dword [esi + 0xa8]
mov ebx, dword [ebp - 8]
push eax
call ebx
add esp, 4
mov dword [esi + 0x3f24], 0
jmp 0x40ee06
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 0x3f30]
test ecx, ecx
je 0x40ee43
mov eax, dword [0x56e3a0]
mov dword [esi + 0x3f2c], 0
mov dword [esi + 0x3f28], 0
test eax, eax
je 0x40ee33
dec dword [eax + 0xa8]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x3f30], 0
call fcn.00434a70
mov eax, dword [edi + 0x3f5c]
mov byte [edi + 0x3d57], 0
test eax, eax
je 0x40eeb1
cmp byte [eax + 0x8b], 0
jne 0x40eeb1
mov eax, dword [0x56e3a0]
mov edx, dword [eax + 0x3d6c]
sub edx, 1
js 0x40eeaa
mov eax, dword [eax + 0x3d74]
lea esi, [eax + edx*4]
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x40eea2
cmp byte [ecx + 0x8b], 0
je 0x40eea2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x40f11a
sub esi, 4
sub edx, 1
jns 0x40ee80
xor ecx, ecx
call fcn.004164d0
mov ecx, dword [edi + 0x3d88]
test ecx, ecx
jns 0x40eed7
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.0041efb0
mov dword [edi + 0x3d84], 0
mov ecx, dword [edi + 0x3f44]
test ecx, ecx
jns 0x40ef07
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.0041ef30
lea esi, [edi + 0x3f1c]
mov dword [edi + 0x3f40], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40ef36
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.0041ea50
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x40ef4b
push 8
mov ecx, esi
call fcn.0041ea50
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.0041e820
mov ebx, dword [0x56e3a0]
cmp byte [ebx + 0x51f0], 0
mov dword [ebx + 0x51f4], 0
je 0x40f02c
mov esi, dword [ebx + 0x3dd0]
mov ecx, 0x20e
mov dword [ebx + 0x40c8], 7
call fcn.00416ef0
test al, al
je 0x40efa8
mov byte [ebx + 0x51f0], 0
movss xmm0, dword [ebx + 0x3618]
ucomiss xmm0, dword [0x492cb0]
lahf
test ah, 0x44
jp 0x40efce
test esi, esi
je 0x40efce
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.00418440
push esi
push str.HoveredId:_0x_08X
call fcn.00435f70
push str.Press_ESC_to_abort_picking.
call fcn.00435f70
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.00436000
add esp, 8
call fcn.00416370
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 0x40f15e
mov edx, dword [esi + 0x3dd0]
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x40f061
mov edx, dword [esi + 0x3de0]
mov dword [ebp - 0xc], edx
cmp dword [esi + 0x5210], edx
je 0x40f0b7
lea eax, [esi + 0x5214]
mov dword [esi + 0x5210], edx
mov dword [esi + 0x520c], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f0b1
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.0041f0a0
mov ebx, dword [0x56e3a0]
lea eax, [esi + 0x5214]
mov edx, dword [ebp - 0xc]
mov dword [eax], 0
test edx, edx
je 0x40f15e
mov eax, dword [esi + 0x520c]
test eax, eax
js 0x40f10b
mov ecx, eax
cmp eax, dword [esi + 0x5214]
jge 0x40f13a
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 0x40f104
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 0x40f13a
inc eax
mov dword [esi + 0x520c], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x40f136
mov dword [esi + 0x3dc8], edx
jmp 0x40f15e
mov eax, dword [ecx + 0x2f0]
test eax, eax
je 0x40f12d
cmp byte [eax + 0x8b], 0
jne 0x40f12f
mov eax, ecx
mov ecx, eax
jmp 0x40eeac
test ecx, ecx
js 0x40f15e
cmp ecx, dword [esi + 0x5214]
jge 0x40f15e
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.00413a90
xor esi, esi
add esp, 4
cmp dword [edi + 0x51ac], esi
jle 0x40f1d4
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x51b4]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x40f1c8
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 0x40f1b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret