Function at 0x1001bcd0
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 [0x1009fce4]
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 0x1001bd88
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 0x1001bd6a
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 0x1001bd10
lea edx, [edi + 0x2f5c]
jmp 0x1001bd8c
mov dword [esp + 0x24], edx
xor esi, esi
cmp dword [edi + 0x2f54], esi
jle 0x1001bdcc
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop dword [eax]
mov eax, dword [edx]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x1001bdbc
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 0x1001bda0
mov eax, dword [0x1009fce4]
cmp byte [eax + 0xb4], 0
je 0x1001bde7
test byte [eax + 0xc], 2
jne 0x1001bde7
mov byte [eax + 0xb4], 0
mov esi, eax
cmp byte [esi + 0x2f1d], 0
lea ecx, [esi + 0x20]
jne 0x1001be57
mov edx, dword [ecx]
test edx, edx
je 0x1001be50
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov ecx, edx
call fcn.10018440
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1001be48
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.10029f50
mov ecx, dword [0x1009fce4]
test ecx, ecx
je 0x1001be36
dec dword [ecx + 0x36c]
push dword [0x1009fce0]
push dword [esp + 0x30]
call fcn.100178a0
add esp, 8
mov eax, dword [0x1009fce4]
lea ecx, [esi + 0x20]
mov byte [esi + 0x2f1d], 1
movss xmm0, dword [esi + 0x2f20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001beed
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f20], xmm0
jb 0x1001beed
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1001bedc
lea ecx, [esp + 0x20]
mov dword [eax + 0x2f20], 0
mov dword [esp + 0x20], 0
call fcn.1002a260
mov ecx, dword [esp + 0x2c]
mov edx, 0x10088984
mov dword [esp + 0x28], eax
call fcn.10018330
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1001bee3
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 0x1001bee3
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 0x1001bf47
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.1002b470
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 [0x10093d04]
movss xmm4, dword [0x10093af0]
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 0x1001bfe2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1001bfe5
movaps xmm0, xmm2
mov esi, dword [0x1009fce4]
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 0x1001c0fc
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 0x1001c030
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 0x1001c123
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 0x1001c170
mulss xmm0, dword [ecx + 0x238]
mov ecx, dword [ecx + 0x2d4]
test ecx, ecx
je 0x1001c173
mulss xmm0, dword [ecx + 0x238]
jmp 0x1001c173
movaps xmm0, xmm3
movss xmm4, dword [0x10093d6c]
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 0x1001c214
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 0x1001c1f4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001c1fc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1001c204
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1001c20c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1001c1d0
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 0x1001c351
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 0x1001c2fd
movss xmm1, dword [edi + 0x1950]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10093af0]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x10093b90]
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 0x1001c2f3
mov eax, 4
jmp 0x1001c2ff
cmp eax, 0x200
cmovg eax, esi
jmp 0x1001c2ff
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 0x1001c274
movsd xmm0, qword [0x10093b10]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10093af0]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x1009fce4]
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 0x1001c374
mov dword [edi + 0x1964], 1
mov edx, 1
cmp byte [edi + 0x15d5], 0
mov ecx, edx
je 0x1001c396
mov eax, dword [edi + 0x1930]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001c396
or ecx, 2
mov dword [edi + 0x1964], ecx
cmp byte [edi + 0x15d6], 0
je 0x1001c3a8
or ecx, 4
mov dword [edi + 0x1964], ecx
test byte [edi + 0xc], 8
je 0x1001c3b7
or ecx, 8
mov dword [edi + 0x1964], ecx
cmp dword [edi + 0x1d34], 0
jle 0x1001c3ea
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 0x1001c3c2
mov esi, dword [0x1009fce4]
cmp byte [edi + 0x1e8c], 0
je 0x1001c41e
mov eax, dword [edi + 0x1ea4]
cmp eax, dword [edi + 0x1bd0]
jne 0x1001c41e
cmp dword [esi + 0x1bd0], eax
jne 0x1001c40f
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1001c41e
mov byte [esi + 0x1c10], 1
cmp dword [edi + 0x1bc0], 0
lea eax, [edi + 0x1bbc]
mov ecx, dword [eax]
jne 0x1001c449
mov edx, ecx
mov dword [edi + 0x1bc8], 0
mov dword [edi + 0x1bcc], 0
mov ecx, eax
jmp 0x1001c471
mov dword [esp + 0x20], eax
mov edx, ecx
test ecx, ecx
je 0x1001c46d
mov dword [esp + 0x20], eax
cmp dword [edi + 0x1bd0], ecx
jne 0x1001c46d
mov dword [edi + 0x1bcc], 0
mov ecx, eax
jmp 0x1001c471
mov ecx, dword [esp + 0x20]
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x1001c4a8
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x1bc8]
movss dword [edi + 0x1bc8], xmm0
cmp dword [edi + 0x1bd0], edx
je 0x1001c4a8
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 0x1001c4f7
cmp dword [edi + 0x1c0c], eax
jne 0x1001c4f7
test eax, eax
je 0x1001c4f7
call fcn.1001a850
movss xmm2, dword [edi + 0x18]
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x1001c514
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 0x1001c579
cmp ecx, eax
je 0x1001c579
mov dword [edi + 0x2e80], 0
test ecx, ecx
jne 0x1001c595
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 0x1001c64c
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 0x1001c5f2
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 0x1001c630
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 0x1001c6c7
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1001c6c0
xorps xmm0, xmm0
jmp 0x1001c6cf
addss xmm0, dword [esi + 0x18]
jmp 0x1001c6cf
movss xmm0, dword [0x10093d28]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1001c6a5
call fcn.10027330
call fcn.1001b1c0
call fcn.1001ba60
mov edi, dword [0x1009fce4]
mov ecx, dword [edi + 0x1ba4]
test ecx, ecx
je 0x1001c7f1
mov eax, dword [edi + 0x1bd0]
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1001c71d
mov byte [edi + 0x1c10], 1
cmp byte [edi + 0xec], 0
mov ecx, dword [ecx + 0x2d8]
je 0x1001c7e5
lea eax, [edi + 0xe4]
mov edx, eax
test eax, eax
jne 0x1001c742
lea edx, [edi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x10093d68]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1001c7e5
comiss xmm2, xmm1
jb 0x1001c7e5
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 0x1001c7a6
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001c7d2
test dword [ecx + 8], 0x100
jne 0x1001c7c4
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x2f20]
jb 0x1001c7c4
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2f20], eax
push 1
lea edx, [esp + 0x34]
call fcn.10024120
add esp, 4
mov ecx, dword [edi + 0x1ba4]
call fcn.10023d10
mov edi, dword [0x1009fce4]
jmp 0x1001c829
mov dword [edi + 0x1ba4], 0
jmp 0x1001c824
mov ecx, dword [edi + 0x1c00]
test ecx, ecx
je 0x1001c829
mov eax, dword [edi + 0x1bd0]
cmp dword [ecx + 0x50], eax
jne 0x1001c829
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1001c81b
mov byte [edi + 0x1c10], 1
cmp byte [edi + 0xec], 0
jne 0x1001c829
call fcn.1001a850
mov edx, dword [edi + 0x1d1c]
sub edx, 1
js 0x1001c85e
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 0x1001c856
test dword [ecx + 8], 0x8000000
jne 0x1001c94e
sub eax, 0x24
sub edx, 1
jns 0x1001c843
cmp dword [esi + 0x1e58], 0
xorps xmm6, xmm6
je 0x1001c87b
movss xmm0, dword [esi + 0x1e68]
comiss xmm0, xmm6
ja 0x1001c951
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10093be4]
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.1001b5c0
mov edi, dword [0x1009fce4]
xor al, al
mov ecx, dword [edi + 0x1d40]
mov byte [edi + 0x1e80], 0
test ecx, ecx
je 0x1001c982
cmp byte [ecx + 0x8a], al
je 0x1001c982
test dword [ecx + 8], 0x40000
jne 0x1001c982
cmp byte [edi + 0xfc], al
jne 0x1001c982
cmp byte [edi + 0xfe], al
jne 0x1001c982
mov eax, dword [edi + 0x34]
test eax, eax
js 0x1001c94a
mov ecx, eax
mov byte [esp + 0x17], 0
call fcn.1001eb40
mov ecx, dword [edi + 0x1d40]
test al, al
je 0x1001c97e
mov eax, dword [edi + 0x1bf0]
and eax, 1
or eax, 0
je 0x1001c973
xor al, al
jmp 0x1001c982
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x10093bd0]
addss xmm1, dword [esi + 0x1e84]
minss xmm1, dword [0x10093af0]
jmp 0x1001c898
mov byte [edi + 0x1e80], 1
mov al, 1
jmp 0x1001c982
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1bd0], 0
jne 0x1001c9cc
test al, al
je 0x1001c9cc
cmp dword [edi + 0x1d44], 0
mov dword [edi + 0x1e74], ecx
je 0x1001c9bb
mov ecx, dword [edi + 0x1d80]
cmp ecx, 0x7fffffff
je 0x1001c9bb
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x1001c9c6
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 0x1001ca2a
mov edx, dword [edi + 0x1e7c]
mov dword [edi + 0x1e70], eax
cmp edx, 0x7fffffff
je 0x1001ca16
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
je 0x1001ca16
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 0x1001ca62
movss xmm0, dword [esi + 0xb8]
comiss xmm6, xmm0
ja 0x1001ca62
movsd xmm1, qword [esi + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
jmp 0x1001ca68
movss xmm1, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x20], edi
cmp dword [esi + 0x1b50], edi
je 0x1001cc28
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 0x1001cc0d
cmp byte [edi + 0x31c], cl
jne 0x1001cc0d
comiss xmm1, dword [edi + 0x218]
jbe 0x1001cc0d
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 0x1001cb30
mov eax, dword [0x1009fce4]
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
test eax, eax
je 0x1001cb17
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
add esp, 8
mov dword [edi + 0xcc], 0
mov ecx, dword [edi + 0x240]
call fcn.10033880
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x1001cb81
mov eax, dword [0x1009fce4]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
test eax, eax
je 0x1001cb68
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
add esp, 8
mov dword [edi + 0x160], 0
mov ecx, dword [edi + 0x18c]
test ecx, ecx
je 0x1001cbc7
mov eax, dword [0x1009fce4]
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
test eax, eax
je 0x1001cbae
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
add esp, 8
mov dword [edi + 0x18c], 0
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x1001cc0d
mov eax, dword [0x1009fce4]
mov dword [edi + 0x194], 0
mov dword [edi + 0x190], 0
test eax, eax
je 0x1001cbf4
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
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 0x1001ca80
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x1f50], ecx
jle 0x1001cd99
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 0x1001cd7e
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm0
jbe 0x1001cd7e
mov edi, dword [esi + 0x1f2c]
mov eax, dword [0x1009fce4]
add edi, edx
mov dword [esp + 0x20], eax
mov dword [edi + 0x194], 0
mov ecx, dword [edi + 0x190]
test ecx, ecx
je 0x1001cccf
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
test eax, eax
je 0x1001ccb6
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
add esp, 8
mov dword [edi + 0x190], 0
mov byte [edi + 0x1bc], 1
mov ecx, dword [edi + 0x174]
test ecx, ecx
je 0x1001cd1c
mov eax, dword [0x1009fce4]
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
test eax, eax
je 0x1001cd03
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
add esp, 8
mov dword [edi + 0x174], 0
xor edx, edx
mov byte [edi + 0x1c6], 1
cmp dword [edi + 0x54], edx
jle 0x1001cd45
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 0x1001cd30
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 0x1001cc50
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x1f44], ecx
jle 0x1001cdfd
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 0x1001cded
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm0
jbe 0x1001cded
lea ecx, [eax + 0x10]
add ecx, edi
call fcn.10036bf0
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 0x1001cdb0
cmp byte [esi + 0x1b47], 0
je 0x1001ce9c
mov edi, dword [0x1009fce4]
mov eax, dword [edi + 0x1d0c]
test eax, eax
je 0x1001ce51
mov dword [edi + 0x1d08], 0
mov dword [edi + 0x1d04], 0
test edi, edi
je 0x1001ce38
dec dword [edi + 0x36c]
push dword [0x1009fce0]
push eax
call fcn.100178a0
add esp, 8
mov dword [edi + 0x1d0c], 0
mov ecx, dword [edi + 0x1d18]
test ecx, ecx
je 0x1001ce97
mov eax, dword [0x1009fce4]
mov dword [edi + 0x1d14], 0
mov dword [edi + 0x1d10], 0
test eax, eax
je 0x1001ce7e
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
add esp, 8
mov dword [edi + 0x1d18], 0
call fcn.1003dd60
mov eax, dword [esi + 0x1d40]
mov byte [esi + 0x1b47], 0
test eax, eax
je 0x1001cf01
cmp byte [eax + 0x8b], 0
jne 0x1001cf01
mov eax, dword [0x1009fce4]
mov edx, dword [eax + 0x1b5c]
sub edx, 1
js 0x1001cefa
mov eax, dword [eax + 0x1b64]
lea edi, [eax + edx*4]
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x1001cef2
cmp byte [ecx + 0x8b], 0
je 0x1001cef2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1001d1f9
sub edi, 4
sub edx, 1
jns 0x1001ced0
xor ecx, ecx
call fcn.10023d10
mov ecx, dword [esi + 0x1b78]
test ecx, ecx
jns 0x1001cf27
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.1002b9e0
mov dword [esi + 0x1b74], 0
mov ecx, dword [esi + 0x1d2c]
test ecx, ecx
jns 0x1001cf57
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.1002b950
lea edi, [esi + 0x1d04]
mov dword [esi + 0x1d28], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001cffe
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 0x1001cffe
mov eax, dword [0x1009fce4]
test eax, eax
je 0x1001cf9a
inc dword [eax + 0x36c]
push dword [0x1009fce0]
lea eax, [ecx*4]
push eax
call fcn.10017880
mov edx, dword [edi + 8]
add esp, 8
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1001cff4
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 0x1001cfe1
mov eax, dword [0x1009fce4]
test eax, eax
je 0x1001cfe1
dec dword [eax + 0x36c]
push dword [0x1009fce0]
push ecx
call fcn.100178a0
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.1002b210
push 0
lea ecx, [esi + 0x1d10]
call fcn.1002b150
mov edi, dword [0x1009fce4]
cmp byte [edi + 0x2f98], 0
mov dword [edi + 0x2f9c], 0
je 0x1001d0fb
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x1bc0]
mov dword [esp + 0x20], ecx
mov dword [edi + 0x1e88], 7
test eax, eax
js 0x1001d073
mov ecx, eax
call fcn.1001eb40
mov ecx, dword [esp + 0x20]
test al, al
je 0x1001d073
mov byte [edi + 0x2f98], 0
movss xmm0, dword [edi + 0x400]
ucomiss xmm0, dword [0x10093a14]
lahf
test ah, 0x44
jp 0x1001d099
test ecx, ecx
je 0x1001d099
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.10025460
mov edi, dword [esp + 0x20]
push edi
push str.HoveredId:_0x_08X
call fcn.1003eb70
push str.Press_ESC_to_abort_picking.
call fcn.1003eb70
add esp, 0xc
mov ecx, 0x15f0
test edi, edi
mov eax, 0x15e0
cmove eax, ecx
add eax, dword [0x1009fce4]
push str.Click_to_break_in_debugger_
push eax
call fcn.1003ebf0
add esp, 8
call fcn.10023c30
mov edi, dword [0x1009fce4]
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 0x1001d238
mov eax, dword [edi + 0x1bd0]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1001d13c
mov eax, dword [edi + 0x1bc0]
mov dword [esp + 0x20], eax
cmp dword [ecx + 8], eax
je 0x1001d197
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 0x1001d191
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.1002ba60
mov edi, dword [0x1009fce4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [edx], 0
test eax, eax
je 0x1001d238
mov eax, dword [ecx + 4]
test eax, eax
js 0x1001d1e6
mov edx, eax
mov esi, dword [esp + 0x18]
cmp eax, dword [ecx + 0xc]
jge 0x1001d219
mov edi, dword [ecx + 0x14]
shl edx, 6
mov dword [esp + 0x30], edx
cmp byte [edx + edi + 5], 0
mov edi, dword [0x1009fce4]
jne 0x1001d1e2
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 [0x1009fce4]
jle 0x1001d219
inc eax
mov dword [ecx + 4], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x1001d215
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x1001d238
mov eax, dword [ecx + 0x2e8]
test eax, eax
je 0x1001d20c
cmp byte [eax + 0x8b], 0
jne 0x1001d20e
mov eax, ecx
mov ecx, eax
jmp 0x1001cefc
test edx, edx
js 0x1001d238
cmp edx, dword [ecx + 0xc]
jge 0x1001d238
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.100215d0
xor edi, edi
add esp, 4
cmp dword [esi + 0x2f54], edi
jle 0x1001d2b1
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 0x1001d2a1
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 0x1001d285
pop edi
pop esi
mov esp, ebp
pop ebp
ret