Function at 0x1003dde0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x1020b1f4]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x5d88]
sub eax, 1
mov dword [ebp - 8], eax
js 0x1003de70
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov edx, dword [edi + 0x5d90]
cmp dword [ebx + edx + 4], 7
jne 0x1003de65
mov esi, edx
mov ecx, ebx
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x5d88]
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 + 0x5d88]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x1003de10
mov eax, dword [edi + 0x5d88]
mov esi, dword [edi + 0x5d90]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1003de9d
cmp dword [esi + 4], 0
jne 0x1003de96
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1003de86
mov eax, dword [0x1020b1f4]
cmp byte [eax + 0x4a], 0
je 0x1003deb2
test byte [eax + 0xc], 2
jne 0x1003deb2
mov byte [eax + 0x4a], 0
mov esi, dword [0x1020b1f4]
cmp byte [esi + 0x5d50], 0
jne 0x1003dfab
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003dfa4
push 0x101ce964
push eax
call fcn.100375b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003dfa4
push ebx
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 0x1003df9a
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1003df9a
push ebx
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 0x1003df9a
push 0
push dword [ebp - 8]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1003df9a
push dword [ebp - 4]
call fcn.1003a400
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x1003df9a
push ebx
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
push ebx
cmp eax, dword [ebp - 4]
je 0x1003df75
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ebx, dword [ebp - 8]
push ebx
call fcn.1003a490
add esp, 8
jmp 0x1003dfa4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 4]
add esp, 4
mov ebx, dword [ebp - 8]
test eax, eax
je 0x1003df92
push eax
push ebx
call fcn.10039ec0
add esp, 8
push ebx
call fcn.1003a490
jmp 0x1003dfa1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [esi + 0x5d50], 1
movss xmm1, dword [esi + 0x5d54]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1003dff0
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x5d54], xmm1
jb 0x1003dff0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003dfdf
push eax
call fcn.100421e0
add esp, 4
jmp 0x1003dfe6
mov byte [esi + 0x92], 1
mov dword [esi + 0x5d54], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5cc4]
inc dword [edi + 0x3f28]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3f34], 1
mov word [edi + 0x5cb4], ax
mov dword [edi + 0x3f9c], eax
addsd xmm0, qword [edi + 0x3f20]
movsd qword [edi + 0x3f20], xmm0
call fcn.10047550
mov eax, dword [edi + 0x5f74]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5e84]
addss xmm0, dword [edi + 0x5f7c]
movss dword [edi + 0x5f7c], xmm0
movss dword [edi + eax*4 + 0x5e84], xmm1
mov eax, dword [edi + 0x5f74]
inc eax
movss xmm1, dword [edi + 0x5f7c]
cdq
idiv ecx
mov eax, dword [edi + 0x5f78]
movss xmm0, dword [0x101ceb6c]
inc eax
cmp eax, ecx
mov dword [edi + 0x5f74], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x101cceec]
mov dword [edi + 0x5f78], ecx
jbe 0x1003e0bc
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x101ccef4]
divss xmm0, xmm1
movss dword [edi + 0x98], xmm0
mov ecx, dword [edi + 0x3f50]
test ecx, ecx
jns 0x1003e0ea
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 + 0x3f4c]
call fcn.100473f0
mov dword [edi + 0x3f4c], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.10043e70
mov esi, dword [0x1020b1f4]
add esp, 4
mov eax, dword [esi + 0x4a0c]
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
mov ebx, dword [esi + 0x4a0c]
mov eax, dword [esi + 0x4a04]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x1003e21a
nop word [eax + eax]
mov edx, dword [ebx]
add ebx, 4
mov eax, dword [edx + 0x94]
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov eax, dword [edx + 0x9c]
mov dword [edx + 0x88], ecx
mov ecx, dword [edx + 0xa0]
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], ecx
mov dword [edx + 0x9c], 0
mov dword [edx + 0xa0], 0
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
movss xmm0, dword [edx + 0x88]
movss xmm2, dword [edx + 0x84]
movaps xmm1, xmm2
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
subss xmm0, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
addss xmm0, dword [edx + 0x8c]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x88]
addss xmm0, dword [edx + 0x90]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp ebx, esi
jne 0x1003e150
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov ecx, dword [0x1020b1f4]
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x1003e236
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
push eax
call fcn.10042900
mov ecx, dword [edi + 0x4a0c]
add esp, 4
mov eax, dword [edi + 0x4a04]
movss xmm7, dword [ebp - 4]
movss xmm4, dword [0x101ceb7c]
movaps xmm6, xmm7
movaps xmm5, xmm4
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1003e2a8
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 0x1003e289
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1003e291
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x1003e299
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x1003e2a1
movaps xmm5, xmm0
add ecx, 4
cmp ecx, edx
jne 0x1003e265
mov eax, dword [edi + 0x3984]
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, [edi + 0x3d18]
mov dword [edi + 0x3d28], eax
movups xmmword [edi + 0x3d30], xmm0
movss xmm0, dword [edi + 0x3988]
movss dword [esp], xmm0
call fcn.1004ef50
xor edx, edx
mov dword [edi + 0x3d40], 0
cmp byte [edi + 0x3980], dl
je 0x1003e30f
mov dword [edi + 0x3d40], 1
mov edx, 1
cmp byte [edi + 0x3981], 0
mov ecx, edx
je 0x1003e331
mov eax, dword [edi + 0x3d0c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1003e331
or ecx, 2
mov dword [edi + 0x3d40], ecx
cmp byte [edi + 0x3982], 0
je 0x1003e343
or ecx, 4
mov dword [edi + 0x3d40], ecx
test byte [edi + 0xc], 8
je 0x1003e352
or ecx, 8
mov dword [edi + 0x3d40], ecx
mov ecx, dword [edi + 0x4a0c]
mov eax, dword [edi + 0x4a04]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1003e372
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x38], 0
cmp ecx, edx
jne 0x1003e365
cmp byte [edi + 0x4bec], 0
je 0x1003e3ac
mov eax, dword [edi + 0x4c04]
cmp eax, dword [edi + 0x3ff8]
jne 0x1003e3ac
mov ecx, dword [0x1020b1f4]
cmp dword [ecx + 0x3ff8], eax
jne 0x1003e39d
mov dword [ecx + 0x3ffc], eax
cmp dword [ecx + 0x4020], eax
jne 0x1003e3ac
mov byte [ecx + 0x4024], 1
cmp dword [edi + 0x3fe8], 0
jne 0x1003e3c1
mov dword [edi + 0x3ff0], 0
jmp 0x1003e3d3
mov eax, dword [edi + 0x3fe4]
test eax, eax
je 0x1003e3dd
cmp dword [edi + 0x3ff8], eax
jne 0x1003e3dd
mov dword [edi + 0x3ff4], 0
mov eax, dword [edi + 0x3fe4]
test eax, eax
je 0x1003e417
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3ff0]
movss dword [edi + 0x3ff0], xmm0
cmp dword [edi + 0x3ff8], eax
je 0x1003e417
addss xmm1, dword [edi + 0x3ff4]
movss dword [edi + 0x3ff4], xmm1
mov dword [edi + 0x3fe8], eax
mov eax, dword [edi + 0x3ff8]
mov dword [edi + 0x3fe4], 0
mov word [edi + 0x3fec], 0
test eax, eax
je 0x1003e46c
cmp dword [edi + 0x3ffc], eax
je 0x1003e46c
cmp dword [edi + 0x4020], eax
jne 0x1003e46c
test byte [edi + 0x5dec], 1
je 0x1003e460
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100345b0
add esp, 4
push 0
push 0
call fcn.100426f0
add esp, 8
mov ecx, dword [edi + 0x3ff8]
test ecx, ecx
je 0x1003e48b
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4000]
movss dword [edi + 0x4000], xmm0
mov eax, dword [edi + 0x4014]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4030]
mov dword [edi + 0x4028], eax
mov al, byte [edi + 0x4008]
mov byte [edi + 0x4025], al
mov eax, dword [edi + 0x5c24]
movss dword [edi + 0x4030], xmm0
mov dword [edi + 0x4020], ecx
mov dword [edi + 0x3ffc], 0
mov byte [edi + 0x4009], 0
mov byte [edi + 0x4024], 0
mov byte [edi + 0x4004], 0
test eax, eax
je 0x1003e4f5
cmp ecx, eax
je 0x1003e4f5
mov dword [edi + 0x5c24], 0
test ecx, ecx
jne 0x1003e513
mov dword [edi + 0x48c0], ecx
mov dword [edi + 0x48b8], ecx
mov byte [edi + 0x48bc], cl
mov dword [edi + 0x48c0], ecx
jmp 0x1003e542
mov eax, dword [edi + 0x48c0]
test eax, eax
je 0x1003e542
test al, 2
je 0x1003e542
mov ecx, dword [0x1020b1f4]
mov eax, dword [edi + 0x3ff8]
mov dword [ecx + 0x40e0], eax
mov dword [ecx + 0x40dc], eax
mov word [ecx + 0x40e4], 0
mov ecx, dword [edi + 0x4d14]
test ecx, ecx
je 0x1003e565
movss xmm0, dword [edi + 0x4d30]
comiss xmm0, dword [edi + 0x3cf8]
jb 0x1003e56f
mov dword [edi + 0x4d24], ecx
jmp 0x1003e56f
mov dword [edi + 0x4d24], 0
mov eax, dword [edi + 0x3fac]
test eax, eax
je 0x1003e595
movss xmm0, dword [edi + 0x4d30]
comiss xmm0, dword [edi + 0x3cf8]
jb 0x1003e59f
mov eax, dword [eax + 8]
mov dword [edi + 0x4d28], eax
jmp 0x1003e59f
mov dword [edi + 0x4d28], 0
movss xmm0, dword [edi + 0x4d1c]
mov dword [edi + 0x4d18], ecx
test ecx, ecx
je 0x1003e5ca
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4d14], 0
movss dword [edi + 0x4d1c], xmm0
jmp 0x1003e60a
comiss xmm0, dword [0x101cceec]
jbe 0x1003e614
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x101ceb04]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4d20]
addss xmm1, xmm1
movss dword [edi + 0x4d20], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1003e614
mov dword [edi + 0x4d1c], 0
mov dword [edi + 0x4d20], 0
mov eax, dword [edi + 0x4c50]
mov dword [edi + 0x4c54], eax
mov dword [edi + 0x4c50], 0
mov dword [edi + 0x4c4c], 0x7f7fffff
mov word [edi + 0x4bed], 0
mov dword [edi + 0x4c5c], 0
call fcn.100446c0
call fcn.1003b860
call fcn.10044c00
call fcn.10043bf0
mov esi, dword [0x1020b1f4]
mov ecx, dword [esi + 0x3fb4]
test ecx, ecx
je 0x1003e719
mov eax, dword [esi + 0x3ff8]
mov dword [esi + 0x3ffc], eax
cmp dword [esi + 0x4020], eax
jne 0x1003e68a
mov byte [esi + 0x4024], 1
cmp byte [esi + 0xe08], 0
mov edx, dword [ecx + 0x308]
je 0x1003e70d
lea ecx, [esi + 0xe00]
test ecx, ecx
je 0x1003e6a7
mov eax, ecx
jmp 0x1003e6b1
mov eax, dword [0x1020b1f4]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x101ceb74]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1003e70d
comiss xmm2, xmm1
jb 0x1003e70d
movss xmm0, dword [ecx]
lea eax, [ebp - 0x14]
subss xmm0, dword [esi + 0x400c]
push 1
push eax
push edx
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x4010]
movss dword [ebp - 0x10], xmm0
call fcn.100433a0
push 0
push dword [esi + 0x3fb4]
call fcn.10036090
add esp, 0x14
jmp 0x1003e758
mov dword [esi + 0x3fb4], 0
jmp 0x1003e74c
mov ecx, dword [esi + 0x4014]
test ecx, ecx
je 0x1003e758
mov eax, dword [esi + 0x3ff8]
cmp dword [ecx + 0x74], eax
jne 0x1003e758
mov dword [esi + 0x3ffc], eax
cmp dword [esi + 0x4020], eax
jne 0x1003e743
mov byte [esi + 0x4024], 1
cmp byte [esi + 0xe08], 0
jne 0x1003e758
push 0
push 0
call fcn.100426f0
add esp, 8
mov eax, dword [0x1020b1f4]
mov edx, dword [eax + 0x49dc]
sub edx, 1
js 0x1003e78e
mov eax, dword [eax + 0x49e4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1003e786
test dword [ecx + 0xc], 0x8000000
jne 0x1003e7a8
sub eax, 0x28
sub edx, 1
jns 0x1003e777
cmp dword [edi + 0x4bc0], 0
je 0x1003e7c7
movss xmm0, dword [edi + 0x4bd0]
comiss xmm0, dword [0x101cceec]
jbe 0x1003e7c7
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x101ccf10]
addss xmm1, dword [edi + 0x4be8]
minss xmm1, dword [0x101ccef4]
jmp 0x1003e7e8
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x101ccf18]
movss xmm1, dword [edi + 0x4be8]
subss xmm1, xmm0
maxss xmm1, dword [0x101cceec]
movss dword [edi + 0x4be8], xmm1
movups xmm0, xmmword [edi + 0x5d30]
mov dword [edi + 0x4d2c], 0
mov dword [edi + 0x5f88], 0xffffffff
mov dword [edi + 0x5f84], 0xffffffff
mov dword [edi + 0x5f80], 0xffffffff
movups xmmword [edi + 0x5d40], xmm0
mov byte [edi + 0x5d30], 0
call fcn.100451f0
cmp byte [edi + 0x3f37], 0
jne 0x1003e85f
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1003e85f
movsd xmm0, qword [edi + 0x3f20]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1003e864
movss xmm0, dword [ebp - 4]
mov ebx, dword [edi + 0x3f68]
mov eax, dword [edi + 0x3f60]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x1003e9d5
mov edi, eax
nop dword [eax]
mov esi, dword [ebx]
mov ax, word [esi + 0xbc]
mov cl, byte [esi + 0xae]
mov word [esi + 0xbe], ax
xor eax, eax
mov byte [esi + 0xaf], cl
mov byte [esi + 0xae], 0
mov byte [esi + 0xb0], 0
mov word [esi + 0xbc], ax
test cl, cl
jne 0x1003e9c2
cmp byte [esi + 0x360], al
jne 0x1003e9c2
comiss xmm0, dword [esi + 0x244]
jbe 0x1003e9c2
mov ecx, dword [esi + 0x26c]
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 eax, dword [esi + 0xf4]
test eax, eax
je 0x1003e924
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.1003a490
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x26c]
call fcn.1004f900
mov eax, dword [esi + 0x190]
test eax, eax
je 0x1003e960
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.1003a490
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x1003e991
push eax
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
call fcn.1003a490
add esp, 4
mov dword [esi + 0x1b8], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1003e9c2
push eax
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
call fcn.1003a490
add esp, 4
mov dword [esi + 0x1c4], 0
movss xmm0, dword [ebp - 4]
add ebx, 4
cmp ebx, edi
jne 0x1003e880
mov edi, dword [ebp - 0xc]
xor ebx, ebx
cmp dword [edi + 0x4cc0], ebx
jle 0x1003ea36
xor esi, esi
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 8], ecx
nop dword [eax]
mov eax, dword [edi + 0x4cc8]
movss xmm1, dword [ecx + eax]
comiss xmm1, xmm0
jb 0x1003ea21
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x1003ea21
mov eax, dword [edi + 0x4ca8]
add eax, esi
push eax
call fcn.10056680
mov ecx, dword [ebp - 8]
add esp, 4
xorps xmm0, xmm0
inc ebx
add ecx, 4
add esi, 0x200
mov dword [ebp - 8], ecx
cmp ebx, dword [edi + 0x4cc0]
jl 0x1003e9f0
imul ebx, dword [edi + 0x4c94], 0x6c
mov esi, dword [edi + 0x4c9c]
add ebx, esi
cmp esi, ebx
je 0x1003ea77
xorps xmm0, xmm0
nop dword [eax]
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x1003ea70
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x1003ea70
push esi
call fcn.10056750
add esp, 4
xorps xmm0, xmm0
add esi, 0x6c
cmp esi, ebx
jne 0x1003ea50
cmp byte [edi + 0x3f37], 0
je 0x1003eaed
mov esi, dword [0x1020b1f4]
mov eax, dword [esi + 0x49cc]
test eax, eax
je 0x1003eab7
push eax
mov dword [esi + 0x49c8], 0
mov dword [esi + 0x49c4], 0
call fcn.1003a490
add esp, 4
mov dword [esi + 0x49cc], 0
mov eax, dword [esi + 0x49d8]
test eax, eax
je 0x1003eae8
push eax
mov dword [esi + 0x49d4], 0
mov dword [esi + 0x49d0], 0
call fcn.1003a490
add esp, 4
mov dword [esi + 0x49d8], 0
call fcn.10056490
mov eax, dword [edi + 0x4a10]
mov byte [edi + 0x3f37], 0
test eax, eax
je 0x1003eb56
cmp byte [eax + 0xaf], 0
jne 0x1003eb56
mov eax, dword [0x1020b1f4]
mov edx, dword [eax + 0x3f6c]
sub edx, 1
js 0x1003eb4a
mov eax, dword [eax + 0x3f74]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1003eb42
cmp byte [ecx + 0xaf], 0
je 0x1003eb42
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1003ed13
sub esi, 4
sub edx, 1
jns 0x1003eb20
push 1
push 0
call fcn.10036090
add esp, 8
mov ecx, dword [edi + 0x3f88]
test ecx, ecx
jns 0x1003ebb5
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 0x1003ebb5
imul eax, esi, 0x54
push eax
call fcn.1003a400
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3f8c]
test eax, eax
je 0x1003eba9
imul ecx, dword [edi + 0x3f84], 0x54
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x3f8c]
call fcn.1003a490
add esp, 0x10
mov dword [edi + 0x3f8c], ebx
mov dword [edi + 0x3f88], esi
push 0
lea ecx, [edi + 0x49e8]
mov dword [edi + 0x3f84], 0
call fcn.10047660
mov ecx, dword [edi + 0x49c8]
lea esi, [edi + 0x49c4]
test ecx, ecx
jns 0x1003ec2b
mov eax, ecx
xor ebx, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x1003ec2b
lea eax, [ebx*4]
push eax
call fcn.1003a400
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
je 0x1003ec25
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.1003a490
mov eax, dword [ebp - 8]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
lea eax, [ebp - 8]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 8], 0
call fcn.10046fa0
push 0
lea ecx, [edi + 0x49d0]
call fcn.100475d0
mov ebx, dword [0x1020b1f4]
mov dword [ebp - 8], ebx
cmp byte [ebx + 0x5e0f], 0
mov dword [ebx + 0x5e14], 0
je 0x1003ee31
mov eax, dword [0x1020b1f4]
mov esi, dword [ebx + 0x3fe8]
push 1
push 0
push 0x20e
mov dword [ebp - 0x10], esi
mov dword [eax + 0x4d2c], 7
call fcn.10039220
add esp, 0xc
test al, al
je 0x1003eca4
mov byte [ebx + 0x5e0f], 0
mov eax, dword [ebx + 0xe20]
xorps xmm0, xmm0
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x1003ed1e
movzx ecx, byte [ebx + 0x5e10]
mov edx, dword [0x1020b1f4]
cmp byte [edx + ecx + 0xe08], 0
je 0x1003ed1e
movss xmm1, dword [edx + ecx*4 + 0x3850]
comiss xmm0, xmm1
ja 0x1003ed1e
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003ed1b
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.10043910
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x1003ed1b
mov eax, dword [ebp - 4]
test esi, esi
je 0x1003ed1e
mov dword [ebx + 0x5e14], esi
mov byte [ebx + 0x5e0f], 0
jmp 0x1003ed1e
push 1
push ecx
jmp 0x1003eb4e
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor ebx, ebx
mov esi, 0x3850
cmp eax, 0x3000
jne 0x1003ed74
mov eax, dword [0x1020b1f4]
cmp byte [eax + ebx + 0xe08], 0
je 0x1003ed71
movss xmm1, dword [esi + eax]
comiss xmm0, xmm1
ja 0x1003ed71
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003ed71
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.10043910
add esp, 8
test al, al
mov eax, dword [ebp - 4]
je 0x1003ed74
mov byte [edi + 0x5e10], bl
jmp 0x1003ed74
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x385c
jl 0x1003ed28
mov eax, dword [0x1020b1f4]
push 0
push 0
or dword [eax + 0x492c], 0x40
mov dword [eax + 0x4984], 0x3f333333
call fcn.10032b20
mov edi, dword [ebp - 0xc]
add esp, 8
test al, al
je 0x1003ee31
mov esi, dword [ebp - 0x10]
push esi
push str.HoveredId:_0x_08X
call fcn.10068d70
push str.Press_ESC_to_abort_picking.
call fcn.10068d70
add esp, 0xc
mov dword [ebp - 0x18], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x14], str.Right
mov dword [ebp - 0x10], str.Middle
jne 0x1003edf8
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10068d70
add esp, 4
jmp 0x1003ee2c
mov eax, dword [ebp - 8]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5e10]
push dword [ebp + eax*4 - 0x18]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x1020b1f4]
add eax, 0x3998
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10068de0
add esp, 0xc
call fcn.10034990
call fcn.10043aa0
mov al, byte [edi + 0x5e0d]
test al, al
je 0x1003ee54
sub al, 1
mov byte [edi + 0x5e0d], al
jne 0x1003ee54
mov dword [edi + 0x48cc], 0
mov al, byte [edi + 0x5e0c]
test al, al
je 0x1003ee7c
sub al, 1
mov byte [edi + 0x5e0c], al
jne 0x1003ee7c
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.100345b0
add esp, 4
and dword [edi + 0x5dec], 0xffffffef
mov byte [edi + 0x3f35], 1
mov eax, dword [0x1020b1f4]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x492c], 2
mov dword [eax + 0x494c], 0x43c80000
mov dword [eax + 0x4950], 0x43c80000
mov dword [eax + 0x4934], 4
call fcn.1002fa10
add esp, 0xc
cmp byte [edi + 0x65], 0
je 0x1003eef9
mov cl, byte [edi + 0x5e0e]
cmp cl, 0xff
jne 0x1003eed3
xor edx, edx
jmp 0x1003eefc
mov eax, dword [edi + 0x3f28]
and eax, reloc.WS2_32.dll_closesocket
jns 0x1003eee5
dec eax
or eax, 0xfffffffc
inc eax
neg eax
movsx ecx, cl
sbb eax, eax
inc eax
add eax, ecx
mov ecx, 0xa
cdq
idiv ecx
jmp 0x1003eefc
or dl, 0xff
mov byte [edi + 0x5e0e], dl
mov eax, dword [edi + 0x5d88]
mov esi, dword [edi + 0x5d90]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1003ef2f
cmp dword [esi + 4], 1
jne 0x1003ef28
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1003ef18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret