Function at 0x10048f20
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 [0x1023bb74]
push esi
push edi
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebx + 0x2ee0]
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
test eax, eax
js 0x10048fb4
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x2ee8]
cmp dword [ecx + edi + 4], 7
jne 0x10048fa3
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 + 0x2ee0]
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 + 0x2ee0]
mov ecx, dword [ebx + 0x2ee0]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x10048f50
xor esi, esi
test ecx, ecx
jle 0x10048fe4
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2ee8]
add eax, edi
cmp dword [eax + 4], 0
jne 0x10048fd8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ee0]
jl 0x10048fc0
mov eax, dword [0x1023bb74]
cmp byte [eax + 0xb4], 0
je 0x10048fff
test byte [eax + 0xc], 2
jne 0x10048fff
mov byte [eax + 0xb4], 0
mov esi, dword [0x1023bb74]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp byte [esi + 0x2ea9], 0
jne 0x10049113
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004910c
push 0x10215ae8
push eax
call fcn.10043b30
mov edi, eax
add esp, 8
test edi, edi
je 0x10049106
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 0x100491c8
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 0x100491c8
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 0x100491c8
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 0x100491c8
mov eax, dword [0x1023bb74]
test eax, eax
je 0x100490a3
inc dword [eax + 0x370]
push dword [0x1023bc80]
push dword [ebp - 4]
call dword [0x102365d8]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x100491c8
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 0x1004919d
call eax
mov eax, dword [0x1023bb74]
add esp, 4
test eax, eax
je 0x100490f3
dec dword [eax + 0x370]
push dword [0x1023bc80]
mov edi, dword [ebp - 8]
push edi
call dword [0x102365dc]
add esp, 8
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [esi + 0x2ea9], 1
movss xmm1, dword [esi + 0x2eac]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100491ea
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x2eac], xmm1
jb 0x100491ea
mov eax, dword [esi + 0x20]
mov dword [ebp - 4], eax
test eax, eax
je 0x100491d9
mov eax, dword [0x1023bb74]
mov dword [ebp - 8], 0
mov dword [eax + 0x2eac], 0
lea eax, [ebp - 8]
push eax
call fcn.1004d500
push 0x10215aec
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.10043b30
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x100491e0
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 0x100491e0
call eax
push dword [ebp - 4]
mov edi, dword [ebp - 8]
push edi
call fcn.10045870
mov eax, dword [0x1023bb74]
add esp, 0xc
test eax, eax
je 0x100491bd
dec dword [eax + 0x370]
push dword [0x1023bc80]
jmp 0x100490fc
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call edi
add esp, 4
jmp 0x1004910c
mov byte [esi + 0x358], 1
mov dword [esi + 0x2eac], 0
movss xmm1, dword [ebx + 0x18]
inc dword [ebx + 0x1b48]
cvtps2pd xmm0, xmm1
mov byte [ebx + 0x1b54], 1
mov dword [ebx + 0x2e78], 0
mov dword [ebx + 0x1ba0], 0
addsd xmm0, qword [ebx + 0x1b40]
movsd qword [ebx + 0x1b40], xmm0
mov ecx, dword [ebx + 0x2e90]
test ecx, ecx
jns 0x1004924e
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 + 0x2e8c]
call fcn.100506b0
movss xmm1, dword [ebx + 0x18]
mov dword [ebx + 0x2e8c], 0
movaps xmm0, xmm1
mov eax, dword [ebx + 0x311c]
mov ecx, 0x78
movss xmm2, dword [0x10215be8]
xorps xmm3, xmm3
movss xmm4, dword [0x100fc7b8]
movss dword [ebp - 4], xmm2
subss xmm0, dword [ebx + eax*4 + 0x2f3c]
addss xmm0, dword [ebx + 0x3120]
movss dword [ebx + 0x3120], xmm0
movss dword [ebx + eax*4 + 0x2f3c], xmm1
mov eax, dword [ebx + 0x311c]
inc eax
movss xmm1, dword [ebx + 0x3120]
cdq
idiv ecx
comiss xmm1, xmm3
mov dword [ebx + 0x311c], edx
jbe 0x100492ce
divss xmm1, dword [0x10215bdc]
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x100492d1
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edi, edi
mov esi, dword [0x1023bb74]
mov eax, dword [esi + 0x1d0c]
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 + 0x1d04], edi
jle 0x100493ee
nop word [eax + eax]
mov eax, dword [esi + 0x1d0c]
movaps xmm2, xmm3
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
movss xmm1, dword [edx + 4]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x90]
mov dword [edx + 0x7c], ecx
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov dword [edx + 0x90], 0
mov eax, dword [edx + 0x90]
mov dword [edx + 0x94], 0
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x88], eax
mov dword [edx + 0x8c], ecx
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 0x78]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x78]
addss xmm0, dword [edx + 0x80]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp edi, dword [esi + 0x1d04]
jl 0x10049320
movss xmm2, dword [0x10215be8]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [0x1023bb74]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x10049413
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
mov ecx, dword [esi + 0x1bac]
movaps xmm0, xmm4
mov dword [esi + 0x193c], edi
movss xmm1, dword [edi + 0x10]
mulss xmm1, dword [esi + 0x9c]
mulss xmm1, dword [edi + 0x40]
maxss xmm0, xmm1
movss dword [esi + 0x1944], xmm0
test ecx, ecx
je 0x1004946b
mov eax, dword [0x1023bb74]
movss xmm3, dword [ecx + 0x28c]
mulss xmm3, dword [eax + 0x1944]
mov eax, dword [ecx + 0x328]
test eax, eax
je 0x1004946b
mulss xmm3, dword [eax + 0x28c]
movss xmm4, dword [0x10215bf8]
movaps xmm7, xmm2
movss dword [esi + 0x1940], xmm3
movaps xmm6, xmm2
mov edx, dword [edi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x1948], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x194c], ecx
mov dword [esi + 0x1b38], eax
mov dword [esi + 0x1950], edi
movss dword [esi + 0x1954], xmm3
mov edx, dword [ebx + 0x1d04]
test edx, edx
jle 0x10049504
mov ecx, dword [ebx + 0x1d0c]
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 0x100494e4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x100494ec
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x100494f4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x100494fc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x100494c0
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 + 0x1948]
mov dword [ebx + 0x1958], eax
movups xmmword [ebx + 0x1960], xmm0
movss xmm0, dword [ebx + 0x15d8]
movss dword [esp], xmm0
call fcn.100578e0
xor edx, edx
mov dword [ebx + 0x1970], 0
cmp byte [ebx + 0x15d0], dl
je 0x1004956b
mov dword [ebx + 0x1970], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x1004958d
mov eax, dword [ebx + 0x193c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1004958d
or ecx, 2
mov dword [ebx + 0x1970], ecx
cmp byte [ebx + 0x15d2], 0
je 0x1004959f
or ecx, 4
mov dword [ebx + 0x1970], ecx
test byte [ebx + 0xc], 8
je 0x100495ae
or ecx, 8
mov dword [ebx + 0x1970], ecx
xor esi, esi
cmp dword [ebx + 0x1d04], esi
jle 0x100495e2
nop dword [eax + eax]
mov eax, dword [ebx + 0x1d0c]
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 + 0x1d04]
jl 0x100495c0
cmp byte [ebx + 0x1e54], 0
je 0x1004961c
mov eax, dword [ebx + 0x1e6c]
cmp eax, dword [ebx + 0x1be0]
jne 0x1004961c
mov ecx, dword [0x1023bb74]
cmp dword [ecx + 0x1be0], eax
jne 0x1004960d
mov dword [ecx + 0x1be8], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x1004961c
mov byte [ecx + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
mov eax, dword [ebx + 0x1bcc]
jne 0x10049637
mov dword [ebx + 0x1bd8], 0
jmp 0x10049645
mov edx, eax
test eax, eax
je 0x10049651
cmp dword [ebx + 0x1be0], eax
jne 0x10049651
mov dword [ebx + 0x1bdc], 0
mov edx, eax
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1be0]
test edx, edx
je 0x1004968a
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp ecx, edx
je 0x1004968a
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm0
movaps xmm1, xmm2
mov al, byte [ebx + 0x1bd5]
mov dword [ebx + 0x1bd0], edx
mov edx, ecx
mov byte [ebx + 0x1bd6], al
mov dword [ebx + 0x1bcc], 0
mov word [ebx + 0x1bd4], 0
mov byte [ebx + 0x1bd7], 0
cmp dword [ebx + 0x1be8], ecx
je 0x100496df
cmp dword [ebx + 0x1c1c], ecx
jne 0x100496df
test ecx, ecx
je 0x100496df
call fcn.100408f0
mov edx, dword [ebx + 0x1be0]
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x100496f6
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bec]
movss dword [ebx + 0x1bec], xmm0
mov eax, dword [ebx + 0x1c10]
addss xmm1, dword [ebx + 0x1c2c]
mov dword [ebx + 0x1c24], eax
mov al, byte [ebx + 0x1bf4]
mov byte [ebx + 0x1c21], al
mov eax, dword [ebx + 0x2e38]
movss dword [ebx + 0x1c2c], xmm1
mov dword [ebx + 0x1c1c], edx
mov dword [ebx + 0x1be8], 0
mov byte [ebx + 0x1bf5], 0
mov byte [ebx + 0x1c20], 0
mov byte [ebx + 0x1bf0], 0
test eax, eax
je 0x1004975b
cmp edx, eax
je 0x1004975b
mov dword [ebx + 0x2e38], 0
test edx, edx
jne 0x10049777
mov dword [ebx + 0x1bf8], edx
mov dword [ebx + 0x1bfc], edx
mov dword [ebx + 0x1c00], edx
mov dword [ebx + 0x1c04], edx
mov eax, dword [ebx + 0x1eb8]
lea edi, [ebx + 0xc58]
mov dword [ebx + 0x1ebc], eax
xor eax, eax
mov dword [ebx + 0x1eb8], 0
mov dword [ebx + 0x1eb4], 0x7f7fffff
mov word [ebx + 0x1e55], 0
mov dword [ebx + 0x1ec4], 0
mov esi, dword [0x1023bb74]
movss xmm2, dword [0x10215bf0]
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 0x10049832
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004982b
xorps xmm0, xmm0
jmp 0x10049835
addss xmm0, dword [ebx + 0x18]
jmp 0x10049835
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10049810
call fcn.10046cd0
call fcn.1004e780
call fcn.1004e580
mov esi, dword [0x1023bb74]
mov ecx, dword [esi + 0x1bb8]
test ecx, ecx
je 0x10049967
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be8], eax
cmp dword [esi + 0x1c1c], eax
jne 0x10049883
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov edi, dword [ecx + 0x32c]
je 0x10049956
mov edx, dword [0x1023bb74]
lea eax, [esi + 0xe4]
test eax, eax
je 0x100498ab
mov dword [ebp - 8], eax
jmp 0x100498b4
lea ebx, [edx + 0xe4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
movss xmm1, dword [0x10215bf4]
movss xmm0, dword [ebx]
comiss xmm0, xmm1
movss xmm2, dword [ebx + 4]
mov ebx, dword [ebp - 0xc]
jb 0x10049956
comiss xmm2, xmm1
jb 0x10049956
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c08]
movss xmm0, dword [edi + 0x18]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c0c]
ucomiss xmm0, xmm1
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm2
lahf
test ah, 0x44
jp 0x10049918
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1004994b
test dword [edi + 0x14], 0x100
jne 0x10049936
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x2eac]
jb 0x10049936
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2eac], eax
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.1004e200
mov ecx, dword [esi + 0x1bb8]
add esp, 0xc
push ecx
call fcn.10042830
add esp, 4
jmp 0x1004999f
call fcn.100408f0
mov dword [esi + 0x1bb8], 0
jmp 0x1004999f
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x1004999f
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x5c], eax
jne 0x1004999f
mov dword [esi + 0x1be8], eax
cmp dword [esi + 0x1c1c], eax
jne 0x10049991
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x1004999f
call fcn.100408f0
mov eax, dword [0x1023bb74]
mov edx, dword [eax + 0x1cec]
sub edx, 1
js 0x100499d7
mov eax, dword [eax + 0x1cf4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x100499cf
test dword [ecx + 0x14], 0x8000000
jne 0x100499f1
sub eax, 0x24
sub edx, 1
jns 0x100499c0
cmp dword [ebx + 0x1e18], 0
je 0x10049a10
movss xmm0, dword [ebx + 0x1e28]
comiss xmm0, dword [0x100fda58]
jbe 0x10049a10
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x10215bc8]
addss xmm1, dword [ebx + 0x1e4c]
minss xmm1, dword [0x100fc7b8]
jmp 0x10049a31
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10214f8c]
movss xmm1, dword [ebx + 0x1e4c]
subss xmm1, xmm0
maxss xmm1, dword [0x100fda58]
movss dword [ebx + 0x1e4c], xmm1
mov dword [ebx + 0x1e50], 0
mov dword [ebx + 0x312c], 0xffffffff
mov dword [ebx + 0x3128], 0xffffffff
mov dword [ebx + 0x3124], 0xffffffff
mov dword [ebx + 0x2e98], 0x3f800000
mov dword [ebx + 0x2e9c], 0x3f800000
call fcn.1004ed40
mov esi, dword [0x1023bb74]
mov ecx, dword [esi + 0x1d10]
test ecx, ecx
je 0x10049b57
cmp byte [ecx + 0x96], 0
je 0x10049b57
test dword [ecx + 0x14], 0x40000
jne 0x10049b57
cmp byte [esi + 0xfc], 0
jne 0x10049b57
mov eax, dword [esi + 0x34]
xorps xmm1, xmm1
test eax, eax
js 0x10049b5a
movss xmm0, dword [esi + eax*4 + 0x458]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10049b53
movss xmm3, dword [esi + 0x8c]
comiss xmm0, xmm3
jbe 0x10049b5a
movss xmm4, dword [esi + 0x90]
movaps xmm2, xmm0
subss xmm2, dword [esi + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10049b02
mov eax, 1
jmp 0x10049b4f
comiss xmm2, xmm0
jb 0x10049b0b
xor eax, eax
jmp 0x10049b4f
comiss xmm1, xmm4
jb 0x10049b21
comiss xmm3, xmm2
jbe 0x10049b07
comiss xmm0, xmm3
jb 0x10049b07
mov eax, 1
jmp 0x10049b4f
comiss xmm3, xmm2
jbe 0x10049b2b
or edx, 0xffffffff
jmp 0x10049b37
subss xmm2, xmm3
divss xmm2, xmm4
cvttss2si edx, xmm2
comiss xmm3, xmm0
jbe 0x10049b41
or eax, 0xffffffff
jmp 0x10049b4d
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edx
test eax, eax
jle 0x10049b5a
mov al, 1
jmp 0x10049b5c
xorps xmm1, xmm1
xor al, al
cmp dword [esi + 0x1be0], 0
mov byte [esi + 0x1e48], al
jne 0x10049bbb
test al, al
je 0x10049bbb
cmp dword [esi + 0x1d14], 0
mov dword [esi + 0x1e34], ecx
mov dword [esi + 0x1e40], 0x7fffffff
je 0x10049baa
mov ecx, dword [esi + 0x1d5c]
cmp ecx, 0x7fffffff
je 0x10049baa
xor edx, edx
mov eax, 2
cmp byte [esi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x10049bb5
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e44], eax
mov edi, dword [esi + 0x1e34]
mov dword [esi + 0x1e30], 0
mov dword [esi + 0x1e3c], 0x7fffffff
mov dword [esi + 0x1e38], 0x7fffffff
test edi, edi
je 0x10049c4f
mov eax, dword [esi + 0x1e40]
mov dword [esi + 0x1e30], edi
cmp eax, 0x7fffffff
je 0x10049c0d
mov ecx, dword [edi + 0x1b4]
cmp ecx, 0xffffffff
je 0x10049c0d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e38], edx
mov eax, dword [esi + 0x1e44]
cmp eax, 0x7fffffff
je 0x10049c31
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x10049c31
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e3c], edx
mov dword [esi + 0x1e34], 0
mov dword [esi + 0x1e44], 0x7fffffff
mov dword [esi + 0x1e40], 0x7fffffff
mov dword [esi + 0x1d5c], 0x7fffffff
cmp byte [ebx + 0x1b57], 0
jne 0x10049c86
movss xmm0, dword [ebx + 0xb8]
comiss xmm1, xmm0
ja 0x10049c86
movsd xmm1, qword [ebx + 0x1b40]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x10049c8e
movss xmm1, dword [0x10215be8]
xor edi, edi
cmp dword [ebx + 0x1b64], edi
je 0x10049e43
nop dword [eax]
mov eax, dword [ebx + 0x1b6c]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x96]
mov byte [esi + 0x97], al
mov word [esi + 0xa2], cx
mov byte [esi + 0x96], cl
mov byte [esi + 0x98], cl
test al, al
jne 0x10049e31
cmp byte [esi + 0x36c], cl
jne 0x10049e31
comiss xmm1, dword [esi + 0x26c]
jbe 0x10049e31
mov ecx, dword [esi + 0x294]
mov byte [esi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x10049d51
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049d37
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [esi + 0xd4], 0
mov ecx, dword [esi + 0x294]
call fcn.100581c0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x10049da3
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049d89
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [esi + 0x19c], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x10049dea
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049dd0
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [esi + 0x1d0], 0
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
je 0x10049e31
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1d4], 0
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049e17
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [esi + 0x1dc], 0
movss xmm1, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b64]
jne 0x10049ca0
xor esi, esi
cmp dword [ebx + 0x1f10], esi
jle 0x10049e8f
xor edi, edi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x1f18]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x10049e80
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x10049e80
mov eax, dword [ebx + 0x1ef0]
add eax, edi
push eax
call fcn.10062bd0
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x228
cmp esi, dword [ebx + 0x1f10]
jl 0x10049e52
cmp byte [ebx + 0x1b57], 0
je 0x10049f35
mov esi, dword [0x1023bb74]
mov ecx, dword [esi + 0x1cdc]
test ecx, ecx
je 0x10049ee9
mov dword [esi + 0x1cd8], 0
mov dword [esi + 0x1cd4], 0
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049ecf
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [esi + 0x1cdc], 0
mov ecx, dword [esi + 0x1ce8]
test ecx, ecx
je 0x10049f30
mov dword [esi + 0x1ce4], 0
mov dword [esi + 0x1ce0], 0
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049f16
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [esi + 0x1ce8], 0
call fcn.100629e0
mov eax, dword [ebx + 0x1d10]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x10049f5b
cmp byte [eax + 0x97], 0
jne 0x10049f5b
push 0
push 0
call fcn.10042770
add esp, 8
mov ecx, dword [ebx + 0x1b8c]
test ecx, ecx
jns 0x10049f81
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 + 0x1b88]
call fcn.100506b0
mov dword [ebx + 0x1b88], 0
mov ecx, dword [ebx + 0x1cfc]
test ecx, ecx
jns 0x10049fb1
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 + 0x1cf8]
call fcn.10050740
mov dword [ebx + 0x1cf8], 0
mov ecx, dword [ebx + 0x1cd8]
mov eax, ecx
mov edi, ecx
test ecx, ecx
jns 0x1004a064
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 0x1004a064
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10049ff4
inc dword [eax + 0x370]
push dword [0x1023bc80]
lea eax, [esi*4]
push eax
call dword [0x102365d8]
mov edx, dword [ebx + 0x1cdc]
add esp, 8
mov edi, eax
test edx, edx
je 0x1004a054
mov ecx, dword [ebx + 0x1cd4]
shl ecx, 2
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x1cdc]
add esp, 0xc
test ecx, ecx
je 0x1004a044
mov eax, dword [0x1023bb74]
test eax, eax
je 0x1004a044
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [ebx + 0x1cdc], edi
mov eax, esi
mov dword [ebx + 0x1cd8], esi
mov edi, esi
mov dword [ebx + 0x1cd4], 0
test eax, eax
jne 0x1004a119
test edi, edi
je 0x1004a097
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 0x1004a119
jmp 0x1004a09e
mov eax, 8
mov esi, eax
mov eax, dword [0x1023bb74]
test eax, eax
je 0x1004a0ad
inc dword [eax + 0x370]
push dword [0x1023bc80]
lea eax, [esi*4]
push eax
call dword [0x102365d8]
mov edx, dword [ebx + 0x1cdc]
add esp, 8
mov edi, eax
test edx, edx
je 0x1004a10d
mov ecx, dword [ebx + 0x1cd4]
shl ecx, 2
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x1cdc]
add esp, 0xc
test ecx, ecx
je 0x1004a0fd
mov eax, dword [0x1023bb74]
test eax, eax
je 0x1004a0fd
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [ebx + 0x1cdc], edi
mov dword [ebx + 0x1cd8], esi
mov ecx, dword [ebx + 0x1cd4]
mov eax, dword [ebx + 0x1cdc]
mov dword [eax + ecx*4], 0
inc dword [ebx + 0x1cd4]
mov ecx, dword [ebx + 0x1ce4]
test ecx, ecx
jns 0x1004a1d1
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 0x1004a1d1
mov eax, dword [0x1023bb74]
test eax, eax
je 0x1004a163
inc dword [eax + 0x370]
push dword [0x1023bc80]
lea eax, [esi + esi*2]
shl eax, 4
push eax
call dword [0x102365d8]
mov edi, eax
add esp, 8
mov eax, dword [ebx + 0x1ce8]
test eax, eax
je 0x1004a1c5
mov ecx, dword [ebx + 0x1ce0]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x1ce8]
add esp, 0xc
test ecx, ecx
je 0x1004a1b5
mov eax, dword [0x1023bb74]
test eax, eax
je 0x1004a1b5
dec dword [eax + 0x370]
push dword [0x1023bc80]
push ecx
call dword [0x102365dc]
add esp, 8
mov dword [ebx + 0x1ce8], edi
mov dword [ebx + 0x1ce4], esi
mov dword [ebx + 0x1ce0], 0
push 0
push dword [ebx + 0x1d10]
call fcn.10040bd0
mov edx, dword [0x1023bb74]
add esp, 8
cmp byte [edx + 0x2f24], 0
mov dword [edx + 0x2f28], 0
je 0x1004a358
mov eax, dword [0x1023bb74]
xorps xmm1, xmm1
mov esi, dword [edx + 0x1bd0]
mov dword [eax + 0x1e50], 7
mov ecx, dword [0x1023bb74]
mov eax, dword [ecx + 0x6c]
test eax, eax
js 0x1004a2d6
movss xmm0, dword [ecx + eax*4 + 0x458]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004a2c9
movss xmm3, dword [ecx + 0x8c]
comiss xmm0, xmm3
jbe 0x1004a2d6
movss xmm4, dword [ecx + 0x90]
movaps xmm2, xmm0
subss xmm2, dword [ecx + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004a278
mov eax, 1
jmp 0x1004a2c5
comiss xmm2, xmm0
jb 0x1004a281
xor eax, eax
jmp 0x1004a2c5
comiss xmm1, xmm4
jb 0x1004a297
comiss xmm3, xmm2
jbe 0x1004a27d
comiss xmm0, xmm3
jb 0x1004a27d
mov eax, 1
jmp 0x1004a2c5
comiss xmm3, xmm2
jbe 0x1004a2a1
or edi, 0xffffffff
jmp 0x1004a2ad
subss xmm2, xmm3
divss xmm2, xmm4
cvttss2si edi, xmm2
comiss xmm3, xmm0
jbe 0x1004a2b7
or eax, 0xffffffff
jmp 0x1004a2c3
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edi
test eax, eax
jle 0x1004a2d6
mov byte [edx + 0x2f24], 0
mov ecx, dword [0x1023bb74]
movss xmm0, dword [ecx + 0x3f4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004a2fe
test esi, esi
je 0x1004a2fe
mov dword [edx + 0x2f28], esi
mov byte [edx + 0x2f24], 0
mov ecx, dword [0x1023bb74]
or dword [ecx + 0x1c30], 0x40
push 0
push 0
mov dword [ecx + 0x1c84], 0x3f19999a
call fcn.1003f850
push esi
push str.HoveredId:_0x_08X
call fcn.100799d0
push str.Press_ESC_to_abort_picking.
call fcn.100799d0
xor ecx, ecx
mov eax, 0x10
test esi, esi
push str.Click_to_break_in_debugger_
cmove ecx, eax
mov eax, dword [0x1023bb74]
add eax, 0x15dc
add eax, ecx
push eax
call fcn.100799f0
add esp, 0x1c
call fcn.10041400
mov byte [ebx + 0x1b55], 1
mov eax, dword [0x1023bb74]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x1c30], 2
mov dword [eax + 0x1c50], 0x43c80000
mov dword [eax + 0x1c54], 0x43c80000
mov dword [eax + 0x1c38], 4
call fcn.1003cfc0
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2ee0], esi
jle 0x1004a3d4
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2ee8]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1004a3c8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ee0]
jl 0x1004a3b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret