Function at 0x1005c5e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
push ebx
mov ebx, dword [0x101023d4]
xor edx, edx
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x1c], ebx
call fcn.1005b6a0
mov esi, dword [0x101023d4]
cmp byte [esi + 0xb3], 0
je 0x1005c61b
test byte [esi + 0xc], 2
jne 0x1005c61b
mov byte [esi + 0xb3], 0
cmp byte [esi + 0x2eb9], 0
jne 0x1005c679
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1005c672
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov edx, 0x100f0530
call fcn.10058830
mov edi, eax
test edi, edi
je 0x1005c672
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.100693e0
mov ecx, dword [0x101023d4]
test ecx, ecx
je 0x1005c665
dec dword [ecx + 0x370]
mov edx, dword [0x101023cc]
mov ecx, edi
call fcn.10057c90
mov byte [esi + 0x2eb9], 1
movss xmm0, dword [esi + 0x2ebc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1005c704
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2ebc], xmm0
jb 0x1005c704
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1005c6f3
mov eax, dword [0x101023d4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [eax + 0x2ebc], 0
call fcn.10069680
mov edx, 0x100f0534
mov dword [esp + 0x18], eax
mov ecx, edi
call fcn.10058760
mov edi, eax
test edi, edi
je 0x1005c6fa
push edi
push dword [esp + 0x14]
push 1
push dword [esp + 0x24]
call fcn.100ba4c6
push edi
call fcn.100b919b
add esp, 0x14
jmp 0x1005c6fa
mov byte [esi + 0x358], 1
mov dword [esi + 0x2ebc], 0
movss xmm1, dword [ebx + 0x18]
inc dword [ebx + 0x1a10]
cvtps2pd xmm0, xmm1
mov byte [ebx + 0x1a1c], 1
mov dword [ebx + 0x2e88], 0
mov dword [ebx + 0x1a68], 0
addsd xmm0, qword [ebx + 0x1a08]
movsd qword [ebx + 0x1a08], xmm0
mov ecx, dword [ebx + 0x2ea0]
test ecx, ecx
jns 0x1005c768
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, [ebx + 0x2e9c]
call fcn.10039ad0
movss xmm1, dword [ebx + 0x18]
mov dword [ebx + 0x2e9c], 0
movaps xmm0, xmm1
mov eax, dword [ebx + 0x3120]
mov ecx, 0x78
subss xmm0, dword [ebx + eax*4 + 0x2f40]
addss xmm0, dword [ebx + 0x3124]
movss dword [ebx + 0x3124], xmm0
movss dword [ebx + eax*4 + 0x2f40], xmm1
mov eax, dword [ebx + 0x3120]
inc eax
movss xmm1, dword [ebx + 0x3124]
cdq
idiv ecx
comiss xmm1, dword [0x100f6140]
mov dword [ebx + 0x3120], edx
movss xmm0, dword [0x100f63ac]
movss dword [esp + 0x10], xmm0
jbe 0x1005c7dd
movss xmm0, dword [0x100f6338]
divss xmm0, xmm1
mov eax, dword [ebx + 0x98]
movss dword [ebx + 0x35c], xmm0
mov byte [eax], 1
mov eax, dword [0x101023d4]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
jne 0x1005c808
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call fcn.100637a0
movss xmm0, dword [ebx + 0x10]
mov edi, 0x200
mov eax, dword [ebx + 0x15d4]
movss xmm1, dword [ebx + 0x15d8]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
movups xmm0, xmmword [esp + 0x20]
mov dword [ebx + 0x1948], eax
movups xmmword [ebx + 0x1950], xmm0
movss xmm0, dword [ebx + 0x194c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005c8de
movss dword [ebx + 0x194c], xmm1
xor esi, esi
nop dword [eax]
nop word [eax + eax]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x100f6254]
movaps xmm0, xmm1
subss xmm0, dword [ebx + 0x194c]
divss xmm0, xmm1
call fcn.100d772e
movss xmm1, dword [0x100f62d8]
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x1005c8bf
mov edx, 0xc
jmp 0x1005c8c4
cmp edx, edi
cmovg edx, edi
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
mov byte [ebx + esi + 0x19c4], cl
inc esi
cmp esi, 0x40
jl 0x1005c880
xor edx, edx
mov dword [ebx + 0x1960], 0
cmp byte [ebx + 0x15d0], dl
je 0x1005c901
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x1005c924
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax + 4], 4
jne 0x1005c924
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x1005c936
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x1005c945
or ecx, 8
mov dword [ebx + 0x1960], ecx
lea edi, [ebx + 0x1d48]
mov ecx, edi
call fcn.100726e0
mov eax, dword [ebx + 0x98]
lea esi, [edi + 0x48]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
cmp edx, ecx
jne 0x1005c997
lea edi, [edx + 1]
test ecx, ecx
je 0x1005c97d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1005c982
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10039ad0
mov edx, dword [esi]
lea edi, [ebx + 0x1d48]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
inc dword [esi]
mov dword [edi + 0x70], ecx
mov ecx, edi
call fcn.10072ad0
mov ecx, edi
call fcn.10072c90
lea esi, [ebx + 0x1dd4]
mov ecx, esi
call fcn.100726e0
mov eax, dword [ebx + 0x98]
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x4c]
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
cmp ecx, edi
jne 0x1005ca02
inc ecx
test edi, edi
je 0x1005c9e8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1005c9ed
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.10039ad0
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x50]
mov dword [eax + ecx*4], edx
lea ecx, [ebx + 0x1dd4]
inc dword [esi + 0x48]
mov dword [ebx + 0x1e44], edx
call fcn.10072ad0
lea ecx, [ebx + 0x1dd4]
call fcn.10072c90
mov esi, dword [0x101023d4]
mov dword [ebx + 0x1d24], 0
mov eax, dword [ebx + 0x1d24]
mov dword [ebx + 0x1d1c], eax
mov dword [ebx + 0x1d28], 0
mov eax, dword [ebx + 0x1d28]
mov dword [ebx + 0x1d20], eax
mov eax, dword [ebx + 0x1d24]
mov dword [ebx + 0x1d14], eax
mov eax, dword [ebx + 0x1d28]
mov byte [ebx + 0x1d00], 0
mov dword [ebx + 0x1d04], 0
mov dword [ebx + 0x1d0c], 0
mov dword [ebx + 0x1d10], 0
mov dword [ebx + 0x1d08], 0
mov dword [ebx + 0x1d18], eax
cmp byte [ebx + 0x1e64], 0
je 0x1005cad4
mov eax, dword [ebx + 0x1e7c]
cmp eax, dword [ebx + 0x1aa4]
jne 0x1005cad4
cmp dword [esi + 0x1aa4], eax
jne 0x1005cac5
mov dword [esi + 0x1aa8], eax
cmp dword [esi + 0x1adc], eax
jne 0x1005cad4
mov byte [esi + 0x1ae0], 1
cmp dword [ebx + 0x1a94], 0
mov eax, dword [ebx + 0x1a90]
jne 0x1005caef
mov dword [ebx + 0x1a9c], 0
jmp 0x1005cafd
mov ecx, eax
test eax, eax
je 0x1005cb09
cmp dword [ebx + 0x1aa4], eax
jne 0x1005cb09
mov dword [ebx + 0x1aa0], 0
mov ecx, eax
movss xmm2, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1aa4]
test ecx, ecx
je 0x1005cb42
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1a9c]
movss dword [ebx + 0x1a9c], xmm0
cmp eax, ecx
je 0x1005cb42
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1aa0]
movss dword [ebx + 0x1aa0], xmm0
movaps xmm1, xmm2
mov dword [ebx + 0x1a94], ecx
mov ecx, eax
mov dword [ebx + 0x1a90], 0
mov word [ebx + 0x1a98], 0
cmp dword [ebx + 0x1aa8], eax
je 0x1005cb84
cmp dword [ebx + 0x1adc], eax
jne 0x1005cb84
test eax, eax
je 0x1005cb84
call fcn.1005b1a0
mov ecx, dword [ebx + 0x1aa4]
movss xmm1, dword [ebx + 0x18]
test ecx, ecx
je 0x1005cb9b
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1aac]
movss dword [ebx + 0x1aac], xmm0
mov eax, dword [ebx + 0x1ad0]
addss xmm1, dword [ebx + 0x1aec]
mov dword [ebx + 0x1ae4], eax
mov al, byte [ebx + 0x1ab4]
mov byte [ebx + 0x1ae1], al
mov eax, dword [ebx + 0x2e48]
movss dword [ebx + 0x1aec], xmm1
mov dword [ebx + 0x1adc], ecx
mov dword [ebx + 0x1aa8], 0
mov byte [ebx + 0x1ab5], 0
mov byte [ebx + 0x1ae0], 0
mov byte [ebx + 0x1ab0], 0
test eax, eax
je 0x1005cc00
cmp ecx, eax
je 0x1005cc00
mov dword [ebx + 0x2e48], 0
test ecx, ecx
jne 0x1005cc1c
mov dword [ebx + 0x1ab8], ecx
mov dword [ebx + 0x1abc], ecx
mov dword [ebx + 0x1ac0], ecx
mov dword [ebx + 0x1ac4], ecx
mov eax, dword [ebx + 0x1ec8]
lea edi, [ebx + 0xc58]
mov dword [ebx + 0x1ecc], eax
xor eax, eax
mov dword [ebx + 0x1ec8], 0
mov dword [ebx + 0x1ec4], 0x7f7fffff
mov word [ebx + 0x1e65], 0
mov dword [ebx + 0x1ed4], 0
cmp byte [esi + 0xfc], al
movss xmm2, dword [0x100f63e4]
setne al
mov ecx, eax
or ecx, 2
cmp byte [esi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [esi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [esi + 0xff], 0
cmove eax, edx
lea edx, [ebx + 0x458]
mov esi, edx
mov dword [ebx + 0x37c], eax
rep movsd dword es:[edi], dword [esi]
xor eax, eax
nop dword [eax]
cmp byte [ebx + eax + 0x100], 0
je 0x1005ccd1
movss xmm1, dword [edx]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1005ccd4
movss xmm0, dword [ebx + 0x18]
addss xmm0, xmm1
jmp 0x1005ccd4
movaps xmm0, xmm2
movss dword [edx], xmm0
inc eax
add edx, 4
cmp eax, 0x200
jl 0x1005ccb0
call fcn.100664f0
call fcn.1005bb50
call fcn.1005c410
call fcn.1005b6e0
mov edi, dword [0x101023d4]
mov dword [esp + 0xc], edi
mov edx, dword [edi + 0x1bac]
sub edx, 1
js 0x1005cd37
mov eax, dword [edi + 0x1bb4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop dword [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005cd2f
test dword [ecx + 8], 0x8000000
jne 0x1005cd51
sub eax, 0x24
sub edx, 1
jns 0x1005cd20
cmp dword [ebx + 0x1ccc], 0
je 0x1005cd70
movss xmm0, dword [ebx + 0x1cdc]
comiss xmm0, dword [0x100f6140]
jbe 0x1005cd70
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x100f62d4]
addss xmm1, dword [ebx + 0x1d44]
minss xmm1, dword [0x100f6254]
jmp 0x1005cd91
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100f62e8]
movss xmm1, dword [ebx + 0x1d44]
subss xmm1, xmm0
maxss xmm1, dword [0x100f6140]
movss dword [ebx + 0x1d44], xmm1
mov dword [ebx + 0x1e60], 0
mov dword [ebx + 0x3130], 0xffffffff
mov dword [ebx + 0x312c], 0xffffffff
mov dword [ebx + 0x3128], 0xffffffff
mov dword [ebx + 0x2ea8], 0x3f800000
mov dword [ebx + 0x2eac], 0x3f800000
call fcn.1005bee0
mov esi, dword [edi + 0x1bc4]
test esi, esi
je 0x1005ce15
cmp byte [esi + 0x82], 0
je 0x1005ce15
test dword [esi + 8], 0x40000
jne 0x1005ce15
cmp byte [edi + 0xfc], 0
jne 0x1005ce15
mov ecx, dword [edi + 0x34]
test ecx, ecx
js 0x1005ce15
mov dl, 1
call fcn.1005e980
test al, al
je 0x1005ce15
mov al, dl
jmp 0x1005ce17
xor al, al
cmp dword [edi + 0x1aa4], 0
mov byte [edi + 0x1cfc], al
jne 0x1005ce76
test al, al
je 0x1005ce76
cmp dword [edi + 0x1bc8], 0
mov dword [edi + 0x1ce8], esi
mov dword [edi + 0x1cf4], 0x7fffffff
je 0x1005ce65
mov ecx, dword [edi + 0x1c10]
cmp ecx, 0x7fffffff
je 0x1005ce65
xor edx, edx
mov eax, 2
cmp byte [edi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x1005ce70
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
mov dword [edi + 0x1cf8], eax
mov esi, dword [edi + 0x1ce8]
mov dword [edi + 0x1ce4], 0
mov dword [edi + 0x1cf0], 0x7fffffff
mov dword [edi + 0x1cec], 0x7fffffff
test esi, esi
je 0x1005cf0a
mov eax, dword [edi + 0x1cf4]
mov dword [edi + 0x1ce4], esi
cmp eax, 0x7fffffff
je 0x1005cec8
mov ecx, dword [esi + 0x1a4]
cmp ecx, 0xffffffff
je 0x1005cec8
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [edi + 0x1cec], edx
mov eax, dword [edi + 0x1cf8]
cmp eax, 0x7fffffff
je 0x1005ceec
mov ecx, dword [esi + 0x1a8]
cmp ecx, 0xffffffff
je 0x1005ceec
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [edi + 0x1cf0], edx
mov dword [edi + 0x1ce8], 0
mov dword [edi + 0x1cf8], 0x7fffffff
mov dword [edi + 0x1cf4], 0x7fffffff
mov dword [edi + 0x1c10], 0x7fffffff
cmp byte [ebx + 0x1a1f], 0
jne 0x1005cf45
movss xmm0, dword [ebx + 0xb8]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1005cf45
movsd xmm1, qword [ebx + 0x1a08]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x1005cf4d
movss xmm1, dword [0x100f63ac]
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [ebx + 0x1a2c], esi
je 0x1005d0fd
nop
mov eax, dword [ebx + 0x1a34]
xor ecx, ecx
mov esi, dword [eax + esi*4]
mov al, byte [esi + 0x82]
mov byte [esi + 0x83], al
mov word [esi + 0x8e], cx
mov byte [esi + 0x82], cl
mov byte [esi + 0x84], cl
test al, al
jne 0x1005d0de
cmp byte [esi + 0x358], cl
jne 0x1005d0de
comiss xmm1, dword [esi + 0x25c]
jbe 0x1005d0de
mov ecx, dword [esi + 0x284]
mov byte [esi + 0x358], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x350], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x354], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x1005d007
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test edi, edi
je 0x1005cff2
dec dword [edi + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x284]
call fcn.10072830
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x1005d054
mov eax, dword [0x101023d4]
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
test eax, eax
je 0x1005d03f
dec dword [eax + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0x18c], 0
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x1005d096
mov eax, dword [0x101023d4]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x1005d081
dec dword [eax + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0x1c0], 0
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x1005d0d8
mov eax, dword [0x101023d4]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
test eax, eax
je 0x1005d0c3
dec dword [eax + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0x1cc], 0
mov edi, dword [0x101023d4]
mov esi, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [ebx + 0x1a2c]
jne 0x1005cf60
mov dword [esp + 0xc], edi
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [ebx + 0x1f20], ecx
jle 0x1005d26f
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x18], edx
nop dword [eax + eax]
mov eax, dword [ebx + 0x1f28]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1005d254
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm0
jbe 0x1005d254
mov esi, dword [ebx + 0x1f00]
add esi, edx
lea ecx, [esi + 0x194]
call fcn.10075060
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1005d198
mov eax, dword [0x101023d4]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x1005d183
dec dword [eax + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov byte [esi + 0x1e6], 1
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x1005d1eb
mov eax, dword [0x101023d4]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x1005d1d6
dec dword [eax + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0x190], 0
xor ecx, ecx
mov byte [esi + 0x1ef], 1
cmp dword [esi + 0x54], ecx
jle 0x1005d219
xor edx, edx
or edi, 0xffffffff
nop
mov eax, dword [esi + 0xc]
lea edx, [edx + 0x6c]
inc ecx
mov word [eax + edx - 0x18], di
cmp ecx, dword [esi + 0x54]
jl 0x1005d200
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
sub esi, dword [edi + 0x1f00]
mov eax, 0x82082083
imul esi
xorps xmm1, xmm1
mov eax, dword [edi + 0x1f28]
mov edi, dword [0x101023d4]
add edx, esi
sar edx, 8
mov ecx, edx
mov dword [esp + 0xc], edi
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x14]
inc ecx
add edx, 0x1f8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
cmp ecx, dword [ebx + 0x1f20]
jl 0x1005d120
cmp byte [ebx + 0x1a1f], 0
je 0x1005d309
mov esi, edi
mov ecx, dword [esi + 0x1b9c]
test ecx, ecx
je 0x1005d2c1
mov dword [esi + 0x1b98], 0
mov dword [esi + 0x1b94], 0
test esi, esi
je 0x1005d2a6
dec dword [esi + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov edi, dword [0x101023d4]
mov dword [esi + 0x1b9c], 0
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x1005d2fe
mov dword [esi + 0x1ba4], 0
mov dword [esi + 0x1ba0], 0
test edi, edi
je 0x1005d2e9
dec dword [edi + 0x370]
mov edx, dword [0x101023cc]
call fcn.10057c90
mov dword [esi + 0x1ba8], 0
call fcn.1003c110
mov edi, dword [0x101023d4]
mov eax, dword [ebx + 0x1bc4]
mov byte [ebx + 0x1a1f], 0
test eax, eax
je 0x1005d386
cmp byte [eax + 0x83], 0
jne 0x1005d386
mov ecx, dword [edi + 0x1a38]
sub ecx, 1
mov dword [esp + 0x18], ecx
js 0x1005d37f
mov eax, dword [edi + 0x1a40]
lea edi, [eax + ecx*4]
nop dword [eax + eax]
mov esi, dword [edi]
test esi, esi
je 0x1005d373
cmp byte [esi + 0x83], 0
je 0x1005d373
mov eax, dword [esi + 8]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [esi + 8], 0x18
setae al
test al, cl
jne 0x1005d589
mov ecx, dword [esp + 0x18]
dec ecx
sub edi, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jns 0x1005d340
xor ecx, ecx
call fcn.10063560
mov ecx, dword [ebx + 0x1a54]
test ecx, ecx
jns 0x1005d3ac
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, [ebx + 0x1a50]
call fcn.10039ad0
mov dword [ebx + 0x1a50], 0
mov ecx, dword [ebx + 0x1bbc]
test ecx, ecx
jns 0x1005d3dc
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, [ebx + 0x1bb8]
call fcn.1006a540
lea esi, [ebx + 0x1b94]
mov dword [ebx + 0x1bb8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005d40e
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.10039ad0
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], 0
test ecx, ecx
jne 0x1005d425
push 8
mov ecx, esi
call fcn.10039ad0
mov edx, dword [esi]
mov eax, dword [esi + 8]
lea ecx, [ebx + 0x1ba0]
push 0
mov dword [eax + edx*4], 0
inc dword [esi]
call fcn.1006a040
mov ecx, dword [ebx + 0x1bc4]
xor dl, dl
call fcn.10065010
mov esi, dword [0x101023d4]
cmp byte [esi + 0x2f28], 0
mov dword [esi + 0x2f2c], 0
je 0x1005d51a
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1a94]
mov dword [esi + 0x1e60], 7
test ecx, ecx
js 0x1005d491
mov dl, 1
call fcn.1005e980
test al, al
je 0x1005d491
mov byte [esi + 0x2f28], 0
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x100f6140]
lahf
test ah, 0x44
jp 0x1005d4b7
test edi, edi
je 0x1005d4b7
mov dword [esi + 0x2f2c], edi
mov byte [esi + 0x2f28], 0
or dword [esi + 0x1af0], 0x40
xor edx, edx
xor ecx, ecx
mov dword [esi + 0x1b44], 0x3f19999a
call fcn.10064d00
push edi
push str.HoveredId:_0x_08X
call fcn.1007bb80
push str.Press_ESC_to_abort_picking.
call fcn.1007bb80
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x101023d4]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.1007bc20
add esp, 8
call fcn.100634d0
mov esi, dword [0x101023d4]
mov byte [ebx + 0x1a1d], 1
xor edx, edx
or dword [esi + 0x1af0], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1b10], 0x43c80000
mov dword [esi + 0x1b14], 0x43c80000
mov dword [esi + 0x1af8], 4
call fcn.10061270
xor edi, edi
cmp dword [ebx + 0x2ef0], edi
jle 0x1005d582
xor esi, esi
mov eax, dword [ebx + 0x2ef8]
add eax, esi
cmp dword [eax], 1
jne 0x1005d576
mov edx, eax
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
inc edi
add esi, 0x10
cmp edi, dword [ebx + 0x2ef0]
jl 0x1005d560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x324]
test ecx, ecx
je 0x1005d5a0
cmp byte [ecx + 0x83], 0
jne 0x1005d381
mov ecx, esi
jmp 0x1005d381