Function at 0x10024b50
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x1005edc0]
push esi
push edi
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebx + 0x2da0]
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
test eax, eax
js 0x10024be4
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x2da8]
cmp dword [ecx + edi + 4], 7
jne 0x10024bd3
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, edi
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 [ebx + 0x2da0]
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 - 4]
add esp, 0xc
dec dword [ebx + 0x2da0]
mov ecx, dword [ebx + 0x2da0]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x10024b80
xor esi, esi
test ecx, ecx
jle 0x10024c14
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2da8]
add eax, edi
cmp dword [eax + 4], 0
jne 0x10024c08
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2da0]
jl 0x10024bf0
mov eax, dword [0x1005edc0]
cmp byte [eax + 0xb4], 0
je 0x10024c2f
test byte [eax + 0xc], 2
jne 0x10024c2f
mov byte [eax + 0xb4], 0
mov esi, dword [0x1005edc0]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp byte [esi + 0x2d69], 0
jne 0x10024d43
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10024d3c
push 0x10053cf8
push eax
call fcn.1001fd50
mov edi, eax
add esp, 8
test edi, edi
je 0x10024d36
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10024df8
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10024df8
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10024df8
push 0
push dword [ebp - 8]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10024df8
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10024cd3
inc dword [eax + 0x370]
push dword [0x1005edc8]
push dword [ebp - 4]
call dword [0x1005e260]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x10024df8
push edi
push dword [ebp - 4]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, dword [ebp - 4]
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push edi
je 0x10024dcd
call eax
mov eax, dword [0x1005edc0]
add esp, 4
test eax, eax
je 0x10024d23
dec dword [eax + 0x370]
push dword [0x1005edc8]
mov edi, dword [ebp - 8]
push edi
call dword [0x1005e264]
add esp, 8
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [esi + 0x2d69], 1
movss xmm1, dword [esi + 0x2d6c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10024e1a
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x2d6c], xmm1
jb 0x10024e1a
mov eax, dword [esi + 0x20]
mov dword [ebp - 4], eax
test eax, eax
je 0x10024e09
mov eax, dword [0x1005edc0]
mov dword [ebp - 8], 0
mov dword [eax + 0x2d6c], 0
lea eax, [ebp - 8]
push eax
call fcn.10028d50
push 0x10053cfc
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.1001fd50
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x10024e10
push eax
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 dword [ebp - 4]
call edi
add esp, 0x14
jmp 0x10024e10
call eax
push dword [ebp - 4]
mov edi, dword [ebp - 8]
push edi
call fcn.10021600
mov eax, dword [0x1005edc0]
add esp, 0xc
test eax, eax
je 0x10024ded
dec dword [eax + 0x370]
push dword [0x1005edc8]
jmp 0x10024d2c
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call edi
add esp, 4
jmp 0x10024d3c
mov byte [esi + 0x358], 1
mov dword [esi + 0x2d6c], 0
movss xmm1, dword [ebx + 0x18]
inc dword [ebx + 0x1a10]
cvtps2pd xmm0, xmm1
mov byte [ebx + 0x1a1c], 1
mov dword [ebx + 0x2d38], 0
mov dword [ebx + 0x1a68], 0
addsd xmm0, qword [ebx + 0x1a08]
movsd qword [ebx + 0x1a08], xmm0
mov ecx, dword [ebx + 0x2d50]
test ecx, ecx
jns 0x10024e7e
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 + 0x2d4c]
call fcn.1002c2f0
movss xmm1, dword [ebx + 0x18]
mov dword [ebx + 0x2d4c], 0
movaps xmm0, xmm1
mov eax, dword [ebx + 0x2fdc]
mov ecx, 0x78
movss xmm2, dword [0x10053e08]
xorps xmm4, xmm4
movss xmm3, dword [0x10053dac]
movss dword [ebp - 4], xmm2
subss xmm0, dword [ebx + eax*4 + 0x2dfc]
addss xmm0, dword [ebx + 0x2fe0]
movss dword [ebx + 0x2fe0], xmm0
movss dword [ebx + eax*4 + 0x2dfc], xmm1
mov eax, dword [ebx + 0x2fdc]
inc eax
movss xmm1, dword [ebx + 0x2fe0]
cdq
idiv ecx
comiss xmm1, xmm4
mov dword [ebx + 0x2fdc], edx
jbe 0x10024efe
divss xmm1, dword [0x10053df4]
movaps xmm0, xmm3
divss xmm0, xmm1
jmp 0x10024f01
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edi, edi
mov esi, dword [0x1005edc0]
mov eax, dword [esi + 0x1bcc]
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 + 0x1bc4], edi
jle 0x10025026
nop word [eax + eax]
mov eax, dword [esi + 0x1bcc]
movaps xmm2, xmm4
mov edx, dword [eax + edi*4]
inc edi
mov ecx, dword [edx + 0x8c]
mov eax, dword [edx + 0x88]
mov dword [edx + 0x7c], ecx
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x90]
movss xmm1, dword [edx + 0x78]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [edx + 0x78]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm4
mov dword [edx + 0x90], 0
addss xmm0, dword [edx + 0x80]
mov eax, dword [edx + 0x90]
mov dword [edx + 0x94], 0
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x88], eax
maxss xmm2, xmm0
mov dword [edx + 0x8c], ecx
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
movss dword [edx + 0x1c], xmm2
addss xmm0, dword [edx + 0x84]
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp edi, dword [esi + 0x1bc4]
jl 0x10024f50
movss xmm2, dword [0x10053e08]
movss xmm3, dword [0x10053dac]
mov eax, dword [ebx + 0x98]
mov byte [eax], 1
mov esi, dword [0x1005edc0]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x1002504a
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
mov ecx, dword [esi + 0x1a6c]
movaps xmm0, xmm3
mov dword [esi + 0x192c], edi
movss xmm1, dword [edi + 0x10]
mulss xmm1, dword [esi + 0x9c]
mulss xmm1, dword [edi + 0x40]
maxss xmm0, xmm1
movss dword [esi + 0x1934], xmm0
test ecx, ecx
je 0x100250a2
mov eax, dword [0x1005edc0]
movss xmm4, dword [ecx + 0x280]
mulss xmm4, dword [eax + 0x1934]
mov eax, dword [ecx + 0x31c]
test eax, eax
je 0x100250a2
mulss xmm4, dword [eax + 0x280]
movss dword [esi + 0x1930], xmm4
movaps xmm7, xmm2
mov edx, dword [edi + 0x30]
movaps xmm6, xmm2
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x1938], eax
lea eax, [edx + 0x58]
movss dword [esi + 0x1944], xmm4
movss xmm4, dword [0x10053e14]
mov dword [esi + 0x193c], ecx
movaps xmm5, xmm4
mov dword [esi + 0x1a04], eax
mov dword [esi + 0x1940], edi
mov edx, dword [ebx + 0x1bc4]
test edx, edx
jle 0x10025144
mov ecx, dword [ebx + 0x1bcc]
nop word [eax + eax]
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 0x10025124
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1002512c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10025134
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1002513c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10025100
mov eax, dword [ebx + 0x15d4]
movss dword [ebp - 0x1c], xmm7
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x10], xmm5
movups xmm0, xmmword [ebp - 0x1c]
push ecx
lea ecx, [ebx + 0x1938]
mov dword [ebx + 0x1948], eax
movups xmmword [ebx + 0x1950], xmm0
movss xmm0, dword [ebx + 0x15d8]
movss dword [esp], xmm0
call fcn.10043be0
xor edx, edx
mov dword [ebx + 0x1960], 0
cmp byte [ebx + 0x15d0], dl
je 0x100251ab
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x100251ce
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax + 4], 4
jne 0x100251ce
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x100251e0
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x100251ef
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1bc4], esi
jle 0x10025222
nop dword [eax]
mov eax, dword [ebx + 0x1bcc]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x34
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0x1bc4]
jl 0x10025200
cmp byte [ebx + 0x1d14], 0
je 0x1002525c
mov eax, dword [ebx + 0x1d2c]
cmp eax, dword [ebx + 0x1aa4]
jne 0x1002525c
mov ecx, dword [0x1005edc0]
cmp dword [ecx + 0x1aa4], eax
jne 0x1002524d
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x1002525c
mov byte [ecx + 0x1ae0], 1
cmp dword [ebx + 0x1a94], 0
mov eax, dword [ebx + 0x1a90]
jne 0x10025277
mov dword [ebx + 0x1a9c], 0
jmp 0x10025285
mov edx, eax
test eax, eax
je 0x10025291
cmp dword [ebx + 0x1aa4], eax
jne 0x10025291
mov dword [ebx + 0x1aa0], 0
mov edx, eax
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1aa4]
test edx, edx
je 0x100252ca
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1a9c]
movss dword [ebx + 0x1a9c], xmm0
cmp ecx, edx
je 0x100252ca
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1aa0]
movss dword [ebx + 0x1aa0], xmm0
movaps xmm1, xmm2
mov al, byte [ebx + 0x1a99]
mov dword [ebx + 0x1a94], edx
mov edx, ecx
mov byte [ebx + 0x1a9a], al
mov dword [ebx + 0x1a90], 0
mov word [ebx + 0x1a98], 0
mov byte [ebx + 0x1a9b], 0
cmp dword [ebx + 0x1aa8], ecx
je 0x1002531f
cmp dword [ebx + 0x1adc], ecx
jne 0x1002531f
test ecx, ecx
je 0x1002531f
call fcn.1001d190
mov edx, dword [ebx + 0x1aa4]
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x10025336
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 + 0x2cf8]
movss dword [ebx + 0x1aec], xmm1
mov dword [ebx + 0x1adc], edx
mov dword [ebx + 0x1aa8], 0
mov byte [ebx + 0x1ab5], 0
mov byte [ebx + 0x1ae0], 0
mov byte [ebx + 0x1ab0], 0
test eax, eax
je 0x1002539b
cmp edx, eax
je 0x1002539b
mov dword [ebx + 0x2cf8], 0
test edx, edx
jne 0x100253b7
mov dword [ebx + 0x1ab8], edx
mov dword [ebx + 0x1abc], edx
mov dword [ebx + 0x1ac0], edx
mov dword [ebx + 0x1ac4], edx
mov eax, dword [ebx + 0x1d78]
lea edi, [ebx + 0xc58]
mov dword [ebx + 0x1d7c], eax
xor eax, eax
mov dword [ebx + 0x1d78], 0
mov dword [ebx + 0x1d74], 0x7f7fffff
mov word [ebx + 0x1d15], 0
mov dword [ebx + 0x1d84], 0
mov esi, dword [0x1005edc0]
movss xmm2, dword [0x10053e0c]
cmp byte [esi + 0xfc], al
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
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x458]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax]
cmp byte [ebx + ecx + 0x100], 0
je 0x10025472
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1002546b
xorps xmm0, xmm0
jmp 0x10025475
addss xmm0, dword [ebx + 0x18]
jmp 0x10025475
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10025450
call fcn.10022970
call fcn.1002a390
call fcn.1002a1c0
mov esi, dword [0x1005edc0]
mov ecx, dword [esi + 0x1a7c]
test ecx, ecx
je 0x100255a7
mov eax, dword [esi + 0x1aa4]
mov dword [esi + 0x1aa8], eax
cmp dword [esi + 0x1adc], eax
jne 0x100254c3
mov byte [esi + 0x1ae0], 1
cmp byte [esi + 0xec], 0
mov edi, dword [ecx + 0x320]
je 0x10025596
mov edx, dword [0x1005edc0]
lea eax, [esi + 0xe4]
test eax, eax
je 0x100254eb
mov dword [ebp - 8], eax
jmp 0x100254f4
lea ebx, [edx + 0xe4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
movss xmm1, dword [0x10053e10]
movss xmm0, dword [ebx]
comiss xmm0, xmm1
movss xmm2, dword [ebx + 4]
mov ebx, dword [ebp - 0xc]
jb 0x10025596
comiss xmm2, xmm1
jb 0x10025596
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1ac8]
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1acc]
ucomiss xmm0, xmm1
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm2
lahf
test ah, 0x44
jp 0x10025558
movss xmm0, dword [edi + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002558b
test dword [edi + 8], 0x100
jne 0x10025576
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x2d6c]
jb 0x10025576
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2d6c], eax
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.100295c0
mov ecx, dword [esi + 0x1a7c]
add esp, 0xc
push ecx
call fcn.1001ef00
add esp, 4
jmp 0x100255df
call fcn.1001d190
mov dword [esi + 0x1a7c], 0
jmp 0x100255df
mov ecx, dword [esi + 0x1ad0]
test ecx, ecx
je 0x100255df
mov eax, dword [esi + 0x1aa4]
cmp dword [ecx + 0x50], eax
jne 0x100255df
mov dword [esi + 0x1aa8], eax
cmp dword [esi + 0x1adc], eax
jne 0x100255d1
mov byte [esi + 0x1ae0], 1
cmp byte [esi + 0xec], 0
jne 0x100255df
call fcn.1001d190
mov eax, dword [0x1005edc0]
mov edx, dword [eax + 0x1bac]
sub edx, 1
js 0x10025617
mov eax, dword [eax + 0x1bb4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x1002560f
test dword [ecx + 8], 0x8000000
jne 0x10025631
sub eax, 0x24
sub edx, 1
jns 0x10025600
cmp dword [ebx + 0x1cd8], 0
je 0x10025650
movss xmm0, dword [ebx + 0x1ce8]
comiss xmm0, dword [0x10053d60]
jbe 0x10025650
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x10053dd0]
addss xmm1, dword [ebx + 0x1d0c]
minss xmm1, dword [0x10053dac]
jmp 0x10025671
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10053dd8]
movss xmm1, dword [ebx + 0x1d0c]
subss xmm1, xmm0
maxss xmm1, dword [0x10053d60]
movss dword [ebx + 0x1d0c], xmm1
mov dword [ebx + 0x1d10], 0
mov dword [ebx + 0x2fec], 0xffffffff
mov dword [ebx + 0x2fe8], 0xffffffff
mov dword [ebx + 0x2fe4], 0xffffffff
mov dword [ebx + 0x2d58], 0x3f800000
mov dword [ebx + 0x2d5c], 0x3f800000
call fcn.1002a9d0
mov esi, dword [0x1005edc0]
mov ecx, dword [esi + 0x1bd0]
test ecx, ecx
je 0x1002579b
cmp byte [ecx + 0x8a], 0
je 0x1002579b
test dword [ecx + 8], 0x40000
jne 0x1002579b
cmp byte [esi + 0xfc], 0
jne 0x1002579b
mov eax, dword [esi + 0x34]
xorps xmm1, xmm1
test eax, eax
js 0x1002579e
movss xmm0, dword [esi + eax*4 + 0x458]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10025797
movss xmm3, dword [esi + 0x8c]
comiss xmm0, xmm3
jbe 0x1002579e
movss xmm4, dword [esi + 0x90]
movaps xmm2, xmm0
subss xmm2, dword [esi + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10025746
mov eax, 1
jmp 0x10025793
comiss xmm2, xmm0
jb 0x1002574f
xor eax, eax
jmp 0x10025793
comiss xmm1, xmm4
jb 0x10025765
comiss xmm3, xmm2
jbe 0x1002574b
comiss xmm0, xmm3
jb 0x1002574b
mov eax, 1
jmp 0x10025793
comiss xmm3, xmm2
jbe 0x1002576f
or edx, 0xffffffff
jmp 0x1002577b
subss xmm2, xmm3
divss xmm2, xmm4
cvttss2si edx, xmm2
comiss xmm3, xmm0
jbe 0x10025785
or eax, 0xffffffff
jmp 0x10025791
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edx
test eax, eax
jle 0x1002579e
mov al, 1
jmp 0x100257a0
xorps xmm1, xmm1
xor al, al
cmp dword [esi + 0x1aa4], 0
mov byte [esi + 0x1d08], al
jne 0x100257ff
test al, al
je 0x100257ff
cmp dword [esi + 0x1bd4], 0
mov dword [esi + 0x1cf4], ecx
mov dword [esi + 0x1d00], 0x7fffffff
je 0x100257ee
mov ecx, dword [esi + 0x1c1c]
cmp ecx, 0x7fffffff
je 0x100257ee
xor edx, edx
mov eax, 2
cmp byte [esi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x100257f9
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1d04], eax
mov edi, dword [esi + 0x1cf4]
mov dword [esi + 0x1cf0], 0
mov dword [esi + 0x1cfc], 0x7fffffff
mov dword [esi + 0x1cf8], 0x7fffffff
test edi, edi
je 0x10025893
mov eax, dword [esi + 0x1d00]
mov dword [esi + 0x1cf0], edi
cmp eax, 0x7fffffff
je 0x10025851
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x10025851
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1cf8], edx
mov eax, dword [esi + 0x1d04]
cmp eax, 0x7fffffff
je 0x10025875
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x10025875
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1cfc], edx
mov dword [esi + 0x1cf4], 0
mov dword [esi + 0x1d04], 0x7fffffff
mov dword [esi + 0x1d00], 0x7fffffff
mov dword [esi + 0x1c1c], 0x7fffffff
cmp byte [ebx + 0x1a1f], 0
jne 0x100258ca
movss xmm0, dword [ebx + 0xb8]
comiss xmm1, xmm0
ja 0x100258ca
movsd xmm1, qword [ebx + 0x1a08]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x100258d2
movss xmm1, dword [0x10053e08]
xor edi, edi
cmp dword [ebx + 0x1a2c], edi
je 0x10025a83
mov eax, dword [ebx + 0x1a34]
xor ecx, ecx
mov esi, dword [eax + edi*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 0x10025a71
cmp byte [esi + 0x360], cl
jne 0x10025a71
comiss xmm1, dword [esi + 0x260]
jbe 0x10025a71
mov ecx, dword [esi + 0x288]
mov byte [esi + 0x360], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x358], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x35c], eax
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x10025991
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025977
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [esi + 0xc8], 0
mov ecx, dword [esi + 0x288]
call fcn.100442b0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x100259e3
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov eax, dword [0x1005edc0]
test eax, eax
je 0x100259c9
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x10025a2a
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025a10
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [esi + 0x1c4], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x10025a71
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025a57
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [esi + 0x1d0], 0
movss xmm1, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1a2c]
jne 0x100258e0
xor esi, esi
cmp dword [ebx + 0x1dd0], esi
jle 0x10025acf
xor edi, edi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x1dd8]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x10025ac0
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x10025ac0
mov eax, dword [ebx + 0x1db0]
add eax, edi
push eax
call fcn.1004c3a0
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x228
cmp esi, dword [ebx + 0x1dd0]
jl 0x10025a92
cmp byte [ebx + 0x1a1f], 0
je 0x10025b75
mov esi, dword [0x1005edc0]
mov ecx, dword [esi + 0x1b9c]
test ecx, ecx
je 0x10025b29
mov dword [esi + 0x1b98], 0
mov dword [esi + 0x1b94], 0
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025b0f
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [esi + 0x1b9c], 0
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x10025b70
mov dword [esi + 0x1ba4], 0
mov dword [esi + 0x1ba0], 0
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025b56
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [esi + 0x1ba8], 0
call fcn.1004c1b0
mov eax, dword [ebx + 0x1bd0]
mov byte [ebx + 0x1a1f], 0
test eax, eax
je 0x10025b9b
cmp byte [eax + 0x8b], 0
jne 0x10025b9b
push 0
push 0
call fcn.1001ee40
add esp, 8
mov ecx, dword [ebx + 0x1a54]
test ecx, ecx
jns 0x10025bc1
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.1002c2f0
mov dword [ebx + 0x1a50], 0
mov ecx, dword [ebx + 0x1bbc]
test ecx, ecx
jns 0x10025bf1
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.1002c380
mov dword [ebx + 0x1bb8], 0
mov ecx, dword [ebx + 0x1b98]
mov eax, ecx
mov edi, ecx
test ecx, ecx
jns 0x10025ca4
cdq
xor esi, esi
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
mov eax, ecx
cmp esi, ecx
jle 0x10025ca4
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025c34
inc dword [eax + 0x370]
push dword [0x1005edc8]
lea eax, [esi*4]
push eax
call dword [0x1005e260]
mov edx, dword [ebx + 0x1b9c]
add esp, 8
mov edi, eax
test edx, edx
je 0x10025c94
mov ecx, dword [ebx + 0x1b94]
shl ecx, 2
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x1b9c]
add esp, 0xc
test ecx, ecx
je 0x10025c84
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025c84
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [ebx + 0x1b9c], edi
mov eax, esi
mov dword [ebx + 0x1b98], esi
mov edi, esi
mov dword [ebx + 0x1b94], 0
test eax, eax
jne 0x10025d59
test edi, edi
je 0x10025cd7
mov eax, edi
mov esi, 1
cdq
sub eax, edx
sar eax, 1
add eax, edi
cmp eax, esi
cmovg esi, eax
cmp esi, edi
jle 0x10025d59
jmp 0x10025cde
mov eax, 8
mov esi, eax
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025ced
inc dword [eax + 0x370]
push dword [0x1005edc8]
lea eax, [esi*4]
push eax
call dword [0x1005e260]
mov edx, dword [ebx + 0x1b9c]
add esp, 8
mov edi, eax
test edx, edx
je 0x10025d4d
mov ecx, dword [ebx + 0x1b94]
shl ecx, 2
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x1b9c]
add esp, 0xc
test ecx, ecx
je 0x10025d3d
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025d3d
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [ebx + 0x1b9c], edi
mov dword [ebx + 0x1b98], esi
mov ecx, dword [ebx + 0x1b94]
mov eax, dword [ebx + 0x1b9c]
mov dword [eax + ecx*4], 0
inc dword [ebx + 0x1b94]
mov ecx, dword [ebx + 0x1ba4]
test ecx, ecx
jns 0x10025e15
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x10025e15
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025da7
inc dword [eax + 0x370]
push dword [0x1005edc8]
lea eax, [esi + esi*2]
shl eax, 4
push eax
call dword [0x1005e260]
mov edi, eax
add esp, 8
mov eax, dword [ebx + 0x1ba8]
test eax, eax
je 0x10025e09
mov ecx, dword [ebx + 0x1ba0]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x1ba8]
add esp, 0xc
test ecx, ecx
je 0x10025df9
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10025df9
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
add esp, 8
mov dword [ebx + 0x1ba8], edi
mov dword [ebx + 0x1ba4], esi
mov dword [ebx + 0x1ba0], 0
push 0
push dword [ebx + 0x1bd0]
call fcn.1001d460
mov edx, dword [0x1005edc0]
add esp, 8
cmp byte [edx + 0x2de4], 0
mov dword [edx + 0x2de8], 0
je 0x10025f9c
mov eax, dword [0x1005edc0]
xorps xmm1, xmm1
mov esi, dword [edx + 0x1a94]
mov dword [eax + 0x1d10], 7
mov ecx, dword [0x1005edc0]
mov eax, dword [ecx + 0x6c]
test eax, eax
js 0x10025f1a
movss xmm0, dword [ecx + eax*4 + 0x458]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10025f0d
movss xmm3, dword [ecx + 0x8c]
comiss xmm0, xmm3
jbe 0x10025f1a
movss xmm4, dword [ecx + 0x90]
movaps xmm2, xmm0
subss xmm2, dword [ecx + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10025ebc
mov eax, 1
jmp 0x10025f09
comiss xmm2, xmm0
jb 0x10025ec5
xor eax, eax
jmp 0x10025f09
comiss xmm1, xmm4
jb 0x10025edb
comiss xmm3, xmm2
jbe 0x10025ec1
comiss xmm0, xmm3
jb 0x10025ec1
mov eax, 1
jmp 0x10025f09
comiss xmm3, xmm2
jbe 0x10025ee5
or edi, 0xffffffff
jmp 0x10025ef1
subss xmm2, xmm3
divss xmm2, xmm4
cvttss2si edi, xmm2
comiss xmm3, xmm0
jbe 0x10025efb
or eax, 0xffffffff
jmp 0x10025f07
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edi
test eax, eax
jle 0x10025f1a
mov byte [edx + 0x2de4], 0
mov ecx, dword [0x1005edc0]
movss xmm0, dword [ecx + 0x3f4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10025f42
test esi, esi
je 0x10025f42
mov dword [edx + 0x2de8], esi
mov byte [edx + 0x2de4], 0
mov ecx, dword [0x1005edc0]
or dword [ecx + 0x1af0], 0x40
push 0
push 0
mov dword [ecx + 0x1b44], 0x3f19999a
call fcn.1001c150
push esi
push str.HoveredId:_0x_08X
call fcn.1003a9f0
push str.Press_ESC_to_abort_picking.
call fcn.1003a9f0
xor ecx, ecx
mov eax, 0x10
test esi, esi
push str.Click_to_break_in_debugger_
cmove ecx, eax
mov eax, dword [0x1005edc0]
add eax, 0x15dc
add eax, ecx
push eax
call fcn.1003aa10
add esp, 0x1c
call fcn.1001dab0
mov byte [ebx + 0x1a1d], 1
mov eax, dword [0x1005edc0]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x1af0], 2
mov dword [eax + 0x1b10], 0x43c80000
mov dword [eax + 0x1b14], 0x43c80000
mov dword [eax + 0x1af8], 4
call fcn.10019cd0
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2da0], esi
jle 0x10026014
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2da8]
add eax, edi
cmp dword [eax + 4], 1
jne 0x10026008
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2da0]
jl 0x10025ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret