Function at 0x1004ede0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [0x1014d3d8]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x2f94]
sub eax, 1
mov dword [ebp - 4], eax
js 0x1004ee6e
lea edi, [eax + eax*4]
shl edi, 2
nop word [eax + eax]
mov ecx, dword [ebx + 0x2f9c]
cmp dword [ecx + edi + 4], 7
jne 0x1004ee63
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 + 0x2f94]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 4]
add esp, 0xc
dec dword [ebx + 0x2f94]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x1004ee10
xor esi, esi
cmp dword [ebx + 0x2f94], esi
jle 0x1004eea4
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2f9c]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1004ee98
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f94]
jl 0x1004ee80
mov eax, dword [0x1014d3d8]
cmp byte [eax + 0xb4], 0
je 0x1004eebf
test byte [eax + 0xc], 2
jne 0x1004eebf
mov byte [eax + 0xb4], 0
call fcn.10054cd0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x1b48]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b54], 1
mov word [ebx + 0x2f2e], ax
mov dword [ebx + 0x1b9c], eax
addsd xmm0, qword [ebx + 0x1b40]
movsd qword [ebx + 0x1b40], xmm0
mov ecx, dword [ebx + 0x2f44]
test ecx, ecx
jns 0x1004ef1e
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 + 0x2f40]
call fcn.100563d0
mov dword [ebx + 0x2f40], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x31e8]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1010b5a4]
movss xmm4, dword [0x10108af8]
subss xmm0, dword [ebx + eax*4 + 0x3008]
movss dword [ebp - 4], xmm2
addss xmm0, dword [ebx + 0x31f0]
movss dword [ebx + 0x31f0], xmm0
movss dword [ebx + eax*4 + 0x3008], xmm1
mov eax, dword [ebx + 0x31e8]
inc eax
movss xmm1, dword [ebx + 0x31f0]
cdq
idiv ecx
mov eax, dword [ebx + 0x31ec]
inc eax
mov dword [ebx + 0x31e8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x31ec], ecx
jbe 0x1004efb8
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1004efbb
movaps xmm0, xmm2
movss dword [ebx + 0x358], xmm0
xor edi, edi
mov esi, dword [0x1014d3d8]
mov eax, dword [esi + 0x1d50]
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 + 0x1d48], edi
jle 0x1004f0c7
nop
mov eax, dword [esi + 0x1d50]
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 + 0x1d48]
jl 0x1004f000
movss xmm2, dword [ebp - 4]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [0x1014d3d8]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x1004f0ec
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
movss xmm1, dword [esi + 0x9c]
movaps xmm0, xmm4
mov ecx, dword [esi + 0x1ba8]
mov dword [esi + 0x1940], edi
mulss xmm1, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x1948], xmm0
test ecx, ecx
je 0x1004f144
mov eax, dword [0x1014d3d8]
movss xmm3, dword [ecx + 0x23c]
mulss xmm3, dword [eax + 0x1948]
mov eax, dword [ecx + 0x2d8]
test eax, eax
je 0x1004f144
mulss xmm3, dword [eax + 0x23c]
movss xmm4, dword [0x1010c12c]
movaps xmm7, xmm2
movss dword [esi + 0x1944], xmm3
movaps xmm6, xmm2
mov edx, dword [edi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x194c], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x1950], ecx
mov dword [esi + 0x1b3c], eax
mov dword [esi + 0x1954], edi
movss dword [esi + 0x1958], xmm3
mov edx, dword [ebx + 0x1d48]
test edx, edx
jle 0x1004f1e4
mov ecx, dword [ebx + 0x1d50]
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 0x1004f1c4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1004f1cc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1004f1d4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1004f1dc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1004f1a0
mov eax, dword [ebx + 0x15e8]
movss dword [ebp - 0x18], xmm7
movss dword [ebp - 0x14], xmm6
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm5
movups xmm0, xmmword [ebp - 0x18]
push ecx
lea ecx, [ebx + 0x194c]
mov dword [ebx + 0x195c], eax
movups xmmword [ebx + 0x1964], xmm0
movss xmm0, dword [ebx + 0x15ec]
movss dword [esp], xmm0
call fcn.1005d700
xor edx, edx
mov dword [ebx + 0x1974], 0
cmp byte [ebx + 0x15e4], dl
je 0x1004f24b
mov dword [ebx + 0x1974], 1
mov edx, 1
cmp byte [ebx + 0x15e5], 0
mov ecx, edx
je 0x1004f26d
mov eax, dword [ebx + 0x1940]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1004f26d
or ecx, 2
mov dword [ebx + 0x1974], ecx
cmp byte [ebx + 0x15e6], 0
je 0x1004f27f
or ecx, 4
mov dword [ebx + 0x1974], ecx
test byte [ebx + 0xc], 8
je 0x1004f28e
or ecx, 8
mov dword [ebx + 0x1974], ecx
xor esi, esi
cmp dword [ebx + 0x1d48], esi
jle 0x1004f2c2
nop dword [eax + eax]
mov eax, dword [ebx + 0x1d50]
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 + 0x1d48]
jl 0x1004f2a0
cmp byte [ebx + 0x1ec4], 0
je 0x1004f2fc
mov eax, dword [ebx + 0x1edc]
cmp eax, dword [ebx + 0x1be0]
jne 0x1004f2fc
mov ecx, dword [0x1014d3d8]
cmp dword [ecx + 0x1be0], eax
jne 0x1004f2ed
mov dword [ecx + 0x1be4], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x1004f2fc
mov byte [ecx + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
jne 0x1004f311
mov dword [ebx + 0x1bd8], 0
jmp 0x1004f323
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004f32d
cmp dword [ebx + 0x1be0], eax
jne 0x1004f32d
mov dword [ebx + 0x1bdc], 0
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004f367
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], eax
je 0x1004f367
addss xmm1, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm1
mov dword [ebx + 0x1bd0], eax
mov al, byte [ebx + 0x1bd5]
mov byte [ebx + 0x1bd6], al
mov eax, dword [ebx + 0x1be0]
mov dword [ebx + 0x1bcc], 0
mov word [ebx + 0x1bd4], 0
mov byte [ebx + 0x1bd7], 0
cmp dword [ebx + 0x1be4], eax
je 0x1004f3b2
cmp dword [ebx + 0x1c1c], eax
jne 0x1004f3b2
test eax, eax
je 0x1004f3b2
call fcn.10047560
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x1004f3d1
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1be8]
movss dword [ebx + 0x1be8], xmm0
mov eax, dword [ebx + 0x1c10]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c2c]
mov dword [ebx + 0x1c24], eax
mov al, byte [ebx + 0x1bf0]
mov byte [ebx + 0x1c21], al
mov eax, dword [ebx + 0x2ec0]
movss dword [ebx + 0x1c2c], xmm0
mov dword [ebx + 0x1c1c], ecx
mov dword [ebx + 0x1be4], 0
mov byte [ebx + 0x1bf1], 0
mov byte [ebx + 0x1c20], 0
mov byte [ebx + 0x1bec], 0
test eax, eax
je 0x1004f43b
cmp ecx, eax
je 0x1004f43b
mov dword [ebx + 0x2ec0], 0
test ecx, ecx
jne 0x1004f457
mov dword [ebx + 0x1bf4], ecx
mov dword [ebx + 0x1bf8], ecx
mov dword [ebx + 0x1c00], ecx
mov dword [ebx + 0x1c04], ecx
cmp byte [ebx + 0x1518], 0
mov eax, dword [ebx + 0x1f28]
mov dword [ebx + 0x1f2c], eax
mov dword [ebx + 0x1f28], 0
mov dword [ebx + 0x1f24], 0x7f7fffff
mov word [ebx + 0x1ec5], 0
mov dword [ebx + 0x1f34], 0
je 0x1004f512
push 0x200
lea eax, [ebx + 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x474]
mov ecx, 0x200
nop dword [eax]
nop dword [eax + eax]
mov dword [eax + 0x800], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x1004f4c0
mov dword [ebx + 0xfc], ecx
lea eax, [ebx + 0x1474]
mov dword [ebx + 0x380], ecx
mov dword [ebx + 0x37c], ecx
mov ecx, 0x14
mov dword [eax + 0x50], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x1004f4f6
mov byte [ebx + 0x1518], cl
mov esi, dword [0x1014d3d8]
lea edi, [ebx + 0xc74]
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 [ebx + 0x37c], eax
lea eax, [ebx + 0x474]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax]
cmp byte [ebx + ecx + 0x100], 0
je 0x1004f592
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004f58b
xorps xmm0, xmm0
jmp 0x1004f59a
addss xmm0, dword [ebx + 0x18]
jmp 0x1004f59a
movss xmm0, dword [0x1010b914]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1004f570
call fcn.1004c930
call fcn.100542e0
call fcn.10054070
mov esi, dword [0x1014d3d8]
mov edx, dword [esi + 0x1bb4]
test edx, edx
je 0x1004f6ba
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004f5e8
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov edx, dword [edx + 0x2e0]
je 0x1004f6ae
mov ecx, dword [0x1014d3d8]
lea eax, [esi + 0xe4]
mov edi, eax
test eax, eax
jne 0x1004f613
lea edi, [ecx + 0xe4]
movss xmm0, dword [edi]
movss xmm1, dword [0x1010c128]
comiss xmm0, xmm1
movss xmm2, dword [edi + 4]
jb 0x1004f6ae
comiss xmm2, xmm1
jb 0x1004f6ae
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c08]
movss xmm0, dword [edx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c0c]
ucomiss xmm0, xmm1
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0xc], xmm2
lahf
test ah, 0x44
jp 0x1004f671
movss xmm0, dword [edx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1004f69e
test dword [edx + 8], 0x100
jne 0x1004f68f
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2f60]
jb 0x1004f68f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2f60], eax
push 1
lea eax, [ebp - 0x10]
push eax
push edx
call fcn.10053350
add esp, 0xc
push dword [esi + 0x1bb4]
call fcn.100491c0
add esp, 4
jmp 0x1004f6f2
mov dword [esi + 0x1bb4], 0
jmp 0x1004f6ed
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x1004f6f2
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x50], eax
jne 0x1004f6f2
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004f6e4
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x1004f6f2
call fcn.10047560
mov eax, dword [0x1014d3d8]
mov edx, dword [eax + 0x1d2c]
sub edx, 1
js 0x1004f728
mov eax, dword [eax + 0x1d34]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1004f720
test dword [ecx + 8], 0x8000000
jne 0x1004f742
sub eax, 0x24
sub edx, 1
jns 0x1004f711
cmp dword [ebx + 0x1ea4], 0
je 0x1004f761
movss xmm0, dword [ebx + 0x1eb4]
comiss xmm0, dword [0x1010b580]
jbe 0x1004f761
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x1010b58c]
addss xmm1, dword [ebx + 0x1ebc]
minss xmm1, dword [0x10108af8]
jmp 0x1004f782
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1010b538]
movss xmm1, dword [ebx + 0x1ebc]
subss xmm1, xmm0
maxss xmm1, dword [0x1010b580]
movss dword [ebx + 0x1ebc], xmm1
mov dword [ebx + 0x1ec0], 0
mov dword [ebx + 0x31fc], 0xffffffff
mov dword [ebx + 0x31f8], 0xffffffff
mov dword [ebx + 0x31f4], 0xffffffff
mov dword [ebx + 0x2f4c], 0x3f800000
mov dword [ebx + 0x2f50], 0x3f800000
call fcn.10054880
cmp byte [ebx + 0x1b57], 0
jne 0x1004f7fb
movss xmm1, dword [ebx + 0xb8]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004f7fb
movsd xmm0, qword [ebx + 0x1b40]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1004f800
movss xmm0, dword [ebp - 4]
xor edi, edi
cmp dword [ebx + 0x1b60], edi
je 0x1004f9b3
nop
mov eax, dword [ebx + 0x1b68]
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 0x1004f9a1
cmp byte [esi + 0x324], cl
jne 0x1004f9a1
comiss xmm0, dword [esi + 0x21c]
jbe 0x1004f9a1
mov ecx, dword [esi + 0x244]
mov byte [esi + 0x324], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x31c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x320], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x1004f8c1
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x1004f8a7
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ecx
call dword [0x101492ec]
add esp, 8
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x244]
call fcn.1005dee0
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x1004f913
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x1004f8f9
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ecx
call dword [0x101492ec]
add esp, 8
mov dword [esi + 0x168], 0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x1004f95a
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x1004f940
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ecx
call dword [0x101492ec]
add esp, 8
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x1004f9a1
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x1004f987
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ecx
call dword [0x101492ec]
add esp, 8
mov dword [esi + 0x19c], 0
movss xmm0, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b60]
jne 0x1004f810
xor esi, esi
cmp dword [ebx + 0x1f98], esi
jle 0x1004f9ff
xor edi, edi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x1fa0]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x1004f9f0
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1004f9f0
mov eax, dword [ebx + 0x1f80]
add eax, edi
push eax
call fcn.1006a2f0
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x1c8
cmp esi, dword [ebx + 0x1f98]
jl 0x1004f9c2
xor esi, esi
cmp dword [ebx + 0x1f6c], esi
jle 0x1004fa44
xor edi, edi
xorps xmm1, xmm1
nop
mov eax, dword [ebx + 0x1f74]
add eax, edi
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x1004fa38
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1004fa38
push eax
call fcn.1006a3d0
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x68
cmp esi, dword [ebx + 0x1f6c]
jl 0x1004fa10
cmp byte [ebx + 0x1b57], 0
je 0x1004faea
mov esi, dword [0x1014d3d8]
mov ecx, dword [esi + 0x1d1c]
test ecx, ecx
je 0x1004fa9e
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x1004fa84
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ecx
call dword [0x101492ec]
add esp, 8
mov dword [esi + 0x1d1c], 0
mov ecx, dword [esi + 0x1d28]
test ecx, ecx
je 0x1004fae5
mov dword [esi + 0x1d24], 0
mov dword [esi + 0x1d20], 0
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x1004facb
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ecx
call dword [0x101492ec]
add esp, 8
mov dword [esi + 0x1d28], 0
call fcn.1006a0f0
mov eax, dword [ebx + 0x1d54]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x1004fc47
cmp byte [eax + 0x8b], 0
jne 0x1004fc47
mov edi, dword [0x1014d3d8]
mov edx, dword [edi + 0x1b6c]
sub edx, 1
js 0x1004fb4c
mov eax, dword [edi + 0x1b74]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1004fb44
cmp byte [ecx + 0x8b], 0
je 0x1004fb44
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1004fbb5
sub esi, 4
sub edx, 1
jns 0x1004fb26
mov esi, edi
cmp dword [esi + 0x1d54], 0
je 0x1004fbe3
mov dword [esi + 0x1d54], 0
mov dword [esi + 0x1d58], 0
mov dword [esi + 0x1d5c], 0
mov byte [esi + 0x1d90], 0
mov dword [esi + 0x1d8c], 0
mov word [esi + 0x1dac], 0
mov byte [esi + 0x1d95], 0
mov eax, dword [0x1014d3d8]
cmp byte [eax + 0x1dad], 0
jne 0x1004fbd5
cmp byte [eax + 0x1d95], 0
jne 0x1004fbd5
xor cl, cl
jmp 0x1004fbd7
mov eax, dword [ecx + 0x2f0]
test eax, eax
je 0x1004fbc8
cmp byte [eax + 0x8b], 0
jne 0x1004fbca
mov eax, ecx
push eax
call fcn.100491c0
add esp, 4
jmp 0x1004fc47
mov cl, 1
mov byte [eax + 0x1d94], cl
mov edi, dword [0x1014d3d8]
mov eax, dword [edi + 0x1d2c]
test eax, eax
jle 0x1004fc1d
mov ecx, dword [edi + 0x1d30]
test ecx, ecx
jns 0x1004fc13
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 + 0x1d2c]
call fcn.100564f0
mov dword [edi + 0x1d2c], 0
cmp dword [esi + 0x1be0], 0
je 0x1004fc47
mov eax, dword [esi + 0x1c10]
test eax, eax
je 0x1004fc47
cmp dword [eax + 0x2e0], 0
je 0x1004fc47
cmp byte [esi + 0x1bee], 0
jne 0x1004fc47
call fcn.10047560
mov ecx, dword [ebx + 0x1b88]
test ecx, ecx
jns 0x1004fc6d
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 + 0x1b84]
call fcn.10056600
mov dword [ebx + 0x1b84], 0
mov ecx, dword [ebx + 0x1d3c]
test ecx, ecx
jns 0x1004fc9d
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 + 0x1d38]
call fcn.100564f0
lea esi, [ebx + 0x1d14]
mov dword [ebx + 0x1d38], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1004fccc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100563d0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1004fce1
push 8
mov ecx, esi
call fcn.100563d0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1d20]
inc dword [esi]
call fcn.100566c0
mov edi, dword [0x1014d3d8]
cmp byte [edi + 0x2fd8], 0
mov dword [edi + 0x2fdc], 0
je 0x1004fde3
mov eax, dword [0x1014d3d8]
mov ecx, dword [edi + 0x1bd0]
mov dword [ebp - 4], ecx
mov dword [eax + 0x1ec0], 7
mov esi, dword [0x1014d3d8]
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1004fd5d
push 1
push eax
call fcn.1004aa00
mov ecx, dword [ebp - 4]
add esp, 8
test al, al
je 0x1004fd5d
mov byte [edi + 0x2fd8], 0
mov esi, dword [0x1014d3d8]
movss xmm0, dword [esi + 0x410]
ucomiss xmm0, dword [0x1010b580]
lahf
test ah, 0x44
jp 0x1004fd89
test ecx, ecx
je 0x1004fd89
mov dword [edi + 0x2fdc], ecx
mov byte [edi + 0x2fd8], 0
mov esi, dword [0x1014d3d8]
or dword [esi + 0x1c84], 0x40
push 0
push 0
mov dword [esi + 0x1cd8], 0x3f19999a
call fcn.10046620
mov esi, dword [ebp - 4]
push esi
push str.HoveredId:_0x_08X
call fcn.10069560
push str.Press_ESC_to_abort_picking.
call fcn.10069560
mov ecx, 0x1600
test esi, esi
mov eax, 0x15f0
cmove eax, ecx
add eax, dword [0x1014d3d8]
push str.Click_to_break_in_debugger_
push eax
call fcn.10069580
add esp, 0x1c
call fcn.10048170
mov esi, dword [0x1014d3d8]
mov dword [esi + 0x1bc8], 0
mov eax, dword [esi + 0x2ff0]
inc eax
cmp dword [esi + 0x1b48], eax
jne 0x1004fedd
mov edi, dword [esi + 0x1bd0]
test edi, edi
jne 0x1004fe16
mov edi, dword [esi + 0x1be0]
cmp dword [esi + 0x2ff8], edi
je 0x1004fe63
lea eax, [esi + 0x2ffc]
mov dword [esi + 0x2ff8], edi
mov dword [esi + 0x2ff4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004fe5d
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 + 0x2ffc]
call fcn.10056580
lea eax, [esi + 0x2ffc]
mov dword [eax], 0
test edi, edi
je 0x1004fedd
mov eax, dword [esi + 0x2ff4]
test eax, eax
js 0x1004fea6
mov ecx, eax
cmp eax, dword [esi + 0x2ffc]
jge 0x1004feb9
mov ecx, dword [esi + 0x3004]
mov edx, eax
shl edx, 6
cmp byte [edx + ecx + 5], 0
jne 0x1004fe9f
mov ebx, dword [esi + 0x3004]
mov ecx, eax
cmp byte [edx + ebx + 4], 2
mov ebx, dword [ebp - 8]
jle 0x1004feb9
inc eax
mov dword [esi + 0x2ff4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1004feb5
mov dword [esi + 0x1bc8], edi
jmp 0x1004fedd
test ecx, ecx
js 0x1004fedd
cmp ecx, dword [esi + 0x2ffc]
jge 0x1004fedd
mov eax, dword [esi + 0x3004]
shl ecx, 6
mov eax, dword [ecx + eax]
mov dword [esi + 0x1bc8], eax
mov eax, dword [esi + 0x3004]
inc byte [ecx + eax + 4]
mov byte [ebx + 0x1b55], 1
mov eax, dword [0x1014d3d8]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x1c84], 2
mov dword [eax + 0x1ca4], 0x43c80000
mov dword [eax + 0x1ca8], 0x43c80000
mov dword [eax + 0x1c8c], 4
call fcn.10044100
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2f94], esi
jle 0x1004ff54
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebx + 0x2f9c]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1004ff48
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f94]
jl 0x1004ff30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret