Function at 0x41a810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [0x493db8]
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x5238]
sub eax, 1
mov dword [ebp - 8], eax
js 0x41a89e
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov ecx, dword [edi + 0x5240]
cmp dword [ecx + ebx + 4], 7
jne 0x41a893
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 + 0x5238]
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 - 8]
add esp, 0xc
dec dword [edi + 0x5238]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x41a840
xor esi, esi
cmp dword [edi + 0x5238], esi
jle 0x41a8d4
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x5240]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x41a8c8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5238]
jl 0x41a8b0
mov esi, dword [0x493db8]
cmp byte [esi + 0x5d], 0
je 0x41a8ea
test byte [esi + 0xc], 2
jne 0x41a8ea
mov byte [esi + 0x5d], 0
cmp byte [esi + 0x5201], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 4], ebx
jne 0x41a947
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41a940
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.00417890
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41a940
mov edx, dword [ebp - 8]
mov ecx, eax
call fcn.00429200
mov ecx, dword [0x493db8]
test ecx, ecx
je 0x41a938
dec dword [ecx + 0xa8]
push dword [ebp - 0x10]
call ebx
add esp, 4
mov byte [esi + 0x5201], 1
movss xmm0, dword [esi + 0x5204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x41a9cf
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5204], xmm0
jb 0x41a9cf
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x41a9be
mov eax, dword [0x493db8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [eax + 0x5204], 0
call fcn.00429430
mov edx, 0x467274
mov dword [ebp - 0x10], eax
mov ecx, ebx
call fcn.004177c0
mov ebx, eax
test ebx, ebx
je 0x41a9c5
push ebx
push dword [ebp - 8]
push 1
push dword [ebp - 0x10]
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 0x41a9c5
mov byte [esi + 0x90], 1
mov dword [esi + 0x5204], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd0]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3ddc], 1
mov word [edi + 0x51c2], ax
mov dword [edi + 0x3e24], eax
addsd xmm0, qword [edi + 0x3dc8]
movsd qword [edi + 0x3dc8], xmm0
mov ecx, dword [edi + 0x51d8]
test ecx, ecx
jns 0x41aa29
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 + 0x51d4]
call fcn.0042a330
mov dword [edi + 0x51d4], 0
mov ecx, 0x78
mov eax, dword [edi + 0x5494]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x467968]
movss xmm4, dword [0x4678a4]
subss xmm0, dword [edi + eax*4 + 0x52b4]
movss dword [ebp - 8], xmm2
addss xmm0, dword [edi + 0x549c]
movss dword [edi + 0x549c], xmm0
movss dword [edi + eax*4 + 0x52b4], xmm1
mov eax, dword [edi + 0x5494]
inc eax
movss xmm1, dword [edi + 0x549c]
cdq
idiv ecx
mov eax, dword [edi + 0x5498]
inc eax
mov dword [edi + 0x5494], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5498], ecx
jbe 0x41aac3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x41aac6
movaps xmm0, xmm2
mov esi, dword [0x493db8]
xor ebx, ebx
movss dword [edi + 0x94], xmm0
mov eax, dword [esi + 0x3fe4]
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 + 0x3fdc], ebx
jle 0x41abe0
nop word [eax + eax]
mov eax, dword [esi + 0x3fe4]
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 + 0x3fdc]
jl 0x41ab10
movss xmm2, dword [ebp - 8]
mov eax, dword [edi + 0x40]
mov esi, dword [0x493db8]
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x4c]
test ebx, ebx
jne 0x41abfc
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 + 0x3e30]
mov dword [esi + 0x3bc8], ebx
mulss xmm0, dword [ebx + 0x10]
mulss xmm0, dword [ebx + 0x44]
maxss xmm1, xmm0
movss dword [esi + 0x3bd0], xmm1
test eax, eax
je 0x41ac46
mulss xmm1, dword [eax + 0x244]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x41ac49
mulss xmm1, dword [eax + 0x244]
jmp 0x41ac49
movaps xmm1, xmm3
movss xmm4, dword [0x467980]
movaps xmm7, xmm2
movss dword [esi + 0x3bcc], 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 + 0x3bd4], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3bd8], ecx
mov dword [esi + 0x3dc4], eax
mov dword [esi + 0x3bdc], ebx
movss dword [esi + 0x3be0], xmm1
mov edx, dword [edi + 0x3fdc]
test edx, edx
jle 0x41ace4
mov ecx, dword [edi + 0x3fe4]
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 0x41acc4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x41accc
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x41acd4
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x41acdc
movaps xmm5, xmm0
add ecx, 4
sub edx, 1
jne 0x41aca0
movss dword [edi + 0x3bec], xmm7
movss dword [edi + 0x3bf0], xmm6
movss dword [edi + 0x3bf4], xmm4
movss dword [edi + 0x3bf8], xmm5
mov eax, dword [edi + 0x3870]
movss xmm1, dword [edi + 0x3874]
mov dword [edi + 0x3be4], eax
movss xmm0, dword [edi + 0x3be8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x41ae10
movss dword [edi + 0x3be8], xmm1
xor esi, esi
mov ebx, 0x200
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x41adc9
movss xmm1, dword [edi + 0x3be8]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4678a4]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4678fc]
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 0x41adbf
mov eax, 4
jmp 0x41adce
cmp eax, 0x200
cmovg eax, ebx
jmp 0x41adce
mov eax, 0x30
mov byte [esi + edi + 0x3d84], al
inc esi
cmp esi, 0x40
jl 0x41ad40
movsd xmm0, qword [0x4678b8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x4678a4]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be8]
divss xmm0, xmm1
movss dword [edi + 0x3d80], xmm0
xor edx, edx
mov dword [edi + 0x3bfc], 0
cmp byte [edi + 0x386c], dl
je 0x41ae33
mov dword [edi + 0x3bfc], 1
mov edx, 1
cmp byte [edi + 0x386d], 0
mov ecx, edx
je 0x41ae55
mov eax, dword [edi + 0x3bc8]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x41ae55
or ecx, 2
mov dword [edi + 0x3bfc], ecx
cmp byte [edi + 0x386e], 0
je 0x41ae67
or ecx, 4
mov dword [edi + 0x3bfc], ecx
test byte [edi + 0xc], 8
je 0x41ae76
or ecx, 8
mov dword [edi + 0x3bfc], ecx
xor esi, esi
cmp dword [edi + 0x3fdc], esi
jle 0x41aea2
mov eax, dword [edi + 0x3fe4]
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 + 0x3fdc]
jl 0x41ae80
cmp byte [edi + 0x4158], 0
je 0x41aedc
mov eax, dword [edi + 0x4170]
cmp eax, dword [edi + 0x3e68]
jne 0x41aedc
mov ecx, dword [0x493db8]
cmp dword [ecx + 0x3e68], eax
jne 0x41aecd
mov dword [ecx + 0x3e6c], eax
cmp dword [ecx + 0x3e90], eax
jne 0x41aedc
mov byte [ecx + 0x3e94], 1
cmp dword [edi + 0x3e58], 0
jne 0x41aef1
mov dword [edi + 0x3e60], 0
jmp 0x41af03
mov eax, dword [edi + 0x3e54]
test eax, eax
je 0x41af0d
cmp dword [edi + 0x3e68], eax
jne 0x41af0d
mov dword [edi + 0x3e64], 0
mov eax, dword [edi + 0x3e54]
test eax, eax
je 0x41af47
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e60]
movss dword [edi + 0x3e60], xmm0
cmp dword [edi + 0x3e68], eax
je 0x41af47
addss xmm1, dword [edi + 0x3e64]
movss dword [edi + 0x3e64], xmm1
mov dword [edi + 0x3e58], eax
mov al, byte [edi + 0x3e5d]
mov byte [edi + 0x3e5e], al
mov eax, dword [edi + 0x3e68]
mov dword [edi + 0x3e54], 0
mov word [edi + 0x3e5c], 0
mov byte [edi + 0x3e5f], 0
cmp dword [edi + 0x3e6c], eax
je 0x41af92
cmp dword [edi + 0x3e90], eax
jne 0x41af92
test eax, eax
je 0x41af92
call fcn.00419390
mov ecx, dword [edi + 0x3e68]
test ecx, ecx
je 0x41afb1
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e70]
movss dword [edi + 0x3e70], xmm0
mov eax, dword [edi + 0x3e84]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ea0]
mov dword [edi + 0x3e98], eax
mov al, byte [edi + 0x3e78]
mov byte [edi + 0x3e95], al
mov eax, dword [edi + 0x5154]
movss dword [edi + 0x3ea0], xmm0
mov dword [edi + 0x3e90], ecx
mov dword [edi + 0x3e6c], 0
mov byte [edi + 0x3e79], 0
mov byte [edi + 0x3e94], 0
mov byte [edi + 0x3e74], 0
test eax, eax
je 0x41b01b
cmp ecx, eax
je 0x41b01b
mov dword [edi + 0x5154], 0
test ecx, ecx
jne 0x41b03b
mov dword [edi + 0x3ea8], ecx
xorps xmm0, xmm0
mov dword [edi + 0x3eac], ecx
movups xmmword [edi + 0x3eb0], xmm0
mov dword [edi + 0x3ec0], ecx
mov eax, dword [edi + 0x41bc]
mov dword [edi + 0x41c0], eax
mov dword [edi + 0x41bc], 0
mov dword [edi + 0x41b8], 0x7f7fffff
mov word [edi + 0x4159], 0
mov dword [edi + 0x41c8], 0
mov ecx, dword [edi + 0x37a8]
test ecx, ecx
jns 0x41b094
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 + 0x37a4]
call fcn.0042a880
mov dword [edi + 0x37a4], 0
mov cl, byte [edi + 0x5a]
call fcn.00423140
call fcn.00419c10
call fcn.004261d0
call fcn.00419da0
call fcn.0041a5a0
mov esi, dword [0x493db8]
mov ecx, dword [esi + 0x3e3c]
test ecx, ecx
je 0x41b1ba
mov eax, dword [esi + 0x3e68]
mov dword [esi + 0x3e6c], eax
cmp dword [esi + 0x3e90], eax
jne 0x41b0e9
mov byte [esi + 0x3e94], 1
cmp byte [esi + 0xd58], 0
mov ecx, dword [ecx + 0x2e8]
je 0x41b1ae
lea eax, [esi + 0xd50]
mov edx, eax
test eax, eax
jne 0x41b10e
lea edx, [esi + 0xd50]
movss xmm0, dword [edx]
movss xmm1, dword [0x46797c]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x41b1ae
comiss xmm2, xmm1
jb 0x41b1ae
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x3e7c]
movss xmm0, dword [ecx + 0x10]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x3e80]
ucomiss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm2
lahf
test ah, 0x44
jp 0x41b170
movss xmm0, dword [ecx + 0x14]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x41b19b
test dword [ecx + 8], 0x100
jne 0x41b18e
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x5204]
jb 0x41b18e
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5204], eax
push 1
lea edx, [ebp - 0x20]
call fcn.00422eb0
add esp, 4
mov ecx, dword [esi + 0x3e3c]
call fcn.00422a50
mov esi, dword [0x493db8]
jmp 0x41b1f2
mov dword [esi + 0x3e3c], 0
jmp 0x41b1ed
mov ecx, dword [esi + 0x3e84]
test ecx, ecx
je 0x41b1f2
mov eax, dword [esi + 0x3e68]
cmp dword [ecx + 0x54], eax
jne 0x41b1f2
mov dword [esi + 0x3e6c], eax
cmp dword [esi + 0x3e90], eax
jne 0x41b1e4
mov byte [esi + 0x3e94], 1
cmp byte [esi + 0xd58], 0
jne 0x41b1f2
call fcn.00419390
mov edx, dword [esi + 0x3fc0]
sub edx, 1
js 0x41b22b
mov eax, dword [esi + 0x3fc8]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x41b223
test dword [ecx + 8], 0x8000000
jne 0x41b2d9
sub eax, 0x24
sub edx, 1
jns 0x41b210
cmp dword [edi + 0x4138], 0
xorps xmm6, xmm6
je 0x41b248
movss xmm0, dword [edi + 0x4148]
comiss xmm0, xmm6
ja 0x41b2dc
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x467914]
movss xmm1, dword [edi + 0x4150]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [edi + 0x4150], xmm1
movups xmm0, xmmword [edi + 0x51e0]
mov dword [edi + 0x4154], 0
mov dword [edi + 0x54a8], 0xffffffff
mov dword [edi + 0x54a4], 0xffffffff
mov dword [edi + 0x54a0], 0xffffffff
movups xmmword [edi + 0x51f0], xmm0
mov byte [edi + 0x51e0], 0
call fcn.0041a100
cmp byte [edi + 0x3ddf], 0
jne 0x41b2fe
movss xmm0, dword [edi + 0x60]
comiss xmm6, xmm0
ja 0x41b2fe
movsd xmm1, qword [edi + 0x3dc8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
jmp 0x41b303
xorps xmm6, xmm6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x467908]
addss xmm1, dword [edi + 0x4150]
minss xmm1, dword [0x4678a4]
jmp 0x41b265
movss xmm1, dword [ebp - 8]
xor ebx, ebx
cmp dword [edi + 0x3de8], ebx
je 0x41b490
mov eax, dword [edi + 0x3df0]
xor ecx, ecx
mov esi, dword [eax + ebx*4]
mov al, byte [esi + 0x8e]
mov byte [esi + 0x8f], al
mov word [esi + 0x9a], cx
mov byte [esi + 0x8e], cl
mov byte [esi + 0x90], cl
test al, al
jne 0x41b47e
cmp byte [esi + 0x32c], cl
jne 0x41b47e
comiss xmm1, dword [esi + 0x224]
jbe 0x41b47e
mov ecx, dword [esi + 0x24c]
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 0x41b3b9
mov eax, dword [0x493db8]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
test eax, eax
je 0x41b3a8
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0xd0], 0
mov ecx, dword [esi + 0x24c]
call fcn.00432df0
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x41b402
mov eax, dword [0x493db8]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x41b3f1
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x170], 0
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x41b440
mov eax, dword [0x493db8]
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
test eax, eax
je 0x41b42f
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x198], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x41b47e
mov eax, dword [0x493db8]
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test eax, eax
je 0x41b46d
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1a4], 0
movss xmm1, dword [ebp - 8]
inc ebx
cmp ebx, dword [edi + 0x3de8]
jne 0x41b311
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x422c], ecx
jle 0x41b5dd
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x10], edx
nop dword [eax]
mov eax, dword [edi + 0x4234]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x41b5c4
movss xmm2, dword [ebp - 8]
comiss xmm2, xmm0
jbe 0x41b5c4
mov esi, dword [edi + 0x4214]
mov ebx, dword [0x493db8]
add esi, edx
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x1a4], 0
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x41b526
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test ebx, ebx
je 0x41b515
dec dword [ebx + 0xa8]
push eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1cc], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x41b56b
mov eax, dword [0x493db8]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x41b55a
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1d6], 1
cmp dword [esi + 0x54], edx
jle 0x41b597
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 0x41b580
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
sub esi, dword [ebx + 0x4214]
mov eax, 0x22b63cbf
imul esi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x4234]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0xc]
inc ecx
add edx, 0x1d8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [edi + 0x422c]
jl 0x41b4b0
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x4200], eax
jle 0x41b632
xor esi, esi
xorps xmm1, xmm1
nop
mov ebx, dword [edi + 0x4208]
movss xmm0, dword [ebx + esi + 4]
comiss xmm0, xmm1
jb 0x41b623
movss xmm2, dword [ebp - 8]
comiss xmm2, xmm0
jbe 0x41b623
lea ecx, [esi + 0x10]
add ecx, ebx
call fcn.00435690
mov eax, dword [ebp - 0x10]
xorps xmm1, xmm1
mov dword [ebx + esi + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x4200]
jl 0x41b5f0
cmp byte [edi + 0x3ddf], 0
je 0x41b6c7
mov esi, dword [0x493db8]
mov eax, dword [esi + 0x3fb0]
test eax, eax
je 0x41b682
mov dword [esi + 0x3fac], 0
mov dword [esi + 0x3fa8], 0
test esi, esi
je 0x41b66d
dec dword [esi + 0xa8]
mov ebx, dword [ebp - 4]
push eax
call ebx
add esp, 4
mov dword [esi + 0x3fb0], 0
jmp 0x41b685
mov ebx, dword [ebp - 4]
mov ecx, dword [esi + 0x3fbc]
test ecx, ecx
je 0x41b6c2
mov eax, dword [0x493db8]
mov dword [esi + 0x3fb8], 0
mov dword [esi + 0x3fb4], 0
test eax, eax
je 0x41b6b2
dec dword [eax + 0xa8]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x3fbc], 0
call fcn.0043c9a0
mov eax, dword [edi + 0x3fe8]
mov byte [edi + 0x3ddf], 0
test eax, eax
je 0x41b731
cmp byte [eax + 0x8f], 0
jne 0x41b731
mov eax, dword [0x493db8]
mov edx, dword [eax + 0x3df4]
sub edx, 1
js 0x41b72a
mov eax, dword [eax + 0x3dfc]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x41b722
cmp byte [ecx + 0x8f], 0
je 0x41b722
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x41b86c
sub esi, 4
sub edx, 1
jns 0x41b700
xor ecx, ecx
call fcn.00422a50
mov ecx, dword [edi + 0x3e10]
test ecx, ecx
jns 0x41b757
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 + 0x3e0c]
call fcn.0042a810
mov dword [edi + 0x3e0c], 0
mov ecx, dword [edi + 0x3fd0]
test ecx, ecx
jns 0x41b787
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 + 0x3fcc]
call fcn.0042a790
mov dword [edi + 0x3fcc], 0
mov ecx, dword [edi + 0x3fac]
test ecx, ecx
jns 0x41b7b7
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x3fa8]
test eax, eax
cmovg edx, eax
push edx
call fcn.0042a330
lea eax, [ebp - 0x1c]
mov dword [edi + 0x3fa8], 0
push eax
lea ecx, [edi + 0x3fa8]
mov dword [ebp - 0x1c], 0
call fcn.0042a100
push 0
lea ecx, [edi + 0x3fb4]
call fcn.0042a050
mov edx, dword [0x493db8]
cmp byte [edx + 0x527c], 0
mov dword [edx + 0x5280], 0
je 0x41b944
mov esi, dword [edx + 0x3e58]
xorps xmm4, xmm4
mov dword [edx + 0x4154], 7
movss xmm0, dword [edx + 0x2ea4]
comiss xmm4, xmm0
ja 0x41b8c1
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x41b8ba
movss xmm2, dword [edx + 0x34]
comiss xmm0, xmm2
jbe 0x41b8c1
movss xmm3, dword [edx + 0x38]
movaps xmm1, xmm0
subss xmm1, dword [edx + 0x18]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x41b8ba
comiss xmm1, xmm0
jae 0x41b8c1
comiss xmm4, xmm3
jb 0x41b888
comiss xmm2, xmm1
jbe 0x41b8c1
comiss xmm0, xmm2
jb 0x41b8c1
jmp 0x41b8ba
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x41b87f
cmp byte [eax + 0x8f], 0
jne 0x41b881
mov eax, ecx
mov ecx, eax
jmp 0x41b72c
comiss xmm2, xmm1
jbe 0x41b892
or ecx, 0xffffffff
jmp 0x41b89e
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si ecx, xmm1
comiss xmm2, xmm0
jbe 0x41b8a8
or eax, 0xffffffff
jmp 0x41b8b4
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si eax, xmm0
sub eax, ecx
test eax, eax
jle 0x41b8c1
mov byte [edx + 0x527c], 0
movss xmm0, dword [edx + 0x36a0]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x41b8e3
test esi, esi
je 0x41b8e3
mov dword [edx + 0x5280], esi
mov byte [edx + 0x527c], 0
or dword [edx + 0x3f18], 0x40
xor ecx, ecx
mov dword [edx + 0x3f6c], 0x3f19999a
call fcn.004244b0
push esi
push str.HoveredId:_0x_08X
call fcn.0043d650
push str.Press_ESC_to_abort_picking.
call fcn.0043d650
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test esi, esi
cmove ecx, eax
mov eax, dword [0x493db8]
add eax, 0x3878
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.0043d740
add esp, 8
call fcn.004228f0
mov edx, dword [0x493db8]
mov esi, edx
mov dword [esi + 0x3e50], 0
mov eax, dword [esi + 0x5294]
inc eax
cmp dword [esi + 0x3dd0], eax
jne 0x41ba51
mov ebx, dword [esi + 0x3e58]
test ebx, ebx
jne 0x41b973
mov ebx, dword [esi + 0x3e68]
cmp dword [esi + 0x529c], ebx
je 0x41b9c6
lea eax, [esi + 0x52a0]
mov dword [esi + 0x529c], ebx
mov dword [esi + 0x5298], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x41b9c0
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 + 0x52a0]
call fcn.0042a900
mov edx, dword [0x493db8]
lea eax, [esi + 0x52a0]
mov dword [eax], 0
test ebx, ebx
je 0x41ba51
mov eax, dword [esi + 0x5298]
test eax, eax
js 0x41ba1a
mov ecx, eax
cmp eax, dword [esi + 0x52a0]
jge 0x41ba2d
mov edx, dword [esi + 0x52a8]
lea ecx, [eax + eax*8]
cmp byte [edx + ecx*8 + 5], 0
mov edx, dword [0x493db8]
jne 0x41ba13
mov edi, dword [esi + 0x52a8]
lea edx, [eax + eax*8]
mov ecx, eax
cmp byte [edi + edx*8 + 4], 2
mov edi, dword [ebp - 0x14]
mov edx, dword [0x493db8]
jle 0x41ba2d
inc eax
mov dword [esi + 0x5298], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x41ba29
mov dword [esi + 0x3e50], ebx
jmp 0x41ba51
test ecx, ecx
js 0x41ba51
cmp ecx, dword [esi + 0x52a0]
jge 0x41ba51
mov eax, dword [esi + 0x52a8]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3e50], eax
mov eax, dword [esi + 0x52a8]
inc byte [eax + ecx*8 + 4]
mov byte [edi + 0x3ddd], 1
mov ecx, str.DebugDefault
or dword [edx + 0x3f18], 2
mov dword [edx + 0x3f38], 0x43c80000
mov dword [edx + 0x3f3c], 0x43c80000
mov dword [edx + 0x3f20], 4
xor edx, edx
push 0
call fcn.004202a0
xor esi, esi
add esp, 4
cmp dword [edi + 0x5238], esi
jle 0x41bac4
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x5240]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x41bab8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5238]
jl 0x41baa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret