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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, dword [0x10099cbc]
mov dword [esp + 0x18], edi
mov ecx, dword [edi + 0x2f54]
lea edx, [edi + 0x2f5c]
sub ecx, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
js 0x1001a428
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esp + 0x1c], eax
nop dword [eax]
mov edx, dword [edx]
cmp dword [eax + edx + 4], 7
jne 0x1001a40a
mov esi, dword [edi + 0x2f5c]
mov ecx, eax
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 + 0x2f54]
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 [esp + 0x28]
add esp, 0xc
dec dword [edi + 0x2f54]
mov ecx, dword [esp + 0x20]
dec ecx
lea edx, [edi + 0x2f5c]
sub eax, 0x14
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
test ecx, ecx
jns 0x1001a3b0
lea edx, [edi + 0x2f5c]
jmp 0x1001a42c
mov dword [esp + 0x24], edx
xor esi, esi
cmp dword [edi + 0x2f54], esi
jle 0x1001a46c
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop dword [eax]
mov eax, dword [edx]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x1001a45c
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
inc esi
add ecx, 0x14
mov dword [esp + 0x20], ecx
cmp esi, dword [edi + 0x2f54]
jl 0x1001a440
mov eax, dword [0x10099cbc]
cmp byte [eax + 0xb4], 0
je 0x1001a487
test byte [eax + 0xc], 2
jne 0x1001a487
mov byte [eax + 0xb4], 0
mov esi, eax
cmp byte [esi + 0x2f1d], 0
lea ecx, [esi + 0x20]
jne 0x1001a4f7
mov edx, dword [ecx]
test edx, edx
je 0x1001a4f0
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov ecx, edx
call fcn.10016ae0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1001a4e8
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.100285f0
mov ecx, dword [0x10099cbc]
test ecx, ecx
je 0x1001a4d6
dec dword [ecx + 0x36c]
push dword [0x10099cb8]
push dword [esp + 0x30]
call fcn.10015f40
add esp, 8
mov eax, dword [0x10099cbc]
lea ecx, [esi + 0x20]
mov byte [esi + 0x2f1d], 1
movss xmm0, dword [esi + 0x2f20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001a58d
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f20], xmm0
jb 0x1001a58d
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1001a57c
lea ecx, [esp + 0x20]
mov dword [eax + 0x2f20], 0
mov dword [esp + 0x20], 0
call fcn.10028900
mov ecx, dword [esp + 0x2c]
mov edx, 0x1008373c
mov dword [esp + 0x28], eax
call fcn.100169d0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1001a583
push eax
push dword [esp + 0x24]
push 1
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x3c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x1001a583
mov byte [esi + 0x354], 1
mov dword [esi + 0x2f20], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x1b44], 1
mov word [edi + 0x2eee], ax
mov dword [edi + 0x1b8c], eax
addsd xmm0, qword [edi + 0x1b30]
movsd qword [edi + 0x1b30], xmm0
mov ecx, dword [edi + 0x2f04]
test ecx, ecx
jns 0x1001a5e7
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 + 0x2f00]
call fcn.10029b10
mov dword [edi + 0x2f00], 0
mov ecx, 0x78
mov eax, dword [edi + 0x31a8]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1008e52c]
movss xmm4, dword [0x1008e328]
subss xmm0, dword [edi + eax*4 + 0x2fc8]
movss dword [esp + 0x1c], xmm2
addss xmm0, dword [edi + 0x31b0]
movss dword [edi + 0x31b0], xmm0
movss dword [edi + eax*4 + 0x2fc8], xmm1
mov eax, dword [edi + 0x31a8]
inc eax
movss xmm1, dword [edi + 0x31b0]
cdq
idiv ecx
mov eax, dword [edi + 0x31ac]
inc eax
mov dword [edi + 0x31a8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x31ac], ecx
jbe 0x1001a682
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1001a685
movaps xmm0, xmm2
mov esi, dword [0x10099cbc]
movss dword [edi + 0x358], xmm0
mov eax, dword [esi + 0x1d3c]
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 + 0x1d34], 0
jle 0x1001a79c
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0x1d3c]
movaps xmm2, xmm3
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
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 dword [edx + 0x94], 0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], 0
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x78]
addss xmm1, dword [edx + 4]
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 + 0x1d34]
jl 0x1001a6d0
movss xmm2, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x98]
mov byte [eax + 0x10], 1
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1001a7c3
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x1b98]
movaps xmm0, xmm4
mov dword [esi + 0x1930], eax
movss xmm1, dword [eax + 0x10]
mulss xmm1, dword [esi + 0x9c]
mulss xmm1, dword [eax + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x1938], xmm0
test ecx, ecx
je 0x1001a810
mulss xmm0, dword [ecx + 0x238]
mov ecx, dword [ecx + 0x2d4]
test ecx, ecx
je 0x1001a813
mulss xmm0, dword [ecx + 0x238]
jmp 0x1001a813
movaps xmm0, xmm3
movss xmm4, dword [0x1008e594]
movaps xmm7, xmm2
movss dword [esi + 0x1934], xmm0
movaps xmm6, xmm2
mov edx, dword [eax + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x193c], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x1b2c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1940], ecx
mov dword [esi + 0x1944], eax
movss dword [esi + 0x1948], xmm0
mov edx, dword [edi + 0x1d34]
test edx, edx
jle 0x1001a8b4
mov ecx, dword [edi + 0x1d3c]
nop dword [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 0x1001a894
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001a89c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1001a8a4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1001a8ac
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1001a870
mov eax, dword [edi + 0x15d8]
movss xmm1, dword [edi + 0x15dc]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm5
movups xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x194c], eax
movups xmmword [edi + 0x1954], xmm0
movss xmm0, dword [edi + 0x1950]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001a9f1
xor eax, eax
movss dword [edi + 0x1950], xmm1
mov dword [esp + 0x20], eax
mov esi, 0x200
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test eax, eax
je 0x1001a99d
movss xmm1, dword [edi + 0x1950]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1008e328]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x1008e3c0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1001a993
mov eax, 4
jmp 0x1001a99f
cmp eax, 0x200
cmovg eax, esi
jmp 0x1001a99f
xor eax, eax
mov ecx, dword [esp + 0x20]
mov byte [ecx + edi + 0x1aec], al
mov eax, ecx
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x40
jl 0x1001a914
movsd xmm0, qword [0x1008e348]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1008e328]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x10099cbc]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x1950]
divss xmm0, xmm1
movss dword [edi + 0x1ae8], xmm0
xor edx, edx
mov dword [edi + 0x1964], 0
cmp byte [edi + 0x15d4], dl
je 0x1001aa14
mov dword [edi + 0x1964], 1
mov edx, 1
cmp byte [edi + 0x15d5], 0
mov ecx, edx
je 0x1001aa36
mov eax, dword [edi + 0x1930]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001aa36
or ecx, 2
mov dword [edi + 0x1964], ecx
cmp byte [edi + 0x15d6], 0
je 0x1001aa48
or ecx, 4
mov dword [edi + 0x1964], ecx
test byte [edi + 0xc], 8
je 0x1001aa57
or ecx, 8
mov dword [edi + 0x1964], ecx
cmp dword [edi + 0x1d34], 0
jle 0x1001aa8a
xor esi, esi
mov eax, dword [edi + 0x1d3c]
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 [edi + 0x1d34]
jl 0x1001aa62
mov esi, dword [0x10099cbc]
cmp byte [edi + 0x1e8c], 0
je 0x1001aabe
mov eax, dword [edi + 0x1ea4]
cmp eax, dword [edi + 0x1bd0]
jne 0x1001aabe
cmp dword [esi + 0x1bd0], eax
jne 0x1001aaaf
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1001aabe
mov byte [esi + 0x1c10], 1
cmp dword [edi + 0x1bc0], 0
lea eax, [edi + 0x1bbc]
mov ecx, dword [eax]
jne 0x1001aae9
mov edx, ecx
mov dword [edi + 0x1bc8], 0
mov dword [edi + 0x1bcc], 0
mov ecx, eax
jmp 0x1001ab11
mov dword [esp + 0x20], eax
mov edx, ecx
test ecx, ecx
je 0x1001ab0d
mov dword [esp + 0x20], eax
cmp dword [edi + 0x1bd0], ecx
jne 0x1001ab0d
mov dword [edi + 0x1bcc], 0
mov ecx, eax
jmp 0x1001ab11
mov ecx, dword [esp + 0x20]
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x1001ab48
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x1bc8]
movss dword [edi + 0x1bc8], xmm0
cmp dword [edi + 0x1bd0], edx
je 0x1001ab48
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x1bcc]
movss dword [edi + 0x1bcc], xmm0
mov al, byte [edi + 0x1bc5]
movaps xmm2, xmm1
mov byte [edi + 0x1bc6], al
mov eax, dword [edi + 0x1bd0]
mov dword [edi + 0x1bc0], edx
mov dword [ecx], 0
mov word [edi + 0x1bc4], 0
mov byte [edi + 0x1bc7], 0
cmp dword [edi + 0x1bd4], eax
je 0x1001ab97
cmp dword [edi + 0x1c0c], eax
jne 0x1001ab97
test eax, eax
je 0x1001ab97
call fcn.10018ef0
movss xmm2, dword [edi + 0x18]
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x1001abb4
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1bd8]
movss dword [edi + 0x1bd8], xmm0
mov eax, dword [edi + 0x1c00]
addss xmm2, dword [edi + 0x1c1c]
mov dword [edi + 0x1c14], eax
mov al, byte [edi + 0x1be0]
mov byte [edi + 0x1c11], al
mov eax, dword [edi + 0x2e80]
movss dword [edi + 0x1c1c], xmm2
mov dword [edi + 0x1c0c], ecx
mov dword [edi + 0x1bd4], 0
mov byte [edi + 0x1be1], 0
mov byte [edi + 0x1c10], 0
mov byte [edi + 0x1bdc], 0
test eax, eax
je 0x1001ac19
cmp ecx, eax
je 0x1001ac19
mov dword [edi + 0x2e80], 0
test ecx, ecx
jne 0x1001ac35
mov dword [edi + 0x1be4], ecx
mov dword [edi + 0x1be8], ecx
mov dword [edi + 0x1bf0], ecx
mov dword [edi + 0x1bf4], ecx
cmp byte [edi + 0x1508], 0
mov eax, dword [edi + 0x1ef0]
mov dword [edi + 0x1ef4], eax
mov dword [edi + 0x1ef0], 0
mov dword [edi + 0x1eec], 0x7f7fffff
mov word [edi + 0x1e8d], 0
mov dword [edi + 0x1efc], 0
je 0x1001acec
push 0x200
lea eax, [edi + 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x464]
mov ecx, 0x200
mov dword [eax + 0x800], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x1001ac92
mov dword [edi + 0xfc], ecx
lea eax, [edi + 0x1464]
mov dword [edi + 0x380], ecx
mov dword [edi + 0x37c], ecx
mov ecx, 0x14
nop dword [eax + eax]
mov dword [eax + 0x50], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x1001acd0
mov byte [edi + 0x1508], cl
xor eax, eax
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 [edi + 0x37c], eax
lea eax, [edi + 0x464]
add edi, 0xc64
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
xor ecx, ecx
cmp byte [esi + ecx + 0x100], 0
je 0x1001ad67
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1001ad60
xorps xmm0, xmm0
jmp 0x1001ad6f
addss xmm0, dword [esi + 0x18]
jmp 0x1001ad6f
movss xmm0, dword [0x1008e550]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1001ad45
call fcn.100259d0
call fcn.10019860
call fcn.1001a100
mov edi, dword [0x10099cbc]
mov ecx, dword [edi + 0x1ba4]
test ecx, ecx
je 0x1001ae91
mov eax, dword [edi + 0x1bd0]
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1001adbd
mov byte [edi + 0x1c10], 1
cmp byte [edi + 0xec], 0
mov ecx, dword [ecx + 0x2d8]
je 0x1001ae85
lea eax, [edi + 0xe4]
mov edx, eax
test eax, eax
jne 0x1001ade2
lea edx, [edi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x1008e590]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1001ae85
comiss xmm2, xmm1
jb 0x1001ae85
movss xmm1, dword [eax]
subss xmm1, dword [edi + 0x1bf8]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [edi + 0x1bfc]
ucomiss xmm0, xmm1
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
lahf
test ah, 0x44
jp 0x1001ae46
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001ae72
test dword [ecx + 8], 0x100
jne 0x1001ae64
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x2f20]
jb 0x1001ae64
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2f20], eax
push 1
lea edx, [esp + 0x34]
call fcn.100227c0
add esp, 4
mov ecx, dword [edi + 0x1ba4]
call fcn.100223b0
mov edi, dword [0x10099cbc]
jmp 0x1001aec9
mov dword [edi + 0x1ba4], 0
jmp 0x1001aec4
mov ecx, dword [edi + 0x1c00]
test ecx, ecx
je 0x1001aec9
mov eax, dword [edi + 0x1bd0]
cmp dword [ecx + 0x50], eax
jne 0x1001aec9
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1001aebb
mov byte [edi + 0x1c10], 1
cmp byte [edi + 0xec], 0
jne 0x1001aec9
call fcn.10018ef0
mov edx, dword [edi + 0x1d1c]
sub edx, 1
js 0x1001aefe
mov eax, dword [edi + 0x1d24]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1001aef6
test dword [ecx + 8], 0x8000000
jne 0x1001afee
sub eax, 0x24
sub edx, 1
jns 0x1001aee3
cmp dword [esi + 0x1e58], 0
xorps xmm6, xmm6
je 0x1001af1b
movss xmm0, dword [esi + 0x1e68]
comiss xmm0, xmm6
ja 0x1001aff1
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1008e414]
movss xmm1, dword [esi + 0x1e84]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [esi + 0x1e84], xmm1
mov dword [esi + 0x1e88], 0
mov dword [esi + 0x31bc], 0xffffffff
mov dword [esi + 0x31b8], 0xffffffff
mov dword [esi + 0x31b4], 0xffffffff
mov dword [esi + 0x2f0c], 0x3f800000
mov dword [esi + 0x2f10], 0x3f800000
call fcn.10019c60
mov edi, dword [0x10099cbc]
xor al, al
mov ecx, dword [edi + 0x1d40]
mov byte [edi + 0x1e80], 0
test ecx, ecx
je 0x1001b022
cmp byte [ecx + 0x8a], al
je 0x1001b022
test dword [ecx + 8], 0x40000
jne 0x1001b022
cmp byte [edi + 0xfc], al
jne 0x1001b022
cmp byte [edi + 0xfe], al
jne 0x1001b022
mov eax, dword [edi + 0x34]
test eax, eax
js 0x1001afea
mov ecx, eax
mov byte [esp + 0x17], 0
call fcn.1001d1e0
mov ecx, dword [edi + 0x1d40]
test al, al
je 0x1001b01e
mov eax, dword [edi + 0x1bf0]
and eax, 1
or eax, 0
je 0x1001b013
xor al, al
jmp 0x1001b022
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x1008e400]
addss xmm1, dword [esi + 0x1e84]
minss xmm1, dword [0x1008e328]
jmp 0x1001af38
mov byte [edi + 0x1e80], 1
mov al, 1
jmp 0x1001b022
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1bd0], 0
jne 0x1001b06c
test al, al
je 0x1001b06c
cmp dword [edi + 0x1d44], 0
mov dword [edi + 0x1e74], ecx
je 0x1001b05b
mov ecx, dword [edi + 0x1d80]
cmp ecx, 0x7fffffff
je 0x1001b05b
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x1001b066
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
mov dword [edi + 0x1e7c], eax
mov eax, dword [edi + 0x1e74]
mov dword [edi + 0x1e70], 0
mov dword [edi + 0x1e78], 0x7fffffff
test eax, eax
je 0x1001b0ca
mov edx, dword [edi + 0x1e7c]
mov dword [edi + 0x1e70], eax
cmp edx, 0x7fffffff
je 0x1001b0b6
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
je 0x1001b0b6
inc ecx
lea eax, [ecx + edx]
cdq
idiv ecx
mov dword [edi + 0x1e78], edx
mov dword [edi + 0x1e74], 0
mov dword [edi + 0x1e7c], 0x7fffffff
mov dword [edi + 0x1d80], 0x7fffffff
cmp byte [esi + 0x1b47], 0
jne 0x1001b102
movss xmm0, dword [esi + 0xb8]
comiss xmm6, xmm0
ja 0x1001b102
movsd xmm1, qword [esi + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
jmp 0x1001b108
movss xmm1, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x20], edi
cmp dword [esi + 0x1b50], edi
je 0x1001b2c8
nop word [eax + eax]
mov eax, dword [esi + 0x1b58]
xor ecx, ecx
mov edi, dword [eax + edi*4]
mov al, byte [edi + 0x8a]
mov byte [edi + 0x8b], al
mov word [edi + 0x96], cx
mov byte [edi + 0x8a], cl
mov byte [edi + 0x8c], cl
test al, al
jne 0x1001b2ad
cmp byte [edi + 0x31c], cl
jne 0x1001b2ad
comiss xmm1, dword [edi + 0x218]
jbe 0x1001b2ad
mov ecx, dword [edi + 0x240]
mov byte [edi + 0x31c], 1
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x314], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x318], eax
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x1001b1d0
mov eax, dword [0x10099cbc]
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
test eax, eax
je 0x1001b1b7
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0xcc], 0
mov ecx, dword [edi + 0x240]
call fcn.10031f10
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x1001b221
mov eax, dword [0x10099cbc]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
test eax, eax
je 0x1001b208
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0x160], 0
mov ecx, dword [edi + 0x18c]
test ecx, ecx
je 0x1001b267
mov eax, dword [0x10099cbc]
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
test eax, eax
je 0x1001b24e
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0x18c], 0
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x1001b2ad
mov eax, dword [0x10099cbc]
mov dword [edi + 0x194], 0
mov dword [edi + 0x190], 0
test eax, eax
je 0x1001b294
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0x198], 0
mov edi, dword [esp + 0x20]
movss xmm1, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x20], edi
cmp edi, dword [esi + 0x1b50]
jne 0x1001b120
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x1f50], ecx
jle 0x1001b439
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x2c], edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x1f58]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1001b41e
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm0
jbe 0x1001b41e
mov edi, dword [esi + 0x1f2c]
mov eax, dword [0x10099cbc]
add edi, edx
mov dword [esp + 0x20], eax
mov dword [edi + 0x194], 0
mov ecx, dword [edi + 0x190]
test ecx, ecx
je 0x1001b36f
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
test eax, eax
je 0x1001b356
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0x190], 0
mov byte [edi + 0x1bc], 1
mov ecx, dword [edi + 0x174]
test ecx, ecx
je 0x1001b3bc
mov eax, dword [0x10099cbc]
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
test eax, eax
je 0x1001b3a3
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0x174], 0
xor edx, edx
mov byte [edi + 0x1c6], 1
cmp dword [edi + 0x54], edx
jle 0x1001b3e5
xor ecx, ecx
or esi, 0xffffffff
nop
mov eax, dword [edi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], si
cmp edx, dword [edi + 0x54]
jl 0x1001b3d0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
xorps xmm1, xmm1
sub edi, dword [eax + 0x1f2c]
mov eax, 0x8fb823ef
imul edi
mov eax, dword [esp + 0x20]
add edx, edi
sar edx, 8
mov ecx, edx
mov eax, dword [eax + 0x1f58]
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x28]
inc ecx
add edx, 0x1c8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
cmp ecx, dword [esi + 0x1f50]
jl 0x1001b2f0
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x1f44], ecx
jle 0x1001b49d
xor edi, edi
xorps xmm1, xmm1
nop dword [eax]
mov eax, dword [esi + 0x1f4c]
mov dword [esp + 0x28], eax
movss xmm0, dword [edi + eax + 4]
comiss xmm0, xmm1
jb 0x1001b48d
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm0
jbe 0x1001b48d
lea ecx, [eax + 0x10]
add ecx, edi
call fcn.10035280
mov eax, dword [esp + 0x28]
xorps xmm1, xmm1
mov ecx, dword [esp + 0x2c]
mov dword [edi + eax + 4], 0xbf800000
inc ecx
add edi, 0x68
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 0x1f44]
jl 0x1001b450
cmp byte [esi + 0x1b47], 0
je 0x1001b53c
mov edi, dword [0x10099cbc]
mov eax, dword [edi + 0x1d0c]
test eax, eax
je 0x1001b4f1
mov dword [edi + 0x1d08], 0
mov dword [edi + 0x1d04], 0
test edi, edi
je 0x1001b4d8
dec dword [edi + 0x36c]
push dword [0x10099cb8]
push eax
call fcn.10015f40
add esp, 8
mov dword [edi + 0x1d0c], 0
mov ecx, dword [edi + 0x1d18]
test ecx, ecx
je 0x1001b537
mov eax, dword [0x10099cbc]
mov dword [edi + 0x1d14], 0
mov dword [edi + 0x1d10], 0
test eax, eax
je 0x1001b51e
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
add esp, 8
mov dword [edi + 0x1d18], 0
call fcn.1003c3f0
mov eax, dword [esi + 0x1d40]
mov byte [esi + 0x1b47], 0
test eax, eax
je 0x1001b5a1
cmp byte [eax + 0x8b], 0
jne 0x1001b5a1
mov eax, dword [0x10099cbc]
mov edx, dword [eax + 0x1b5c]
sub edx, 1
js 0x1001b59a
mov eax, dword [eax + 0x1b64]
lea edi, [eax + edx*4]
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x1001b592
cmp byte [ecx + 0x8b], 0
je 0x1001b592
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1001b899
sub edi, 4
sub edx, 1
jns 0x1001b570
xor ecx, ecx
call fcn.100223b0
mov ecx, dword [esi + 0x1b78]
test ecx, ecx
jns 0x1001b5c7
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, [esi + 0x1b74]
call fcn.1002a080
mov dword [esi + 0x1b74], 0
mov ecx, dword [esi + 0x1d2c]
test ecx, ecx
jns 0x1001b5f7
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, [esi + 0x1d28]
call fcn.10029ff0
lea edi, [esi + 0x1d04]
mov dword [esi + 0x1d28], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001b69e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x28], ecx
cmp ecx, dword [edi + 4]
jle 0x1001b69e
mov eax, dword [0x10099cbc]
test eax, eax
je 0x1001b63a
inc dword [eax + 0x36c]
push dword [0x10099cb8]
lea eax, [ecx*4]
push eax
call fcn.10015f20
mov edx, dword [edi + 8]
add esp, 8
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1001b694
mov ecx, dword [edi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 8]
add esp, 0xc
test ecx, ecx
je 0x1001b681
mov eax, dword [0x10099cbc]
test eax, eax
je 0x1001b681
dec dword [eax + 0x36c]
push dword [0x10099cb8]
push ecx
call fcn.10015f40
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [edi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
lea eax, [esp + 0x2c]
mov dword [edi], 0
push eax
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.100298b0
push 0
lea ecx, [esi + 0x1d10]
call fcn.100297f0
mov edi, dword [0x10099cbc]
cmp byte [edi + 0x2f98], 0
mov dword [edi + 0x2f9c], 0
je 0x1001b79b
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x1bc0]
mov dword [esp + 0x20], ecx
mov dword [edi + 0x1e88], 7
test eax, eax
js 0x1001b713
mov ecx, eax
call fcn.1001d1e0
mov ecx, dword [esp + 0x20]
test al, al
je 0x1001b713
mov byte [edi + 0x2f98], 0
movss xmm0, dword [edi + 0x400]
ucomiss xmm0, dword [0x1008e24c]
lahf
test ah, 0x44
jp 0x1001b739
test ecx, ecx
je 0x1001b739
mov dword [edi + 0x2f9c], ecx
mov byte [edi + 0x2f98], 0
or dword [edi + 0x1c74], 0x40
xor edx, edx
mov dword [edi + 0x1cc8], 0x3f19999a
call fcn.10023b00
mov edi, dword [esp + 0x20]
push edi
push str.HoveredId:_0x_08X
call fcn.1003d200
push str.Press_ESC_to_abort_picking.
call fcn.1003d200
add esp, 0xc
mov ecx, 0x15f0
test edi, edi
mov eax, 0x15e0
cmove eax, ecx
add eax, dword [0x10099cbc]
push str.Click_to_break_in_debugger_
push eax
call fcn.1003d280
add esp, 8
call fcn.100222d0
mov edi, dword [0x10099cbc]
lea eax, [edi + 0x1bb8]
lea ecx, [edi + 0x2fb0]
mov dword [eax], 0
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x1b38], eax
jne 0x1001b8d8
mov eax, dword [edi + 0x1bd0]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1001b7dc
mov eax, dword [edi + 0x1bc0]
mov dword [esp + 0x20], eax
cmp dword [ecx + 8], eax
je 0x1001b837
lea edx, [ecx + 0xc]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0xffffffff
mov esi, dword [edx + 4]
test esi, esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
jge 0x1001b831
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
call fcn.1002a100
mov edi, dword [0x10099cbc]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [edx], 0
test eax, eax
je 0x1001b8d8
mov eax, dword [ecx + 4]
test eax, eax
js 0x1001b886
mov edx, eax
mov esi, dword [esp + 0x18]
cmp eax, dword [ecx + 0xc]
jge 0x1001b8b9
mov edi, dword [ecx + 0x14]
shl edx, 6
mov dword [esp + 0x30], edx
cmp byte [edx + edi + 5], 0
mov edi, dword [0x10099cbc]
jne 0x1001b882
mov edi, dword [esp + 0x30]
mov edx, eax
mov esi, dword [ecx + 0x14]
cmp byte [edi + esi + 4], 2
mov esi, dword [esp + 0x18]
mov edi, dword [0x10099cbc]
jle 0x1001b8b9
inc eax
mov dword [ecx + 4], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x1001b8b5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x1001b8d8
mov eax, dword [ecx + 0x2e8]
test eax, eax
je 0x1001b8ac
cmp byte [eax + 0x8b], 0
jne 0x1001b8ae
mov eax, ecx
mov ecx, eax
jmp 0x1001b59c
test edx, edx
js 0x1001b8d8
cmp edx, dword [ecx + 0xc]
jge 0x1001b8d8
mov eax, dword [ecx + 0x14]
mov esi, dword [esp + 0x28]
shl edx, 6
mov eax, dword [edx + eax]
mov dword [esi], eax
mov eax, dword [ecx + 0x14]
mov esi, dword [esp + 0x18]
inc byte [eax + edx + 4]
mov byte [esi + 0x1b45], 1
xor edx, edx
or dword [edi + 0x1c74], 2
mov ecx, str.DebugDefault
push 0
mov dword [edi + 0x1c94], 0x43c80000
mov dword [edi + 0x1c98], 0x43c80000
mov dword [edi + 0x1c7c], 4
call fcn.1001fc70
xor edi, edi
add esp, 4
cmp dword [esi + 0x2f54], edi
jle 0x1001b951
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x1001b941
push eax
mov eax, dword [eax + 0xc]
push esi
call eax
mov ecx, dword [esp + 0x34]
add esp, 8
inc edi
add ecx, 0x14
mov dword [esp + 0x2c], ecx
cmp edi, dword [esi + 0x2f54]
jl 0x1001b925
pop edi
pop esi
mov esp, ebp
pop ebp
ret