Function at 0x1002dac0
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 [0x100c26f0]
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 0x1002db54
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x2da8]
cmp dword [ecx + edi + 4], 7
jne 0x1002db43
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 0x1002daf0
xor esi, esi
test ecx, ecx
jle 0x1002db84
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2da8]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1002db78
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 0x1002db60
mov eax, dword [0x100c26f0]
cmp byte [eax + 0xb4], 0
je 0x1002db9f
test byte [eax + 0xc], 2
jne 0x1002db9f
mov byte [eax + 0xb4], 0
mov esi, dword [0x100c26f0]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp byte [esi + 0x2d69], 0
jne 0x1002dcb3
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1002dcac
push 0x1005fdf8
push eax
call fcn.10028d00
mov edi, eax
add esp, 8
test edi, edi
je 0x1002dca6
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 0x1002dd68
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 0x1002dd68
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 0x1002dd68
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 0x1002dd68
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002dc43
inc dword [eax + 0x370]
push dword [0x100c26f8]
push dword [ebp - 4]
call dword [0x100c1958]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x1002dd68
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 0x1002dd3d
call eax
mov eax, dword [0x100c26f0]
add esp, 4
test eax, eax
je 0x1002dc93
dec dword [eax + 0x370]
push dword [0x100c26f8]
mov edi, dword [ebp - 8]
push edi
call dword [0x100c195c]
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 0x1002dd8a
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x2d6c], xmm1
jb 0x1002dd8a
mov eax, dword [esi + 0x20]
mov dword [ebp - 4], eax
test eax, eax
je 0x1002dd79
mov eax, dword [0x100c26f0]
mov dword [ebp - 8], 0
mov dword [eax + 0x2d6c], 0
lea eax, [ebp - 8]
push eax
call fcn.10031580
push 0x1005fdfc
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.10028d00
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x1002dd80
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 0x1002dd80
call eax
push dword [ebp - 4]
mov edi, dword [ebp - 8]
push edi
call fcn.1002a590
mov eax, dword [0x100c26f0]
add esp, 0xc
test eax, eax
je 0x1002dd5d
dec dword [eax + 0x370]
push dword [0x100c26f8]
jmp 0x1002dc9c
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call edi
add esp, 4
jmp 0x1002dcac
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 0x1002ddee
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.10034cd0
movss xmm1, dword [ebx + 0x18]
mov dword [ebx + 0x2d4c], 0
movaps xmm0, xmm1
mov eax, dword [ebx + 0x2fdc]
mov ecx, 0x78
movss xmm2, dword [0x1005ff0c]
xorps xmm4, xmm4
movss xmm3, dword [0x1005f37c]
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 0x1002de6e
divss xmm1, dword [0x1005fef8]
movaps xmm0, xmm3
divss xmm0, xmm1
jmp 0x1002de71
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edi, edi
mov esi, dword [0x100c26f0]
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 0x1002df96
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 0x1002dec0
movss xmm2, dword [0x1005ff0c]
movss xmm3, dword [0x1005f37c]
mov eax, dword [ebx + 0x98]
mov byte [eax], 1
mov esi, dword [0x100c26f0]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x1002dfba
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 0x1002e012
mov eax, dword [0x100c26f0]
movss xmm4, dword [ecx + 0x280]
mulss xmm4, dword [eax + 0x1934]
mov eax, dword [ecx + 0x31c]
test eax, eax
je 0x1002e012
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 [0x1005ff14]
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 0x1002e0b4
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 0x1002e094
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1002e09c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1002e0a4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1002e0ac
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1002e070
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.1004c490
xor edx, edx
mov dword [ebx + 0x1960], 0
cmp byte [ebx + 0x15d0], dl
je 0x1002e11b
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x1002e13e
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax + 4], 4
jne 0x1002e13e
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x1002e150
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x1002e15f
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1bc4], esi
jle 0x1002e192
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 0x1002e170
cmp byte [ebx + 0x1d14], 0
je 0x1002e1cc
mov eax, dword [ebx + 0x1d2c]
cmp eax, dword [ebx + 0x1aa4]
jne 0x1002e1cc
mov ecx, dword [0x100c26f0]
cmp dword [ecx + 0x1aa4], eax
jne 0x1002e1bd
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x1002e1cc
mov byte [ecx + 0x1ae0], 1
cmp dword [ebx + 0x1a94], 0
mov eax, dword [ebx + 0x1a90]
jne 0x1002e1e7
mov dword [ebx + 0x1a9c], 0
jmp 0x1002e1f5
mov edx, eax
test eax, eax
je 0x1002e201
cmp dword [ebx + 0x1aa4], eax
jne 0x1002e201
mov dword [ebx + 0x1aa0], 0
mov edx, eax
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1aa4]
test edx, edx
je 0x1002e23a
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1a9c]
movss dword [ebx + 0x1a9c], xmm0
cmp ecx, edx
je 0x1002e23a
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 0x1002e28f
cmp dword [ebx + 0x1adc], ecx
jne 0x1002e28f
test ecx, ecx
je 0x1002e28f
call fcn.10026220
mov edx, dword [ebx + 0x1aa4]
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x1002e2a6
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 0x1002e30b
cmp edx, eax
je 0x1002e30b
mov dword [ebx + 0x2cf8], 0
test edx, edx
jne 0x1002e327
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 [0x100c26f0]
movss xmm2, dword [0x1005f3a4]
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 0x1002e3e2
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1002e3db
xorps xmm0, xmm0
jmp 0x1002e3e5
addss xmm0, dword [ebx + 0x18]
jmp 0x1002e3e5
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1002e3c0
call fcn.1002b8e0
call fcn.10032d70
call fcn.10032ba0
mov esi, dword [0x100c26f0]
mov ecx, dword [esi + 0x1a7c]
test ecx, ecx
je 0x1002e517
mov eax, dword [esi + 0x1aa4]
mov dword [esi + 0x1aa8], eax
cmp dword [esi + 0x1adc], eax
jne 0x1002e433
mov byte [esi + 0x1ae0], 1
cmp byte [esi + 0xec], 0
mov edi, dword [ecx + 0x320]
je 0x1002e506
mov edx, dword [0x100c26f0]
lea eax, [esi + 0xe4]
test eax, eax
je 0x1002e45b
mov dword [ebp - 8], eax
jmp 0x1002e464
lea ebx, [edx + 0xe4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
movss xmm1, dword [0x1005ff10]
movss xmm0, dword [ebx]
comiss xmm0, xmm1
movss xmm2, dword [ebx + 4]
mov ebx, dword [ebp - 0xc]
jb 0x1002e506
comiss xmm2, xmm1
jb 0x1002e506
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 0x1002e4c8
movss xmm0, dword [edi + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002e4fb
test dword [edi + 8], 0x100
jne 0x1002e4e6
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x2d6c]
jb 0x1002e4e6
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2d6c], eax
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.10031fa0
mov ecx, dword [esi + 0x1a7c]
add esp, 0xc
push ecx
call fcn.10027f50
add esp, 4
jmp 0x1002e54f
call fcn.10026220
mov dword [esi + 0x1a7c], 0
jmp 0x1002e54f
mov ecx, dword [esi + 0x1ad0]
test ecx, ecx
je 0x1002e54f
mov eax, dword [esi + 0x1aa4]
cmp dword [ecx + 0x50], eax
jne 0x1002e54f
mov dword [esi + 0x1aa8], eax
cmp dword [esi + 0x1adc], eax
jne 0x1002e541
mov byte [esi + 0x1ae0], 1
cmp byte [esi + 0xec], 0
jne 0x1002e54f
call fcn.10026220
mov eax, dword [0x100c26f0]
mov edx, dword [eax + 0x1bac]
sub edx, 1
js 0x1002e587
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 0x1002e57f
test dword [ecx + 8], 0x8000000
jne 0x1002e5a1
sub eax, 0x24
sub edx, 1
jns 0x1002e570
cmp dword [ebx + 0x1cd8], 0
je 0x1002e5c0
movss xmm0, dword [ebx + 0x1ce8]
comiss xmm0, dword [0x1005fe60]
jbe 0x1002e5c0
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x1005fedc]
addss xmm1, dword [ebx + 0x1d0c]
minss xmm1, dword [0x1005f37c]
jmp 0x1002e5e1
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1005f3a0]
movss xmm1, dword [ebx + 0x1d0c]
subss xmm1, xmm0
maxss xmm1, dword [0x1005fe60]
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.100333b0
mov esi, dword [0x100c26f0]
mov ecx, dword [esi + 0x1bd0]
test ecx, ecx
je 0x1002e70b
cmp byte [ecx + 0x8a], 0
je 0x1002e70b
test dword [ecx + 8], 0x40000
jne 0x1002e70b
cmp byte [esi + 0xfc], 0
jne 0x1002e70b
mov eax, dword [esi + 0x34]
xorps xmm1, xmm1
test eax, eax
js 0x1002e70e
movss xmm0, dword [esi + eax*4 + 0x458]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002e707
movss xmm3, dword [esi + 0x8c]
comiss xmm0, xmm3
jbe 0x1002e70e
movss xmm4, dword [esi + 0x90]
movaps xmm2, xmm0
subss xmm2, dword [esi + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e6b6
mov eax, 1
jmp 0x1002e703
comiss xmm2, xmm0
jb 0x1002e6bf
xor eax, eax
jmp 0x1002e703
comiss xmm1, xmm4
jb 0x1002e6d5
comiss xmm3, xmm2
jbe 0x1002e6bb
comiss xmm0, xmm3
jb 0x1002e6bb
mov eax, 1
jmp 0x1002e703
comiss xmm3, xmm2
jbe 0x1002e6df
or edx, 0xffffffff
jmp 0x1002e6eb
subss xmm2, xmm3
divss xmm2, xmm4
cvttss2si edx, xmm2
comiss xmm3, xmm0
jbe 0x1002e6f5
or eax, 0xffffffff
jmp 0x1002e701
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edx
test eax, eax
jle 0x1002e70e
mov al, 1
jmp 0x1002e710
xorps xmm1, xmm1
xor al, al
cmp dword [esi + 0x1aa4], 0
mov byte [esi + 0x1d08], al
jne 0x1002e76f
test al, al
je 0x1002e76f
cmp dword [esi + 0x1bd4], 0
mov dword [esi + 0x1cf4], ecx
mov dword [esi + 0x1d00], 0x7fffffff
je 0x1002e75e
mov ecx, dword [esi + 0x1c1c]
cmp ecx, 0x7fffffff
je 0x1002e75e
xor edx, edx
mov eax, 2
cmp byte [esi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x1002e769
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 0x1002e803
mov eax, dword [esi + 0x1d00]
mov dword [esi + 0x1cf0], edi
cmp eax, 0x7fffffff
je 0x1002e7c1
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x1002e7c1
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1cf8], edx
mov eax, dword [esi + 0x1d04]
cmp eax, 0x7fffffff
je 0x1002e7e5
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x1002e7e5
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 0x1002e83a
movss xmm0, dword [ebx + 0xb8]
comiss xmm1, xmm0
ja 0x1002e83a
movsd xmm1, qword [ebx + 0x1a08]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x1002e842
movss xmm1, dword [0x1005ff0c]
xor edi, edi
cmp dword [ebx + 0x1a2c], edi
je 0x1002e9f3
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 0x1002e9e1
cmp byte [esi + 0x360], cl
jne 0x1002e9e1
comiss xmm1, dword [esi + 0x260]
jbe 0x1002e9e1
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 0x1002e901
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002e8e7
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
add esp, 8
mov dword [esi + 0xc8], 0
mov ecx, dword [esi + 0x288]
call fcn.1004cb50
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x1002e953
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002e939
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
add esp, 8
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x1002e99a
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002e980
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
add esp, 8
mov dword [esi + 0x1c4], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x1002e9e1
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002e9c7
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
add esp, 8
mov dword [esi + 0x1d0], 0
movss xmm1, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1a2c]
jne 0x1002e850
xor esi, esi
cmp dword [ebx + 0x1dd0], esi
jle 0x1002ea3f
xor edi, edi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x1dd8]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x1002ea30
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1002ea30
mov eax, dword [ebx + 0x1db0]
add eax, edi
push eax
call fcn.10055d50
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x228
cmp esi, dword [ebx + 0x1dd0]
jl 0x1002ea02
cmp byte [ebx + 0x1a1f], 0
je 0x1002eae5
mov esi, dword [0x100c26f0]
mov ecx, dword [esi + 0x1b9c]
test ecx, ecx
je 0x1002ea99
mov dword [esi + 0x1b98], 0
mov dword [esi + 0x1b94], 0
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002ea7f
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
add esp, 8
mov dword [esi + 0x1b9c], 0
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x1002eae0
mov dword [esi + 0x1ba4], 0
mov dword [esi + 0x1ba0], 0
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002eac6
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
add esp, 8
mov dword [esi + 0x1ba8], 0
call fcn.10055b60
mov eax, dword [ebx + 0x1bd0]
mov byte [ebx + 0x1a1f], 0
test eax, eax
je 0x1002eb0b
cmp byte [eax + 0x8b], 0
jne 0x1002eb0b
push 0
push 0
call fcn.10027e90
add esp, 8
mov ecx, dword [ebx + 0x1a54]
test ecx, ecx
jns 0x1002eb31
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.10034cd0
mov dword [ebx + 0x1a50], 0
mov ecx, dword [ebx + 0x1bbc]
test ecx, ecx
jns 0x1002eb61
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.10034d60
mov dword [ebx + 0x1bb8], 0
mov ecx, dword [ebx + 0x1b98]
mov eax, ecx
mov edi, ecx
test ecx, ecx
jns 0x1002ec14
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 0x1002ec14
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002eba4
inc dword [eax + 0x370]
push dword [0x100c26f8]
lea eax, [esi*4]
push eax
call dword [0x100c1958]
mov edx, dword [ebx + 0x1b9c]
add esp, 8
mov edi, eax
test edx, edx
je 0x1002ec04
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 0x1002ebf4
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002ebf4
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
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 0x1002ecc9
test edi, edi
je 0x1002ec47
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 0x1002ecc9
jmp 0x1002ec4e
mov eax, 8
mov esi, eax
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002ec5d
inc dword [eax + 0x370]
push dword [0x100c26f8]
lea eax, [esi*4]
push eax
call dword [0x100c1958]
mov edx, dword [ebx + 0x1b9c]
add esp, 8
mov edi, eax
test edx, edx
je 0x1002ecbd
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 0x1002ecad
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002ecad
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
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 0x1002ed85
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 0x1002ed85
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002ed17
inc dword [eax + 0x370]
push dword [0x100c26f8]
lea eax, [esi + esi*2]
shl eax, 4
push eax
call dword [0x100c1958]
mov edi, eax
add esp, 8
mov eax, dword [ebx + 0x1ba8]
test eax, eax
je 0x1002ed79
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 0x1002ed69
mov eax, dword [0x100c26f0]
test eax, eax
je 0x1002ed69
dec dword [eax + 0x370]
push dword [0x100c26f8]
push ecx
call dword [0x100c195c]
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.100264f0
mov edx, dword [0x100c26f0]
add esp, 8
cmp byte [edx + 0x2de4], 0
mov dword [edx + 0x2de8], 0
je 0x1002ef0c
mov eax, dword [0x100c26f0]
xorps xmm1, xmm1
mov esi, dword [edx + 0x1a94]
mov dword [eax + 0x1d10], 7
mov ecx, dword [0x100c26f0]
mov eax, dword [ecx + 0x6c]
test eax, eax
js 0x1002ee8a
movss xmm0, dword [ecx + eax*4 + 0x458]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002ee7d
movss xmm3, dword [ecx + 0x8c]
comiss xmm0, xmm3
jbe 0x1002ee8a
movss xmm4, dword [ecx + 0x90]
movaps xmm2, xmm0
subss xmm2, dword [ecx + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002ee2c
mov eax, 1
jmp 0x1002ee79
comiss xmm2, xmm0
jb 0x1002ee35
xor eax, eax
jmp 0x1002ee79
comiss xmm1, xmm4
jb 0x1002ee4b
comiss xmm3, xmm2
jbe 0x1002ee31
comiss xmm0, xmm3
jb 0x1002ee31
mov eax, 1
jmp 0x1002ee79
comiss xmm3, xmm2
jbe 0x1002ee55
or edi, 0xffffffff
jmp 0x1002ee61
subss xmm2, xmm3
divss xmm2, xmm4
cvttss2si edi, xmm2
comiss xmm3, xmm0
jbe 0x1002ee6b
or eax, 0xffffffff
jmp 0x1002ee77
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edi
test eax, eax
jle 0x1002ee8a
mov byte [edx + 0x2de4], 0
mov ecx, dword [0x100c26f0]
movss xmm0, dword [ecx + 0x3f4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002eeb2
test esi, esi
je 0x1002eeb2
mov dword [edx + 0x2de8], esi
mov byte [edx + 0x2de4], 0
mov ecx, dword [0x100c26f0]
or dword [ecx + 0x1af0], 0x40
push 0
push 0
mov dword [ecx + 0x1b44], 0x3f19999a
call fcn.100251e0
push esi
push str.HoveredId:_0x_08X
call fcn.100442b0
push str.Press_ESC_to_abort_picking.
call fcn.100442b0
xor ecx, ecx
mov eax, 0x10
test esi, esi
push str.Click_to_break_in_debugger_
cmove ecx, eax
mov eax, dword [0x100c26f0]
add eax, 0x15dc
add eax, ecx
push eax
call fcn.100442d0
add esp, 0x1c
call fcn.10026b40
mov byte [ebx + 0x1a1d], 1
mov eax, dword [0x100c26f0]
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.10022de0
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2da0], esi
jle 0x1002ef84
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2da8]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1002ef78
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 0x1002ef60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret