Function at 0x10023660
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
mov ebx, dword [0x1008b850]
push esi
push edi
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx + 0x2ed0]
sub eax, 1
mov dword [esp + 0x24], eax
js 0x100236f0
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x2ed8]
cmp dword [ecx + edi + 4], 7
jne 0x100236e4
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 + 0x2ed0]
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]
add esp, 0xc
dec dword [ebx + 0x2ed0]
dec eax
sub edi, 0x14
mov dword [esp + 0x24], eax
test eax, eax
jns 0x10023690
xor esi, esi
cmp dword [ebx + 0x2ed0], esi
jle 0x10023724
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2ed8]
add eax, edi
cmp dword [eax + 4], 0
jne 0x10023718
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ed0]
jl 0x10023700
mov esi, dword [0x1008b850]
cmp byte [esi + 0xb4], 0
je 0x10023740
test byte [esi + 0xc], 2
jne 0x10023740
mov byte [esi + 0xb4], 0
cmp byte [esi + 0x2e99], 0
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x20], edi
jne 0x100237a3
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1002379c
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
call fcn.10020270
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x1002379c
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.10031520
mov ecx, dword [0x1008b850]
test ecx, ecx
je 0x10023793
dec dword [ecx + 0x370]
push dword [esp + 0x30]
call edi
add esp, 4
mov byte [esi + 0x2e99], 1
movss xmm0, dword [esi + 0x2e9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10023830
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2e9c], xmm0
jb 0x10023830
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1002381f
mov eax, dword [0x1008b850]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [eax + 0x2e9c], 0
call fcn.100317c0
mov edx, 0x1007e9d0
mov dword [esp + 0x30], eax
mov ecx, edi
call fcn.10020170
mov edi, eax
test edi, edi
je 0x10023826
push edi
push dword [esp + 0x28]
push 1
push dword [esp + 0x3c]
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
jmp 0x10023826
mov byte [esi + 0x358], 1
mov dword [esi + 0x2e9c], 0
movss xmm0, dword [ebx + 0x18]
lea ecx, [ebx + 0x2e7c]
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
push 0
mov byte [ebx + 0x1b44], 1
mov dword [ebx + 0x2e68], 0
mov dword [ebx + 0x1b90], 0
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
call fcn.100327d0
mov eax, dword [ebx + 0x310c]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
xorps xmm3, xmm3
movaps xmm0, xmm1
movss xmm4, dword [0x10082414]
movss xmm2, dword [0x10082268]
subss xmm0, dword [ebx + eax*4 + 0x2f2c]
movss dword [esp + 0x24], xmm4
addss xmm0, dword [ebx + 0x3110]
movss dword [ebx + 0x3110], xmm0
movss dword [ebx + eax*4 + 0x2f2c], xmm1
mov eax, dword [ebx + 0x310c]
inc eax
movss xmm1, dword [ebx + 0x3110]
cdq
idiv ecx
comiss xmm1, xmm3
mov dword [ebx + 0x310c], edx
jbe 0x100238f2
divss xmm1, dword [0x100823a8]
movaps xmm0, xmm2
divss xmm0, xmm1
jmp 0x100238f5
movaps xmm0, xmm4
mov edi, dword [0x1008b850]
xor esi, esi
movss dword [ebx + 0x35c], xmm0
mov eax, dword [edi + 0x1cfc]
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 + 0x1cf4], esi
jle 0x10023a0a
nop dword [eax]
mov eax, dword [edi + 0x1cfc]
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 + 0x1cf4]
jl 0x10023940
movss xmm2, dword [0x10082268]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x10023a29
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edi + 0x9c]
movaps xmm1, xmm2
mov eax, dword [edi + 0x1b9c]
mov dword [edi + 0x192c], esi
mulss xmm0, dword [esi + 0x10]
mulss xmm0, dword [esi + 0x40]
maxss xmm1, xmm0
movss dword [edi + 0x1934], xmm1
test eax, eax
je 0x10023a76
mulss xmm1, dword [eax + 0x27c]
mov eax, dword [eax + 0x318]
test eax, eax
je 0x10023a79
mulss xmm1, dword [eax + 0x27c]
jmp 0x10023a79
movaps xmm1, xmm3
movss dword [edi + 0x1930], xmm1
movaps xmm7, xmm4
mov edx, dword [esi + 0x30]
movaps xmm6, xmm4
movss xmm4, dword [0x100824b0]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [edi + 0x1938], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x193c], ecx
mov dword [edi + 0x1b28], eax
mov dword [edi + 0x1940], esi
movss dword [edi + 0x1944], xmm1
mov edx, dword [ebx + 0x1cf4]
test edx, edx
jle 0x10023b1c
mov ecx, dword [ebx + 0x1cfc]
nop
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 0x10023af4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10023afc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10023b04
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10023b0c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10023ad0
movss xmm2, dword [0x10082268]
movss dword [ebx + 0x1950], xmm7
movss dword [ebx + 0x1954], xmm6
movss dword [ebx + 0x1958], xmm4
movss dword [ebx + 0x195c], xmm5
mov eax, dword [ebx + 0x15d4]
movss xmm1, dword [ebx + 0x15d8]
mov dword [ebx + 0x1948], eax
movss xmm0, dword [ebx + 0x194c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10023c49
movss dword [ebx + 0x194c], xmm1
xor esi, esi
nop
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10023bfd
movss xmm1, dword [ebx + 0x194c]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100822e8]
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 0x10023bee
mov eax, 4
jmp 0x10023bff
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10023bff
xor eax, eax
movss xmm2, dword [0x10082268]
mov byte [ebx + esi + 0x1ae8], al
inc esi
cmp esi, 0x40
jl 0x10023b70
movsd xmm0, qword [0x10082288]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10082268]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x194c]
divss xmm0, xmm1
movss dword [ebx + 0x1ae4], xmm0
xor edx, edx
mov dword [ebx + 0x1960], 0
cmp byte [ebx + 0x15d0], dl
je 0x10023c6c
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x10023c8e
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10023c8e
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x10023ca0
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x10023caf
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1cf4], esi
jle 0x10023ce2
nop dword [eax]
mov eax, dword [ebx + 0x1cfc]
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 + 0x1cf4]
jl 0x10023cc0
cmp byte [ebx + 0x1e44], 0
je 0x10023d16
mov eax, dword [ebx + 0x1e5c]
cmp eax, dword [ebx + 0x1bd4]
jne 0x10023d16
cmp dword [edi + 0x1bd4], eax
jne 0x10023d07
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x10023d16
mov byte [edi + 0x1c10], 1
cmp dword [ebx + 0x1bc4], 0
jne 0x10023d2b
mov dword [ebx + 0x1bcc], 0
jmp 0x10023d3d
mov eax, dword [ebx + 0x1bc0]
test eax, eax
je 0x10023d47
cmp dword [ebx + 0x1bd4], eax
jne 0x10023d47
mov dword [ebx + 0x1bd0], 0
mov eax, dword [ebx + 0x1bc0]
test eax, eax
je 0x10023d81
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bcc]
movss dword [ebx + 0x1bcc], xmm0
cmp dword [ebx + 0x1bd4], eax
je 0x10023d81
addss xmm1, dword [ebx + 0x1bd0]
movss dword [ebx + 0x1bd0], xmm1
mov dword [ebx + 0x1bc4], eax
mov al, byte [ebx + 0x1bc9]
mov byte [ebx + 0x1bca], al
mov eax, dword [ebx + 0x1bd4]
mov dword [ebx + 0x1bc0], 0
mov word [ebx + 0x1bc8], 0
mov byte [ebx + 0x1bcb], 0
cmp dword [ebx + 0x1bd8], eax
je 0x10023dcc
cmp dword [ebx + 0x1c0c], eax
jne 0x10023dcc
test eax, eax
je 0x10023dcc
call fcn.10022450
mov ecx, dword [ebx + 0x1bd4]
test ecx, ecx
je 0x10023deb
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm0
mov eax, dword [ebx + 0x1c00]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c1c]
mov dword [ebx + 0x1c14], eax
mov al, byte [ebx + 0x1be4]
mov byte [ebx + 0x1c11], al
mov eax, dword [ebx + 0x2e28]
movss dword [ebx + 0x1c1c], xmm0
mov dword [ebx + 0x1c0c], ecx
mov dword [ebx + 0x1bd8], 0
mov byte [ebx + 0x1be5], 0
mov byte [ebx + 0x1c10], 0
mov byte [ebx + 0x1be0], 0
test eax, eax
je 0x10023e55
cmp ecx, eax
je 0x10023e55
mov dword [ebx + 0x2e28], 0
test ecx, ecx
jne 0x10023e71
mov dword [ebx + 0x1be8], ecx
mov dword [ebx + 0x1bec], ecx
mov dword [ebx + 0x1bf0], ecx
mov dword [ebx + 0x1bf4], ecx
mov eax, dword [ebx + 0x1ea8]
mov dword [ebx + 0x1eac], eax
xor eax, eax
mov dword [ebx + 0x1ea8], 0
mov dword [ebx + 0x1ea4], 0x7f7fffff
mov word [ebx + 0x1e45], 0
mov dword [ebx + 0x1eb4], 0
cmp byte [edi + 0xfc], al
movss xmm1, dword [0x1008244c]
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 + 0xc58]
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
cmp byte [ebx + ecx + 0x100], 0
je 0x10023f23
movss xmm0, dword [eax]
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10023f1c
xorps xmm0, xmm0
jmp 0x10023f26
addss xmm0, dword [ebx + 0x18]
jmp 0x10023f26
movaps xmm0, xmm1
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10023f01
call fcn.1002eab0
call fcn.10022c00
call fcn.10023460
mov esi, dword [0x1008b850]
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x1002404d
mov eax, dword [esi + 0x1bd4]
mov dword [esi + 0x1bd8], eax
cmp dword [esi + 0x1c0c], eax
jne 0x10023f74
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x31c]
je 0x1002403c
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x10023f99
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x100824ac]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1002403c
comiss xmm2, xmm1
jb 0x1002403c
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 + 0x30], xmm1
movss dword [esp + 0x34], xmm2
lahf
test ah, 0x44
jp 0x10023ffd
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10024029
test dword [ecx + 8], 0x100
jne 0x1002401b
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2e9c]
jb 0x1002401b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2e9c], eax
push 1
lea edx, [esp + 0x34]
call fcn.1002bc80
add esp, 4
mov ecx, dword [esi + 0x1ba8]
call fcn.1002ba60
mov esi, dword [0x1008b850]
jmp 0x10024085
call fcn.10022450
mov dword [esi + 0x1ba8], 0
jmp 0x10024085
mov ecx, dword [esi + 0x1c00]
test ecx, ecx
je 0x10024085
mov eax, dword [esi + 0x1bd4]
cmp dword [ecx + 0x50], eax
jne 0x10024085
mov dword [esi + 0x1bd8], eax
cmp dword [esi + 0x1c0c], eax
jne 0x10024077
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
jne 0x10024085
call fcn.10022450
mov edx, dword [esi + 0x1cdc]
sub edx, 1
js 0x100240bb
mov eax, dword [esi + 0x1ce4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x100240b3
test dword [ecx + 8], 0x8000000
jne 0x1002417d
sub eax, 0x24
sub edx, 1
jns 0x100240a0
cmp dword [ebx + 0x1e08], 0
xorps xmm6, xmm6
je 0x100240d8
movss xmm0, dword [ebx + 0x1e18]
comiss xmm0, xmm6
ja 0x10024180
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10082318]
movss xmm1, dword [ebx + 0x1e3c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e3c], xmm1
mov dword [ebx + 0x1e40], 0
mov dword [ebx + 0x311c], 0xffffffff
mov dword [ebx + 0x3118], 0xffffffff
mov dword [ebx + 0x3114], 0xffffffff
mov dword [ebx + 0x2e88], 0x3f800000
mov dword [ebx + 0x2e8c], 0x3f800000
call fcn.10022fc0
mov esi, dword [0x1008b850]
mov edi, dword [esi + 0x1d00]
test edi, edi
je 0x100241a2
cmp byte [edi + 0x8a], 0
je 0x100241a2
test dword [edi + 8], 0x40000
jne 0x100241a2
cmp byte [esi + 0xfc], 0
jne 0x100241a2
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x100241a2
call fcn.10025800
test al, al
je 0x100241a2
mov al, 1
jmp 0x100241a4
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x10082304]
addss xmm1, dword [ebx + 0x1e3c]
minss xmm1, dword [0x10082268]
jmp 0x100240f5
xor al, al
cmp dword [esi + 0x1bd4], 0
mov byte [esi + 0x1e38], al
jne 0x100241fe
test al, al
je 0x100241fe
cmp dword [esi + 0x1d04], 0
mov dword [esi + 0x1e24], edi
mov dword [esi + 0x1e30], 0x7fffffff
je 0x100241ed
mov ecx, dword [esi + 0x1d4c]
cmp ecx, 0x7fffffff
je 0x100241ed
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x100241f8
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e34], eax
mov edi, dword [esi + 0x1e24]
mov dword [esi + 0x1e20], 0
mov dword [esi + 0x1e2c], 0x7fffffff
mov dword [esi + 0x1e28], 0x7fffffff
test edi, edi
je 0x10024292
mov eax, dword [esi + 0x1e30]
mov dword [esi + 0x1e20], edi
cmp eax, 0x7fffffff
je 0x10024250
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x10024250
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e28], edx
mov eax, dword [esi + 0x1e34]
cmp eax, 0x7fffffff
je 0x10024274
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x10024274
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e2c], edx
mov dword [esi + 0x1e24], 0
mov dword [esi + 0x1e34], 0x7fffffff
mov dword [esi + 0x1e30], 0x7fffffff
mov dword [esi + 0x1d4c], 0x7fffffff
cmp byte [ebx + 0x1b47], 0
jne 0x100242ca
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x100242ca
movsd xmm1, qword [ebx + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
jmp 0x100242d0
movss xmm1, dword [esp + 0x24]
xor edi, edi
cmp dword [ebx + 0x1b54], edi
je 0x10024464
nop
mov eax, dword [ebx + 0x1b5c]
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 0x10024451
cmp byte [esi + 0x35c], cl
jne 0x10024451
comiss xmm1, dword [esi + 0x25c]
jbe 0x10024451
mov ecx, dword [esi + 0x284]
mov byte [esi + 0x35c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x354], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x358], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x10024389
mov eax, dword [0x1008b850]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x10024377
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x284]
call fcn.1003a6b0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x100243d3
mov eax, dword [0x1008b850]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x100243c1
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x10024412
mov eax, dword [0x1008b850]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x10024400
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1c0], 0
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x10024451
mov eax, dword [0x1008b850]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
test eax, eax
je 0x1002443f
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1cc], 0
movss xmm1, dword [esp + 0x24]
inc edi
cmp edi, dword [ebx + 0x1b54]
jne 0x100242e0
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [ebx + 0x1f00], edi
jle 0x100245c8
xor ecx, ecx
xorps xmm1, xmm1
mov dword [esp + 0x30], ecx
nop
mov eax, dword [ebx + 0x1f08]
movss xmm0, dword [eax + edi*4]
comiss xmm0, xmm1
jb 0x100245ad
movss xmm2, dword [esp + 0x24]
comiss xmm2, xmm0
jbe 0x100245ad
mov esi, dword [ebx + 0x1ee0]
mov eax, dword [0x1008b850]
add esi, ecx
mov dword [esp + 0x28], eax
lea ecx, [esi + 0x1c4]
call fcn.1003d700
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x100244fe
mov eax, dword [0x1008b850]
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1e4], 0
test eax, eax
je 0x100244ec
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov byte [esi + 0x218], 1
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x1002454e
mov eax, dword [0x1008b850]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x1002453c
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1c0], 0
xor edx, edx
mov byte [esi + 0x222], 1
cmp dword [esi + 0x54], edx
jle 0x1002457a
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0xc]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x10024561
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xorps xmm1, xmm1
sub esi, dword [eax + 0x1ee0]
mov eax, 0x76b981db
imul esi
mov eax, dword [esp + 0x28]
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
mov eax, dword [eax + 0x1f08]
add ecx, edx
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x30]
inc edi
add ecx, 0x228
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
cmp edi, dword [ebx + 0x1f00]
jl 0x10024480
cmp byte [ebx + 0x1b47], 0
je 0x1002465f
mov esi, dword [0x1008b850]
mov eax, dword [esi + 0x1ccc]
test eax, eax
je 0x10024619
mov dword [esi + 0x1cc8], 0
mov dword [esi + 0x1cc4], 0
test esi, esi
je 0x10024603
dec dword [esi + 0x370]
mov edi, dword [esp + 0x20]
push eax
call edi
add esp, 4
mov dword [esi + 0x1ccc], 0
jmp 0x1002461d
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x1cd8]
test ecx, ecx
je 0x1002465a
mov eax, dword [0x1008b850]
mov dword [esi + 0x1cd4], 0
mov dword [esi + 0x1cd0], 0
test eax, eax
je 0x1002464a
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x1cd8], 0
call fcn.10043fc0
mov eax, dword [ebx + 0x1d00]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x100246c3
cmp byte [eax + 0x8b], 0
jne 0x100246c3
mov eax, dword [0x1008b850]
mov edx, dword [eax + 0x1b60]
sub edx, 1
js 0x100246bc
mov eax, dword [eax + 0x1b68]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x100246b4
cmp byte [ecx + 0x8b], 0
je 0x100246b4
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x100248cb
sub esi, 4
sub edx, 1
jns 0x10024692
xor ecx, ecx
call fcn.1002ba60
mov ecx, dword [ebx + 0x1b7c]
test ecx, ecx
jns 0x100246e9
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 + 0x1b78]
call fcn.10032750
mov dword [ebx + 0x1b78], 0
mov ecx, dword [ebx + 0x1cec]
test ecx, ecx
jns 0x10024719
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 + 0x1ce8]
call fcn.10032ca0
mov dword [ebx + 0x1ce8], 0
mov ecx, dword [ebx + 0x1cc8]
test ecx, ecx
jns 0x10024749
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [ebx + 0x1cc4]
test eax, eax
cmovg edx, eax
push edx
call fcn.10032750
lea eax, [esp + 0x3c]
mov dword [ebx + 0x1cc4], 0
push eax
lea ecx, [ebx + 0x1cc4]
mov dword [esp + 0x40], 0
call fcn.10032520
push 0
lea ecx, [ebx + 0x1cd0]
call fcn.10032470
mov ecx, dword [ebx + 0x1d00]
xor dl, dl
call fcn.1002d3a0
mov esi, dword [0x1008b850]
cmp byte [esi + 0x2f14], 0
mov dword [esi + 0x2f18], 0
je 0x10024850
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bc4]
mov dword [esi + 0x1e40], 7
test ecx, ecx
js 0x100247c9
call fcn.10025800
test al, al
je 0x100247c9
mov byte [esi + 0x2f14], 0
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x100821a4]
lahf
test ah, 0x44
jp 0x100247ef
test edi, edi
je 0x100247ef
mov dword [esi + 0x2f18], edi
mov byte [esi + 0x2f14], 0
or dword [esi + 0x1c20], 0x40
xor edx, edx
mov dword [esi + 0x1c74], 0x3f19999a
call fcn.1002cf90
push edi
push str.HoveredId:_0x_08X
call fcn.10044e80
push str.Press_ESC_to_abort_picking.
call fcn.10044e80
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x1008b850]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.10044f10
add esp, 8
call fcn.1002b600
mov esi, dword [0x1008b850]
mov byte [ebx + 0x1b45], 1
xor edx, edx
or dword [esi + 0x1c20], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c40], 0x43c80000
mov dword [esi + 0x1c44], 0x43c80000
mov dword [esi + 0x1c28], 4
call fcn.10028cc0
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2ed0], esi
jle 0x100248c4
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2ed8]
add eax, edi
cmp dword [eax + 4], 1
jne 0x100248b8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ed0]
jl 0x100248a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x328]
test eax, eax
je 0x100248de
cmp byte [eax + 0x8b], 0
jne 0x100248e0
mov eax, ecx
mov ecx, eax
jmp 0x100246be