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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x10248410]
push esi
push edi
mov eax, dword [ebx + 0x2ee0]
sub eax, 1
mov dword [ebp - 4], eax
js 0x1004b933
lea edi, [eax + eax*4]
shl edi, 2
mov edx, dword [ebx + 0x2ee8]
cmp dword [edi + edx + 4], 7
jne 0x1004b928
mov esi, edx
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 + 0x2ee0]
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 + 0x2ee0]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x1004b8d3
xor esi, esi
cmp dword [ebx + 0x2ee0], esi
jle 0x1004b964
xor edi, edi
nop
mov eax, dword [ebx + 0x2ee8]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1004b958
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ee0]
jl 0x1004b940
mov eax, dword [0x10248410]
cmp byte [eax + 0xb4], 0
je 0x1004b97f
test byte [eax + 0xc], 2
jne 0x1004b97f
mov byte [eax + 0xb4], 0
call fcn.10051570
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b48]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b54], 1
mov dword [ebx + 0x2e78], 0
mov dword [ebx + 0x1ba0], 0
addsd xmm0, qword [ebx + 0x1b40]
movsd qword [ebx + 0x1b40], xmm0
mov ecx, dword [ebx + 0x2e90]
test ecx, ecx
jns 0x1004b9e3
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 + 0x2e8c]
call fcn.10052b30
mov dword [ebx + 0x2e8c], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x311c]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x10217eb0]
movss xmm4, dword [0x100ffd24]
subss xmm0, dword [ebx + eax*4 + 0x2f3c]
movss dword [ebp - 4], xmm2
addss xmm0, dword [ebx + 0x3120]
movss dword [ebx + 0x3120], xmm0
movss dword [ebx + eax*4 + 0x2f3c], xmm1
mov eax, dword [ebx + 0x311c]
inc eax
movss xmm1, dword [ebx + 0x3120]
cdq
idiv ecx
comiss xmm1, xmm3
mov dword [ebx + 0x311c], edx
jbe 0x1004ba68
divss xmm1, dword [0x10217ea4]
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1004ba6b
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edi, edi
mov esi, dword [0x10248410]
mov eax, dword [esi + 0x1d0c]
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 + 0x1d04], edi
jle 0x1004bb77
nop
mov eax, dword [esi + 0x1d0c]
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 + 0x1d04]
jl 0x1004bab0
movss xmm2, dword [ebp - 4]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [0x10248410]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x1004bb9c
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 + 0x1bac]
mov dword [esi + 0x193c], edi
mulss xmm1, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x40]
maxss xmm0, xmm1
movss dword [esi + 0x1944], xmm0
test ecx, ecx
je 0x1004bbf6
mov eax, dword [0x10248410]
movss xmm0, dword [ecx + 0x28c]
mulss xmm0, dword [eax + 0x1944]
mov eax, dword [ecx + 0x328]
test eax, eax
je 0x1004bbf9
mulss xmm0, dword [eax + 0x28c]
jmp 0x1004bbf9
movaps xmm0, xmm3
movss xmm4, dword [0x10217ec0]
movaps xmm7, xmm2
movss dword [esi + 0x1940], xmm0
movaps xmm6, xmm2
mov edx, dword [edi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x1948], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x194c], ecx
mov dword [esi + 0x1b38], eax
mov dword [esi + 0x1950], edi
movss dword [esi + 0x1954], xmm0
mov edx, dword [ebx + 0x1d04]
test edx, edx
jle 0x1004bc94
mov ecx, dword [ebx + 0x1d0c]
nop
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0xc]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x10]
jbe 0x1004bc74
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1004bc7c
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x1004bc84
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x1004bc8c
movaps xmm5, xmm0
add ecx, 4
sub edx, 1
jne 0x1004bc50
mov eax, dword [ebx + 0x15d4]
movss dword [ebp - 0x14], xmm7
movss dword [ebp - 0x10], xmm6
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 8], xmm5
movups xmm0, xmmword [ebp - 0x14]
push ecx
lea ecx, [ebx + 0x1948]
mov dword [ebx + 0x1958], eax
movups xmmword [ebx + 0x1960], xmm0
movss xmm0, dword [ebx + 0x15d8]
movss dword [esp], xmm0
call fcn.10059dc0
xor edx, edx
mov dword [ebx + 0x1970], 0
cmp byte [ebx + 0x15d0], dl
je 0x1004bcfb
mov dword [ebx + 0x1970], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x1004bd1d
mov eax, dword [ebx + 0x193c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1004bd1d
or ecx, 2
mov dword [ebx + 0x1970], ecx
cmp byte [ebx + 0x15d2], 0
je 0x1004bd2f
or ecx, 4
mov dword [ebx + 0x1970], ecx
test byte [ebx + 0xc], 8
je 0x1004bd3e
or ecx, 8
mov dword [ebx + 0x1970], ecx
xor esi, esi
cmp dword [ebx + 0x1d04], esi
jle 0x1004bd72
nop dword [eax + eax]
mov eax, dword [ebx + 0x1d0c]
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 + 0x1d04]
jl 0x1004bd50
cmp byte [ebx + 0x1e54], 0
je 0x1004bdac
mov eax, dword [ebx + 0x1e6c]
cmp eax, dword [ebx + 0x1be0]
jne 0x1004bdac
mov ecx, dword [0x10248410]
cmp dword [ecx + 0x1be0], eax
jne 0x1004bd9d
mov dword [ecx + 0x1be8], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x1004bdac
mov byte [ecx + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
jne 0x1004bdc1
mov dword [ebx + 0x1bd8], 0
jmp 0x1004bdd3
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004bddd
cmp dword [ebx + 0x1be0], eax
jne 0x1004bddd
mov dword [ebx + 0x1bdc], 0
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004be17
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], eax
je 0x1004be17
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 + 0x1be8], eax
je 0x1004be62
cmp dword [ebx + 0x1c1c], eax
jne 0x1004be62
test eax, eax
je 0x1004be62
call fcn.10043350
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x1004be81
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1bec]
movss dword [ebx + 0x1bec], 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 + 0x1bf4]
mov byte [ebx + 0x1c21], al
mov eax, dword [ebx + 0x2e38]
movss dword [ebx + 0x1c2c], xmm0
mov dword [ebx + 0x1c1c], ecx
mov dword [ebx + 0x1be8], 0
mov byte [ebx + 0x1bf5], 0
mov byte [ebx + 0x1c20], 0
mov byte [ebx + 0x1bf0], 0
test eax, eax
je 0x1004beeb
cmp ecx, eax
je 0x1004beeb
mov dword [ebx + 0x2e38], 0
test ecx, ecx
jne 0x1004bf07
mov dword [ebx + 0x1bf8], ecx
mov dword [ebx + 0x1bfc], ecx
mov dword [ebx + 0x1c00], ecx
mov dword [ebx + 0x1c04], ecx
mov eax, dword [ebx + 0x1eb8]
lea edi, [ebx + 0xc58]
mov dword [ebx + 0x1ebc], eax
xor eax, eax
mov dword [ebx + 0x1eb8], 0
mov dword [ebx + 0x1eb4], 0x7f7fffff
mov word [ebx + 0x1e55], 0
mov dword [ebx + 0x1ec4], 0
mov esi, dword [0x10248410]
movss xmm2, dword [0x10217eb8]
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 + 0x458]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax]
cmp byte [ecx + ebx + 0x100], 0
je 0x1004bfc2
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004bfbb
xorps xmm0, xmm0
jmp 0x1004bfc5
addss xmm0, dword [ebx + 0x18]
jmp 0x1004bfc5
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1004bfa0
call fcn.100495c0
call fcn.10050b80
call fcn.10050980
mov esi, dword [0x10248410]
mov edx, dword [esi + 0x1bb8]
test edx, edx
je 0x1004c0ee
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be8], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004c013
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov edx, dword [edx + 0x32c]
je 0x1004c0dd
mov ecx, dword [0x10248410]
lea eax, [esi + 0xe4]
mov edi, eax
test eax, eax
jne 0x1004c03e
lea edi, [ecx + 0xe4]
movss xmm0, dword [edi]
movss xmm1, dword [0x10217ebc]
comiss xmm0, xmm1
movss xmm2, dword [edi + 4]
jb 0x1004c0dd
comiss xmm2, xmm1
jb 0x1004c0dd
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c08]
movss xmm0, dword [edx + 0x18]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c0c]
ucomiss xmm0, xmm1
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x1004c0a0
movss xmm0, dword [edx + 0x1c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1004c0cd
test dword [edx + 0x14], 0x100
jne 0x1004c0be
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2eac]
jb 0x1004c0be
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2eac], eax
push 1
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.10050600
add esp, 0xc
push dword [esi + 0x1bb8]
call fcn.10045270
add esp, 4
jmp 0x1004c126
call fcn.10043350
mov dword [esi + 0x1bb8], 0
jmp 0x1004c126
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x1004c126
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x5c], eax
jne 0x1004c126
mov dword [esi + 0x1be8], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004c118
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x1004c126
call fcn.10043350
mov eax, dword [0x10248410]
mov edx, dword [eax + 0x1cec]
sub edx, 1
js 0x1004c15c
mov eax, dword [eax + 0x1cf4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1004c154
test dword [ecx + 0x14], 0x8000000
jne 0x1004c176
sub eax, 0x24
sub edx, 1
jns 0x1004c145
cmp dword [ebx + 0x1e18], 0
je 0x1004c195
movss xmm0, dword [ebx + 0x1e28]
comiss xmm0, dword [0x100ffb00]
jbe 0x1004c195
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x10217e90]
addss xmm1, dword [ebx + 0x1e4c]
minss xmm1, dword [0x100ffd24]
jmp 0x1004c1b6
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1021720c]
movss xmm1, dword [ebx + 0x1e4c]
subss xmm1, xmm0
maxss xmm1, dword [0x100ffb00]
movss dword [ebx + 0x1e4c], xmm1
mov dword [ebx + 0x1e50], 0
mov dword [ebx + 0x312c], 0xffffffff
mov dword [ebx + 0x3128], 0xffffffff
mov dword [ebx + 0x3124], 0xffffffff
mov dword [ebx + 0x2e98], 0x3f800000
mov dword [ebx + 0x2e9c], 0x3f800000
call fcn.100510e0
mov esi, dword [0x10248410]
mov edi, dword [esi + 0x1d10]
test edi, edi
je 0x1004c244
cmp byte [edi + 0x96], 0
je 0x1004c244
test dword [edi + 0x14], 0x40000
jne 0x1004c244
cmp byte [esi + 0xfc], 0
jne 0x1004c244
mov eax, dword [esi + 0x34]
test eax, eax
js 0x1004c244
push 1
push eax
call fcn.10047940
add esp, 8
test al, al
je 0x1004c244
mov al, 1
jmp 0x1004c246
xor al, al
cmp dword [esi + 0x1be0], 0
mov byte [esi + 0x1e48], al
jne 0x1004c2a5
test al, al
je 0x1004c2a5
cmp dword [esi + 0x1d14], 0
mov dword [esi + 0x1e34], edi
mov dword [esi + 0x1e40], 0x7fffffff
je 0x1004c294
mov ecx, dword [esi + 0x1d5c]
cmp ecx, 0x7fffffff
je 0x1004c294
xor edx, edx
mov eax, 2
cmp byte [esi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x1004c29f
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e44], eax
mov edi, dword [esi + 0x1e34]
mov dword [esi + 0x1e30], 0
mov dword [esi + 0x1e3c], 0x7fffffff
mov dword [esi + 0x1e38], 0x7fffffff
test edi, edi
je 0x1004c339
mov eax, dword [esi + 0x1e40]
mov dword [esi + 0x1e30], edi
cmp eax, 0x7fffffff
je 0x1004c2f7
mov ecx, dword [edi + 0x1b4]
cmp ecx, 0xffffffff
je 0x1004c2f7
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e38], edx
mov eax, dword [esi + 0x1e44]
cmp eax, 0x7fffffff
je 0x1004c31b
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x1004c31b
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e3c], edx
mov dword [esi + 0x1e34], 0
mov dword [esi + 0x1e44], 0x7fffffff
mov dword [esi + 0x1e40], 0x7fffffff
mov dword [esi + 0x1d5c], 0x7fffffff
cmp byte [ebx + 0x1b57], 0
jne 0x1004c373
movss xmm1, dword [ebx + 0xb8]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004c373
movsd xmm0, qword [ebx + 0x1b40]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1004c378
movss xmm0, dword [ebp - 4]
xor edi, edi
cmp dword [ebx + 0x1b64], edi
je 0x1004c533
nop word [eax + eax]
mov eax, dword [ebx + 0x1b6c]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x96]
mov byte [esi + 0x97], al
mov word [esi + 0xa2], cx
mov byte [esi + 0x96], cl
mov byte [esi + 0x98], cl
test al, al
jne 0x1004c521
cmp byte [esi + 0x36c], cl
jne 0x1004c521
comiss xmm0, dword [esi + 0x26c]
jbe 0x1004c521
mov ecx, dword [esi + 0x294]
mov byte [esi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x1004c441
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
mov eax, dword [0x10248410]
test eax, eax
je 0x1004c427
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
add esp, 8
mov dword [esi + 0xd4], 0
mov ecx, dword [esi + 0x294]
call fcn.1005a620
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x1004c493
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov eax, dword [0x10248410]
test eax, eax
je 0x1004c479
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
add esp, 8
mov dword [esi + 0x19c], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x1004c4da
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov eax, dword [0x10248410]
test eax, eax
je 0x1004c4c0
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
add esp, 8
mov dword [esi + 0x1d0], 0
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
je 0x1004c521
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1d4], 0
mov eax, dword [0x10248410]
test eax, eax
je 0x1004c507
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
add esp, 8
mov dword [esi + 0x1dc], 0
movss xmm0, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b64]
jne 0x1004c390
xor esi, esi
cmp dword [ebx + 0x1f10], esi
jle 0x1004c57f
xor edi, edi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x1f18]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x1004c570
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1004c570
mov eax, dword [ebx + 0x1ef0]
add eax, edi
push eax
call fcn.10065290
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x228
cmp esi, dword [ebx + 0x1f10]
jl 0x1004c542
cmp byte [ebx + 0x1b57], 0
je 0x1004c625
mov esi, dword [0x10248410]
mov ecx, dword [esi + 0x1cdc]
test ecx, ecx
je 0x1004c5d9
mov dword [esi + 0x1cd8], 0
mov dword [esi + 0x1cd4], 0
mov eax, dword [0x10248410]
test eax, eax
je 0x1004c5bf
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
add esp, 8
mov dword [esi + 0x1cdc], 0
mov ecx, dword [esi + 0x1ce8]
test ecx, ecx
je 0x1004c620
mov dword [esi + 0x1ce4], 0
mov dword [esi + 0x1ce0], 0
mov eax, dword [0x10248410]
test eax, eax
je 0x1004c606
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
add esp, 8
mov dword [esi + 0x1ce8], 0
call fcn.100650b0
mov eax, dword [ebx + 0x1d10]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x1004c64b
cmp byte [eax + 0x97], 0
jne 0x1004c64b
push 0
push 0
call fcn.100451b0
add esp, 8
mov ecx, dword [ebx + 0x1b8c]
test ecx, ecx
jns 0x1004c671
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 + 0x1b88]
call fcn.10052b30
mov dword [ebx + 0x1b88], 0
mov ecx, dword [ebx + 0x1cfc]
test ecx, ecx
jns 0x1004c6a1
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 + 0x1cf8]
call fcn.10052bc0
lea esi, [ebx + 0x1cd4]
mov dword [ebx + 0x1cf8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1004c6d0
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.10052b30
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1004c6e5
push 8
mov ecx, esi
call fcn.10052b30
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1ce0]
inc dword [esi]
call fcn.10052d40
push 0
push dword [ebx + 0x1d10]
call fcn.10043630
mov edi, dword [0x10248410]
add esp, 8
cmp byte [edi + 0x2f24], 0
mov dword [edi + 0x2f28], 0
je 0x1004c7fa
mov eax, dword [0x10248410]
mov ecx, dword [edi + 0x1bd0]
mov dword [ebp - 4], ecx
mov dword [eax + 0x1e50], 7
mov esi, dword [0x10248410]
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1004c771
push 1
push eax
call fcn.10047940
mov ecx, dword [ebp - 4]
add esp, 8
test al, al
je 0x1004c771
mov byte [edi + 0x2f24], 0
mov esi, dword [0x10248410]
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x100ffb00]
lahf
test ah, 0x44
jp 0x1004c79d
test ecx, ecx
je 0x1004c79d
mov dword [edi + 0x2f28], ecx
mov byte [edi + 0x2f24], 0
mov esi, dword [0x10248410]
or dword [esi + 0x1c30], 0x40
push 0
push 0
mov dword [esi + 0x1c84], 0x3f19999a
call fcn.10042250
mov esi, dword [ebp - 4]
push esi
push str.HoveredId:_0x_08X
call fcn.1007c0d0
push str.Press_ESC_to_abort_picking.
call fcn.1007c0d0
xor ecx, ecx
mov eax, 0x10
test esi, esi
push str.Click_to_break_in_debugger_
cmove ecx, eax
mov eax, dword [0x10248410]
add eax, 0x15dc
add eax, ecx
push eax
call fcn.1007c0f0
add esp, 0x1c
call fcn.10043e70
mov byte [ebx + 0x1b55], 1
mov eax, dword [0x10248410]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x1c30], 2
mov dword [eax + 0x1c50], 0x43c80000
mov dword [eax + 0x1c54], 0x43c80000
mov dword [eax + 0x1c38], 4
call fcn.1003fad0
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2ee0], esi
jle 0x1004c874
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebx + 0x2ee8]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1004c868
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ee0]
jl 0x1004c850
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret