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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x100b9cf4]
mov ebx, edi
mov dword [esp + 0x34], ebx
mov eax, dword [ebx + 0x2f54]
lea ecx, [ebx + 0x2f5c]
sub eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
js 0x1001c1d3
lea edi, [eax + eax*4]
shl edi, 2
mov edx, dword [ecx]
cmp dword [edi + edx + 4], 7
jne 0x1001c1c3
mov esi, dword [ebx + 0x2f5c]
mov ecx, edi
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 [ebx + 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 + 0x30]
lea ecx, [ebx + 0x2f5c]
add esp, 0xc
dec dword [ebx + 0x2f54]
dec eax
sub edi, 0x14
mov dword [esp + 0x24], eax
test eax, eax
jns 0x1001c167
mov edi, ebx
jmp 0x1001c1d7
mov dword [esp + 0x28], ecx
xor esi, esi
cmp dword [ebx + 0x2f54], esi
jle 0x1001c20d
xor edi, edi
mov eax, dword [ecx]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1001c1fb
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
mov ecx, dword [esp + 0x30]
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f54]
jl 0x1001c1e3
mov edi, dword [0x100b9cf4]
cmp byte [edi + 0xb4], 0
je 0x1001c223
test byte [edi + 0xc], 2
jne 0x1001c223
mov byte [edi + 0xb4], 0
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, edi
mov dword [esp + 0x20], ecx
cmp byte [esi + 0x2f1d], 0
lea eax, [esi + 0x20]
jne 0x1001c290
mov ecx, dword [eax]
test ecx, ecx
je 0x1001c289
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
call fcn.10018950
mov edi, eax
add esp, 8
test edi, edi
je 0x1001c280
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.1002a510
mov ecx, dword [0x100b9cf4]
test ecx, ecx
je 0x1001c278
dec dword [ecx + 0x36c]
push edi
call dword [esp + 0x24]
add esp, 4
mov edi, dword [0x100b9cf4]
lea eax, [esi + 0x20]
mov byte [esi + 0x2f1d], 1
movss xmm0, dword [esi + 0x2f20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001c327
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f20], xmm0
jb 0x1001c327
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1001c316
lea ecx, [esp + 0x24]
mov dword [edi + 0x2f20], 0
mov dword [esp + 0x24], 0
call fcn.1002a820
mov ecx, dword [esp + 0x30]
mov edx, 0x100a3990
mov dword [esp + 0x2c], eax
call fcn.10018820
mov edi, eax
test edi, edi
je 0x1001c30e
push edi
push dword [esp + 0x28]
push 1
push dword [esp + 0x38]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov edi, dword [0x100b9cf4]
jmp 0x1001c31d
mov byte [esi + 0x354], 1
mov dword [esi + 0x2f20], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b44], 1
mov word [ebx + 0x2eee], ax
mov dword [ebx + 0x1b8c], eax
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
mov ecx, dword [ebx + 0x2f04]
test ecx, ecx
jns 0x1001c387
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 + 0x2f00]
call fcn.1002b9a0
mov edi, dword [0x100b9cf4]
mov dword [ebx + 0x2f00], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x31a8]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x100aeb7c]
movss xmm4, dword [0x100ae998]
subss xmm0, dword [ebx + eax*4 + 0x2fc8]
movss dword [esp + 0x24], xmm2
addss xmm0, dword [ebx + 0x31b0]
movss dword [ebx + 0x31b0], xmm0
movss dword [ebx + eax*4 + 0x2fc8], xmm1
mov eax, dword [ebx + 0x31a8]
inc eax
movss xmm1, dword [ebx + 0x31b0]
cdq
idiv ecx
mov eax, dword [ebx + 0x31ac]
inc eax
mov dword [ebx + 0x31a8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x31ac], ecx
jbe 0x1001c422
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1001c425
movaps xmm0, xmm2
movss dword [ebx + 0x358], xmm0
xor esi, esi
mov eax, dword [edi + 0x1d3c]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [edi + 0x1d34], esi
jle 0x1001c52b
mov eax, dword [edi + 0x1d3c]
movaps xmm2, xmm3
mov edx, dword [eax + esi*4]
inc esi
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 esi, dword [edi + 0x1d34]
jl 0x1001c463
movss xmm2, dword [esp + 0x24]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x1001c54a
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm1, dword [edi + 0x9c]
movaps xmm0, xmm4
mov eax, dword [edi + 0x1b98]
mov dword [edi + 0x1930], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x44]
maxss xmm0, xmm1
movss dword [edi + 0x1938], xmm0
test eax, eax
je 0x1001c59f
movss xmm0, dword [eax + 0x238]
mov eax, dword [eax + 0x2d4]
mulss xmm0, dword [edi + 0x1938]
test eax, eax
je 0x1001c5a2
mulss xmm0, dword [eax + 0x238]
jmp 0x1001c5a2
movaps xmm0, xmm3
movss xmm4, dword [0x100aebe4]
movaps xmm7, xmm2
movss dword [edi + 0x1934], xmm0
movaps xmm6, xmm2
mov edx, dword [esi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [edi + 0x193c], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x1940], ecx
mov dword [edi + 0x1b2c], eax
mov dword [edi + 0x1944], esi
movss dword [edi + 0x1948], xmm0
mov edx, dword [ebx + 0x1d34]
test edx, edx
jle 0x1001c644
mov ecx, dword [ebx + 0x1d3c]
nop word [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x1001c624
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001c62c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1001c634
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1001c63c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1001c600
movss dword [ebx + 0x1954], xmm7
movss dword [ebx + 0x1958], xmm6
movss dword [ebx + 0x195c], xmm4
movss dword [ebx + 0x1960], xmm5
mov eax, dword [ebx + 0x15d8]
movss xmm1, dword [ebx + 0x15dc]
mov dword [ebx + 0x194c], eax
movss xmm0, dword [ebx + 0x1950]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001c76d
movss dword [ebx + 0x1950], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1001c729
movss xmm1, dword [ebx + 0x1950]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100ae998]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100aea20]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1001c71a
mov eax, 4
jmp 0x1001c72b
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1001c72b
xor eax, eax
mov byte [esi + ebx + 0x1aec], al
inc esi
cmp esi, 0x40
jl 0x1001c697
movsd xmm0, qword [0x100ae9b8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x100ae998]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x1950]
divss xmm0, xmm1
movss dword [ebx + 0x1ae8], xmm0
xor edx, edx
mov dword [ebx + 0x1964], 0
cmp byte [ebx + 0x15d4], dl
je 0x1001c790
mov dword [ebx + 0x1964], 1
mov edx, 1
cmp byte [ebx + 0x15d5], 0
mov ecx, edx
je 0x1001c7b2
mov eax, dword [ebx + 0x1930]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001c7b2
or ecx, 2
mov dword [ebx + 0x1964], ecx
cmp byte [ebx + 0x15d6], 0
je 0x1001c7c4
or ecx, 4
mov dword [ebx + 0x1964], ecx
test byte [ebx + 0xc], 8
je 0x1001c7d3
or ecx, 8
mov dword [ebx + 0x1964], ecx
xor esi, esi
cmp dword [ebx + 0x1d34], esi
jle 0x1001c802
nop dword [eax]
mov eax, dword [ebx + 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 [ebx + 0x1d34]
jl 0x1001c7e0
cmp byte [ebx + 0x1e8c], 0
je 0x1001c836
mov eax, dword [ebx + 0x1ea4]
cmp eax, dword [ebx + 0x1bd0]
jne 0x1001c836
cmp dword [edi + 0x1bd0], eax
jne 0x1001c827
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1001c836
mov byte [edi + 0x1c10], 1
cmp dword [ebx + 0x1bc0], 0
lea eax, [ebx + 0x1bbc]
mov ecx, dword [eax]
jne 0x1001c853
mov dword [ebx + 0x1bc8], 0
jmp 0x1001c863
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x1001c871
cmp dword [ebx + 0x1bd0], ecx
jne 0x1001c871
mov dword [ebx + 0x1bcc], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x1001c8a8
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bc8]
movss dword [ebx + 0x1bc8], xmm0
cmp dword [ebx + 0x1bd0], edx
je 0x1001c8a8
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bcc]
movss dword [ebx + 0x1bcc], xmm0
mov al, byte [ebx + 0x1bc5]
movaps xmm2, xmm1
mov byte [ebx + 0x1bc6], al
mov eax, dword [ebx + 0x1bd0]
mov dword [ebx + 0x1bc0], edx
mov dword [esi], 0
mov word [ebx + 0x1bc4], 0
mov byte [ebx + 0x1bc7], 0
cmp dword [ebx + 0x1bd4], eax
je 0x1001c8f7
cmp dword [ebx + 0x1c0c], eax
jne 0x1001c8f7
test eax, eax
je 0x1001c8f7
call fcn.1001acb0
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1bd0]
test ecx, ecx
je 0x1001c914
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
mov eax, dword [ebx + 0x1c00]
addss xmm2, dword [ebx + 0x1c1c]
mov dword [ebx + 0x1c14], eax
mov al, byte [ebx + 0x1be0]
mov byte [ebx + 0x1c11], al
mov eax, dword [ebx + 0x2e80]
movss dword [ebx + 0x1c1c], xmm2
mov dword [ebx + 0x1c0c], ecx
mov dword [ebx + 0x1bd4], 0
mov byte [ebx + 0x1be1], 0
mov byte [ebx + 0x1c10], 0
mov byte [ebx + 0x1bdc], 0
test eax, eax
je 0x1001c979
cmp ecx, eax
je 0x1001c979
mov dword [ebx + 0x2e80], 0
test ecx, ecx
jne 0x1001c995
mov dword [ebx + 0x1be4], ecx
mov dword [ebx + 0x1be8], ecx
mov dword [ebx + 0x1bf0], ecx
mov dword [ebx + 0x1bf4], ecx
cmp byte [ebx + 0x1508], 0
mov eax, dword [ebx + 0x1ef0]
mov dword [ebx + 0x1ef4], eax
mov dword [ebx + 0x1ef0], 0
mov dword [ebx + 0x1eec], 0x7f7fffff
mov word [ebx + 0x1e8d], 0
mov dword [ebx + 0x1efc], 0
je 0x1001ca4c
push 0x200
lea eax, [ebx + 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x464]
mov ecx, 0x200
mov dword [eax + 0x800], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x1001c9f2
mov dword [ebx + 0xfc], ecx
lea eax, [ebx + 0x1464]
mov dword [ebx + 0x380], ecx
mov dword [ebx + 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 0x1001ca30
mov byte [ebx + 0x1508], cl
xor eax, eax
cmp byte [edi + 0xfc], al
setne al
mov ecx, eax
or ecx, 2
cmp byte [edi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [edi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [edi + 0xff], 0
lea edi, [ebx + 0xc64]
cmove eax, edx
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x464]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp byte [ebx + ecx + 0x100], 0
je 0x1001cac3
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1001cabc
xorps xmm0, xmm0
jmp 0x1001cacb
addss xmm0, dword [ebx + 0x18]
jmp 0x1001cacb
movss xmm0, dword [0x100aeba0]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1001caa1
call fcn.100278c0
call fcn.1001b620
call fcn.1001bec0
mov esi, dword [0x100b9cf4]
mov ecx, dword [esi + 0x1ba4]
test ecx, ecx
je 0x1001cbed
mov eax, dword [esi + 0x1bd0]
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1001cb19
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x2d8]
je 0x1001cbe1
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x1001cb3e
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x100aebe0]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1001cbe1
comiss xmm2, xmm1
jb 0x1001cbe1
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1bf8]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1bfc]
ucomiss xmm0, xmm1
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
lahf
test ah, 0x44
jp 0x1001cba2
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001cbce
test dword [ecx + 8], 0x100
jne 0x1001cbc0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2f20]
jb 0x1001cbc0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2f20], eax
push 1
lea edx, [esp + 0x3c]
call fcn.10024670
add esp, 4
mov ecx, dword [esi + 0x1ba4]
call fcn.10024260
mov esi, dword [0x100b9cf4]
jmp 0x1001cc25
mov dword [esi + 0x1ba4], 0
jmp 0x1001cc20
mov ecx, dword [esi + 0x1c00]
test ecx, ecx
je 0x1001cc25
mov eax, dword [esi + 0x1bd0]
cmp dword [ecx + 0x50], eax
jne 0x1001cc25
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1001cc17
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
jne 0x1001cc25
call fcn.1001acb0
mov edx, dword [esi + 0x1d1c]
sub edx, 1
js 0x1001cc5b
mov eax, dword [esi + 0x1d24]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x1001cc53
test dword [ecx + 8], 0x8000000
jne 0x1001cd3e
sub eax, 0x24
sub edx, 1
jns 0x1001cc40
cmp dword [ebx + 0x1e58], 0
xorps xmm6, xmm6
je 0x1001cc78
movss xmm0, dword [ebx + 0x1e68]
comiss xmm0, xmm6
ja 0x1001cd41
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100aea74]
movss xmm1, dword [ebx + 0x1e84]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e84], xmm1
mov dword [ebx + 0x1e88], 0
mov dword [ebx + 0x31bc], 0xffffffff
mov dword [ebx + 0x31b8], 0xffffffff
mov dword [ebx + 0x31b4], 0xffffffff
mov dword [ebx + 0x2f0c], 0x3f800000
mov dword [ebx + 0x2f10], 0x3f800000
call fcn.1001ba20
mov esi, dword [0x100b9cf4]
xor al, al
mov edi, dword [esi + 0x1d40]
mov byte [esi + 0x1e80], 0
test edi, edi
je 0x1001cd72
cmp byte [edi + 0x8a], al
je 0x1001cd72
test dword [edi + 8], 0x40000
jne 0x1001cd72
cmp byte [esi + 0xfc], al
jne 0x1001cd72
cmp byte [esi + 0xfe], al
jne 0x1001cd72
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x1001cd3a
mov byte [esp + 0x1f], al
call fcn.1001ed90
test al, al
je 0x1001cd6e
mov eax, dword [esi + 0x1bf0]
and eax, 1
or eax, 0
je 0x1001cd63
xor al, al
jmp 0x1001cd72
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x100aea60]
addss xmm1, dword [ebx + 0x1e84]
minss xmm1, dword [0x100ae998]
jmp 0x1001cc95
mov byte [esi + 0x1e80], 1
mov al, 1
jmp 0x1001cd72
mov al, byte [esp + 0x1f]
cmp dword [esi + 0x1bd0], 0
jne 0x1001cdbc
test al, al
je 0x1001cdbc
cmp dword [esi + 0x1d44], 0
mov dword [esi + 0x1e74], edi
je 0x1001cdab
mov ecx, dword [esi + 0x1d80]
cmp ecx, 0x7fffffff
je 0x1001cdab
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x1001cdb6
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e7c], eax
mov eax, dword [esi + 0x1e74]
mov dword [esi + 0x1e70], 0
mov dword [esi + 0x1e78], 0x7fffffff
test eax, eax
je 0x1001ce1a
mov edx, dword [esi + 0x1e7c]
mov dword [esi + 0x1e70], eax
cmp edx, 0x7fffffff
je 0x1001ce06
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
je 0x1001ce06
inc ecx
lea eax, [edx + ecx]
cdq
idiv ecx
mov dword [esi + 0x1e78], edx
mov dword [esi + 0x1e74], 0
mov dword [esi + 0x1e7c], 0x7fffffff
mov dword [esi + 0x1d80], 0x7fffffff
cmp byte [ebx + 0x1b47], 0
jne 0x1001ce52
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x1001ce52
movsd xmm1, qword [ebx + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
jmp 0x1001ce58
movss xmm1, dword [esp + 0x24]
xor edi, edi
cmp dword [ebx + 0x1b50], edi
je 0x1001cff4
nop word [eax + eax]
mov eax, dword [ebx + 0x1b58]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x8a]
mov byte [esi + 0x8b], al
mov word [esi + 0x96], cx
mov byte [esi + 0x8a], cl
mov byte [esi + 0x8c], cl
test al, al
jne 0x1001cfe1
cmp byte [esi + 0x31c], cl
jne 0x1001cfe1
comiss xmm1, dword [esi + 0x218]
jbe 0x1001cfe1
mov ecx, dword [esi + 0x240]
mov byte [esi + 0x31c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x314], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x318], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x1001cf19
mov eax, dword [0x100b9cf4]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x1001cf07
dec dword [eax + 0x36c]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x240]
call fcn.10034020
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x1001cf63
mov eax, dword [0x100b9cf4]
mov dword [esi + 0x15c], 0
mov dword [esi + 0x158], 0
test eax, eax
je 0x1001cf51
dec dword [eax + 0x36c]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x160], 0
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x1001cfa2
mov eax, dword [0x100b9cf4]
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
test eax, eax
je 0x1001cf90
dec dword [eax + 0x36c]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x18c], 0
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x1001cfe1
mov eax, dword [0x100b9cf4]
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
test eax, eax
je 0x1001cfcf
dec dword [eax + 0x36c]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x198], 0
movss xmm1, dword [esp + 0x24]
inc edi
cmp edi, dword [ebx + 0x1b50]
jne 0x1001ce70
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x1f50], ecx
jle 0x1001d147
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop
mov eax, dword [ebx + 0x1f58]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1001d12c
movss xmm2, dword [esp + 0x24]
comiss xmm2, xmm0
jbe 0x1001d12c
mov esi, dword [ebx + 0x1f2c]
mov edi, dword [0x100b9cf4]
add esi, edx
mov dword [esp + 0x38], edi
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x1001d089
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test edi, edi
je 0x1001d077
dec dword [edi + 0x36c]
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x190], 0
mov byte [esi + 0x1bc], 1
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x1001d0cf
mov eax, dword [0x100b9cf4]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x1001d0bd
dec dword [eax + 0x36c]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x174], 0
xor edx, edx
mov byte [esi + 0x1c6], 1
cmp dword [esi + 0x54], edx
jle 0x1001d0fb
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x1001d0e2
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
sub esi, dword [edi + 0x1f2c]
mov eax, 0x8fb823ef
imul esi
xorps xmm1, xmm1
mov eax, dword [edi + 0x1f58]
add edx, esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x2c]
inc ecx
add edx, 0x1c8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [ebx + 0x1f50]
jl 0x1001d010
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x1f44], eax
jle 0x1001d1a5
xor esi, esi
xorps xmm1, xmm1
nop word [eax + eax]
mov edi, dword [ebx + 0x1f4c]
movss xmm0, dword [edi + esi + 4]
comiss xmm0, xmm1
jb 0x1001d195
movss xmm2, dword [esp + 0x24]
comiss xmm2, xmm0
jbe 0x1001d195
lea ecx, [esi + 0x10]
add ecx, edi
call fcn.10037120
mov eax, dword [esp + 0x30]
xorps xmm1, xmm1
mov dword [edi + esi + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [esp + 0x30], eax
cmp eax, dword [ebx + 0x1f44]
jl 0x1001d160
cmp byte [ebx + 0x1b47], 0
je 0x1001d23c
mov esi, dword [0x100b9cf4]
mov eax, dword [esi + 0x1d0c]
test eax, eax
je 0x1001d1f6
mov dword [esi + 0x1d08], 0
mov dword [esi + 0x1d04], 0
test esi, esi
je 0x1001d1e0
dec dword [esi + 0x36c]
mov edi, dword [esp + 0x20]
push eax
call edi
add esp, 4
mov dword [esi + 0x1d0c], 0
jmp 0x1001d1fa
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x1d18]
test ecx, ecx
je 0x1001d237
mov eax, dword [0x100b9cf4]
mov dword [esi + 0x1d14], 0
mov dword [esi + 0x1d10], 0
test eax, eax
je 0x1001d227
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x1d18], 0
call fcn.1003e2a0
mov eax, dword [ebx + 0x1d40]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x1001d2a1
cmp byte [eax + 0x8b], 0
jne 0x1001d2a1
mov eax, dword [0x100b9cf4]
mov edx, dword [eax + 0x1b5c]
sub edx, 1
js 0x1001d29a
mov eax, dword [eax + 0x1b64]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x1001d292
cmp byte [ecx + 0x8b], 0
je 0x1001d292
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1001d4fe
sub esi, 4
sub edx, 1
jns 0x1001d270
xor ecx, ecx
call fcn.10024260
mov ecx, dword [ebx + 0x1b78]
test ecx, ecx
jns 0x1001d2c7
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 + 0x1b74]
call fcn.1002bf40
mov dword [ebx + 0x1b74], 0
mov ecx, dword [ebx + 0x1d2c]
test ecx, ecx
jns 0x1001d2f7
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 + 0x1d28]
call fcn.1002bec0
mov dword [ebx + 0x1d28], 0
mov ecx, dword [ebx + 0x1d08]
test ecx, ecx
jns 0x1001d327
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [ebx + 0x1d04]
test eax, eax
cmovg edx, eax
push edx
call fcn.1002b9a0
lea eax, [esp + 0x38]
mov dword [ebx + 0x1d04], 0
push eax
lea ecx, [ebx + 0x1d04]
mov dword [esp + 0x3c], 0
call fcn.1002b770
push 0
lea ecx, [ebx + 0x1d10]
call fcn.1002b6c0
mov esi, dword [0x100b9cf4]
cmp byte [esi + 0x2f98], 0
mov dword [esi + 0x2f9c], 0
je 0x1001d41e
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bc0]
mov dword [esi + 0x1e88], 7
test ecx, ecx
js 0x1001d39a
call fcn.1001ed90
test al, al
je 0x1001d39a
mov byte [esi + 0x2f98], 0
movss xmm0, dword [esi + 0x400]
ucomiss xmm0, dword [0x100ae8bc]
lahf
test ah, 0x44
jp 0x1001d3c0
test edi, edi
je 0x1001d3c0
mov dword [esi + 0x2f9c], edi
mov byte [esi + 0x2f98], 0
or dword [esi + 0x1c74], 0x40
xor edx, edx
mov dword [esi + 0x1cc8], 0x3f19999a
call fcn.100259b0
push edi
push str.HoveredId:_0x_08X
call fcn.1003f0b0
push str.Press_ESC_to_abort_picking.
call fcn.1003f0b0
add esp, 0xc
mov ecx, 0x15f0
test edi, edi
mov eax, 0x15e0
cmove eax, ecx
add eax, dword [0x100b9cf4]
push str.Click_to_break_in_debugger_
push eax
call fcn.1003f130
add esp, 8
call fcn.10024110
mov esi, dword [0x100b9cf4]
lea eax, [esi + 0x1bb8]
lea edi, [esi + 0x2fb0]
mov dword [eax], 0
mov dword [esp + 0x30], eax
mov eax, dword [edi]
inc eax
cmp dword [esi + 0x1b38], eax
jne 0x1001d539
mov edx, dword [esi + 0x1bd0]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x1001d45b
mov edx, dword [esi + 0x1bc0]
mov dword [esp + 0x24], edx
cmp dword [edi + 8], edx
je 0x1001d4a0
lea eax, [edi + 0xc]
mov dword [edi + 8], edx
mov dword [edi + 4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001d49a
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 + 0xc]
call fcn.1002bfc0
mov esi, dword [0x100b9cf4]
lea eax, [edi + 0xc]
mov edx, dword [esp + 0x24]
mov dword [eax], 0
test edx, edx
je 0x1001d539
mov eax, dword [edi + 4]
test eax, eax
js 0x1001d4ef
mov ecx, eax
mov esi, dword [0x100b9cf4]
cmp eax, dword [edi + 0xc]
jge 0x1001d51e
mov edx, dword [edi + 0x14]
shl ecx, 6
mov dword [esp + 0x38], ecx
cmp byte [ecx + edx + 5], 0
mov edx, dword [esp + 0x24]
jne 0x1001d4eb
mov esi, dword [esp + 0x38]
mov ecx, eax
mov edx, dword [edi + 0x14]
cmp byte [esi + edx + 4], 2
mov esi, dword [0x100b9cf4]
mov edx, dword [esp + 0x24]
jle 0x1001d51e
inc eax
mov dword [edi + 4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1001d51a
mov eax, dword [esp + 0x30]
mov dword [eax], edx
jmp 0x1001d539
mov eax, dword [ecx + 0x2e8]
test eax, eax
je 0x1001d511
cmp byte [eax + 0x8b], 0
jne 0x1001d513
mov eax, ecx
mov ecx, eax
jmp 0x1001d29c
test ecx, ecx
js 0x1001d539
cmp ecx, dword [edi + 0xc]
jge 0x1001d539
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x30]
shl ecx, 6
mov eax, dword [ecx + eax]
mov dword [edx], eax
mov eax, dword [edi + 0x14]
inc byte [eax + ecx + 4]
mov byte [ebx + 0x1b45], 1
xor edx, edx
or dword [esi + 0x1c74], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c94], 0x43c80000
mov dword [esi + 0x1c98], 0x43c80000
mov dword [esi + 0x1c7c], 4
call fcn.10021810
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2f54], esi
jle 0x1001d5a6
xor edi, edi
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1001d59a
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f54]
jl 0x1001d582
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret