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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x10124144]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x2f94]
sub eax, 1
mov dword [ebp - 4], eax
js 0x1004cf3e
lea edi, [eax + eax*4]
shl edi, 2
nop word [eax + eax]
mov ecx, dword [ebx + 0x2f9c]
cmp dword [ecx + edi + 4], 7
jne 0x1004cf33
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 0x1004cee0
xor esi, esi
cmp dword [ebx + 0x2f94], esi
jle 0x1004cf74
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2f9c]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1004cf68
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 0x1004cf50
mov eax, dword [0x10124144]
cmp byte [eax + 0xb4], 0
je 0x1004cf8f
test byte [eax + 0xc], 2
jne 0x1004cf8f
mov byte [eax + 0xb4], 0
call fcn.10052c00
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 0x1004cfee
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.10054310
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 [0x100fafe4]
movss xmm4, dword [0x100f856c]
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 0x1004d088
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1004d08b
movaps xmm0, xmm2
movss dword [ebx + 0x358], xmm0
xor edi, edi
mov esi, dword [0x10124144]
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 0x1004d197
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 0x1004d0d0
movss xmm2, dword [ebp - 4]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [0x10124144]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x1004d1bc
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 0x1004d214
mov eax, dword [0x10124144]
movss xmm3, dword [ecx + 0x23c]
mulss xmm3, dword [eax + 0x1948]
mov eax, dword [ecx + 0x2d8]
test eax, eax
je 0x1004d214
mulss xmm3, dword [eax + 0x23c]
movss xmm4, dword [0x100fbb6c]
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 0x1004d2b4
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 0x1004d294
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1004d29c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1004d2a4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1004d2ac
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1004d270
movss dword [ebx + 0x1964], xmm7
movss dword [ebx + 0x1968], xmm6
movss dword [ebx + 0x196c], xmm4
movss dword [ebx + 0x1970], xmm5
movss xmm0, dword [ebx + 0x15ec]
mov eax, dword [ebx + 0x15e8]
push ecx
lea ecx, [ebx + 0x194c]
mov dword [ebx + 0x195c], eax
movss dword [esp], xmm0
call fcn.1005b630
xor edx, edx
mov dword [ebx + 0x1974], 0
cmp byte [ebx + 0x15e4], dl
je 0x1004d31c
mov dword [ebx + 0x1974], 1
mov edx, 1
cmp byte [ebx + 0x15e5], 0
mov ecx, edx
je 0x1004d33e
mov eax, dword [ebx + 0x1940]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1004d33e
or ecx, 2
mov dword [ebx + 0x1974], ecx
cmp byte [ebx + 0x15e6], 0
je 0x1004d350
or ecx, 4
mov dword [ebx + 0x1974], ecx
test byte [ebx + 0xc], 8
je 0x1004d35f
or ecx, 8
mov dword [ebx + 0x1974], ecx
xor esi, esi
cmp dword [ebx + 0x1d48], esi
jle 0x1004d392
nop dword [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 0x1004d370
cmp byte [ebx + 0x1ec4], 0
je 0x1004d3cc
mov eax, dword [ebx + 0x1edc]
cmp eax, dword [ebx + 0x1be0]
jne 0x1004d3cc
mov ecx, dword [0x10124144]
cmp dword [ecx + 0x1be0], eax
jne 0x1004d3bd
mov dword [ecx + 0x1be4], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x1004d3cc
mov byte [ecx + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
jne 0x1004d3e1
mov dword [ebx + 0x1bd8], 0
jmp 0x1004d3f3
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004d3fd
cmp dword [ebx + 0x1be0], eax
jne 0x1004d3fd
mov dword [ebx + 0x1bdc], 0
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004d437
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], eax
je 0x1004d437
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 0x1004d482
cmp dword [ebx + 0x1c1c], eax
jne 0x1004d482
test eax, eax
je 0x1004d482
call fcn.100455a0
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x1004d4a1
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 0x1004d50b
cmp ecx, eax
je 0x1004d50b
mov dword [ebx + 0x2ec0], 0
test ecx, ecx
jne 0x1004d527
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 0x1004d5e2
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 0x1004d590
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 0x1004d5c6
mov byte [ebx + 0x1518], cl
mov esi, dword [0x10124144]
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 0x1004d662
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004d65b
xorps xmm0, xmm0
jmp 0x1004d66a
addss xmm0, dword [ebx + 0x18]
jmp 0x1004d66a
movss xmm0, dword [0x100fb358]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1004d640
call fcn.1004aa10
call fcn.100521b0
call fcn.10051f40
mov esi, dword [0x10124144]
mov edx, dword [esi + 0x1bb4]
test edx, edx
je 0x1004d78a
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004d6b8
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov edx, dword [edx + 0x2e0]
je 0x1004d77e
mov ecx, dword [0x10124144]
lea eax, [esi + 0xe4]
mov edi, eax
test eax, eax
jne 0x1004d6e3
lea edi, [ecx + 0xe4]
movss xmm0, dword [edi]
movss xmm1, dword [0x100fbb68]
comiss xmm0, xmm1
movss xmm2, dword [edi + 4]
jb 0x1004d77e
comiss xmm2, xmm1
jb 0x1004d77e
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 0x1004d741
movss xmm0, dword [edx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1004d76e
test dword [edx + 8], 0x100
jne 0x1004d75f
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2f60]
jb 0x1004d75f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2f60], eax
push 1
lea eax, [ebp - 0x10]
push eax
push edx
call fcn.10051220
add esp, 0xc
push dword [esi + 0x1bb4]
call fcn.10047200
add esp, 4
jmp 0x1004d7c2
mov dword [esi + 0x1bb4], 0
jmp 0x1004d7bd
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x1004d7c2
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x50], eax
jne 0x1004d7c2
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004d7b4
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x1004d7c2
call fcn.100455a0
mov eax, dword [0x10124144]
mov edx, dword [eax + 0x1d2c]
sub edx, 1
js 0x1004d7f8
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 0x1004d7f0
test dword [ecx + 8], 0x8000000
jne 0x1004d812
sub eax, 0x24
sub edx, 1
jns 0x1004d7e1
cmp dword [ebx + 0x1ea4], 0
je 0x1004d831
movss xmm0, dword [ebx + 0x1eb4]
comiss xmm0, dword [0x100fafc0]
jbe 0x1004d831
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x100fafcc]
addss xmm1, dword [ebx + 0x1ebc]
minss xmm1, dword [0x100f856c]
jmp 0x1004d852
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100faf78]
movss xmm1, dword [ebx + 0x1ebc]
subss xmm1, xmm0
maxss xmm1, dword [0x100fafc0]
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.100527b0
cmp byte [ebx + 0x1b57], 0
jne 0x1004d8cb
movss xmm1, dword [ebx + 0xb8]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004d8cb
movsd xmm0, qword [ebx + 0x1b40]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1004d8d0
movss xmm0, dword [ebp - 4]
xor edi, edi
cmp dword [ebx + 0x1b60], edi
je 0x1004da83
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 0x1004da71
cmp byte [esi + 0x324], cl
jne 0x1004da71
comiss xmm0, dword [esi + 0x21c]
jbe 0x1004da71
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 0x1004d991
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
mov eax, dword [0x10124144]
test eax, eax
je 0x1004d977
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ecx
call dword [0x1012007c]
add esp, 8
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x244]
call fcn.1005c350
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x1004d9e3
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
mov eax, dword [0x10124144]
test eax, eax
je 0x1004d9c9
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ecx
call dword [0x1012007c]
add esp, 8
mov dword [esi + 0x168], 0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x1004da2a
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov eax, dword [0x10124144]
test eax, eax
je 0x1004da10
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ecx
call dword [0x1012007c]
add esp, 8
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x1004da71
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov eax, dword [0x10124144]
test eax, eax
je 0x1004da57
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ecx
call dword [0x1012007c]
add esp, 8
mov dword [esi + 0x19c], 0
movss xmm0, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b60]
jne 0x1004d8e0
xor esi, esi
cmp dword [ebx + 0x1f98], esi
jle 0x1004dacf
xor edi, edi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x1fa0]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x1004dac0
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1004dac0
mov eax, dword [ebx + 0x1f80]
add eax, edi
push eax
call fcn.10068690
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x1c8
cmp esi, dword [ebx + 0x1f98]
jl 0x1004da92
xor esi, esi
cmp dword [ebx + 0x1f6c], esi
jle 0x1004db14
xor edi, edi
xorps xmm1, xmm1
nop
mov eax, dword [ebx + 0x1f74]
add eax, edi
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x1004db08
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1004db08
push eax
call fcn.10068770
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x68
cmp esi, dword [ebx + 0x1f6c]
jl 0x1004dae0
cmp byte [ebx + 0x1b57], 0
je 0x1004dbba
mov esi, dword [0x10124144]
mov ecx, dword [esi + 0x1d1c]
test ecx, ecx
je 0x1004db6e
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
mov eax, dword [0x10124144]
test eax, eax
je 0x1004db54
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ecx
call dword [0x1012007c]
add esp, 8
mov dword [esi + 0x1d1c], 0
mov ecx, dword [esi + 0x1d28]
test ecx, ecx
je 0x1004dbb5
mov dword [esi + 0x1d24], 0
mov dword [esi + 0x1d20], 0
mov eax, dword [0x10124144]
test eax, eax
je 0x1004db9b
dec dword [eax + 0x36c]
push dword [0x1012414c]
push ecx
call dword [0x1012007c]
add esp, 8
mov dword [esi + 0x1d28], 0
call fcn.10068490
mov eax, dword [ebx + 0x1d54]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x1004dd17
cmp byte [eax + 0x8b], 0
jne 0x1004dd17
mov edi, dword [0x10124144]
mov edx, dword [edi + 0x1b6c]
sub edx, 1
js 0x1004dc1c
mov eax, dword [edi + 0x1b74]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1004dc14
cmp byte [ecx + 0x8b], 0
je 0x1004dc14
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1004dc85
sub esi, 4
sub edx, 1
jns 0x1004dbf6
mov esi, edi
cmp dword [esi + 0x1d54], 0
je 0x1004dcb3
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 [0x10124144]
cmp byte [eax + 0x1dad], 0
jne 0x1004dca5
cmp byte [eax + 0x1d95], 0
jne 0x1004dca5
xor cl, cl
jmp 0x1004dca7
mov eax, dword [ecx + 0x2f0]
test eax, eax
je 0x1004dc98
cmp byte [eax + 0x8b], 0
jne 0x1004dc9a
mov eax, ecx
push eax
call fcn.10047200
add esp, 4
jmp 0x1004dd17
mov cl, 1
mov byte [eax + 0x1d94], cl
mov edi, dword [0x10124144]
mov eax, dword [edi + 0x1d2c]
test eax, eax
jle 0x1004dced
mov ecx, dword [edi + 0x1d30]
test ecx, ecx
jns 0x1004dce3
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.10054430
mov dword [edi + 0x1d2c], 0
cmp dword [esi + 0x1be0], 0
je 0x1004dd17
mov eax, dword [esi + 0x1c10]
test eax, eax
je 0x1004dd17
cmp dword [eax + 0x2e0], 0
je 0x1004dd17
cmp byte [esi + 0x1bee], 0
jne 0x1004dd17
call fcn.100455a0
mov ecx, dword [ebx + 0x1b88]
test ecx, ecx
jns 0x1004dd3d
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.10054540
mov dword [ebx + 0x1b84], 0
mov ecx, dword [ebx + 0x1d3c]
test ecx, ecx
jns 0x1004dd6d
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.10054430
lea esi, [ebx + 0x1d14]
mov dword [ebx + 0x1d38], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1004dd9c
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.10054310
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1004ddb1
push 8
mov ecx, esi
call fcn.10054310
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.10054600
mov edi, dword [0x10124144]
cmp byte [edi + 0x2fd8], 0
mov dword [edi + 0x2fdc], 0
je 0x1004deb3
mov eax, dword [0x10124144]
mov ecx, dword [edi + 0x1bd0]
mov dword [ebp - 4], ecx
mov dword [eax + 0x1ec0], 7
mov esi, dword [0x10124144]
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1004de2d
push 1
push eax
call fcn.10048a30
mov ecx, dword [ebp - 4]
add esp, 8
test al, al
je 0x1004de2d
mov byte [edi + 0x2fd8], 0
mov esi, dword [0x10124144]
movss xmm0, dword [esi + 0x410]
ucomiss xmm0, dword [0x100fafc0]
lahf
test ah, 0x44
jp 0x1004de59
test ecx, ecx
je 0x1004de59
mov dword [edi + 0x2fdc], ecx
mov byte [edi + 0x2fd8], 0
mov esi, dword [0x10124144]
or dword [esi + 0x1c84], 0x40
push 0
push 0
mov dword [esi + 0x1cd8], 0x3f19999a
call fcn.10044690
mov esi, dword [ebp - 4]
push esi
push str.HoveredId:_0x_08X
call fcn.10067900
push str.Press_ESC_to_abort_picking.
call fcn.10067900
mov ecx, 0x1600
test esi, esi
mov eax, 0x15f0
cmove eax, ecx
add eax, dword [0x10124144]
push str.Click_to_break_in_debugger_
push eax
call fcn.10067920
add esp, 0x1c
call fcn.100461b0
mov esi, dword [0x10124144]
mov dword [esi + 0x1bc8], 0
mov eax, dword [esi + 0x2ff0]
inc eax
cmp dword [esi + 0x1b48], eax
jne 0x1004dfad
mov edi, dword [esi + 0x1bd0]
test edi, edi
jne 0x1004dee6
mov edi, dword [esi + 0x1be0]
cmp dword [esi + 0x2ff8], edi
je 0x1004df33
lea eax, [esi + 0x2ffc]
mov dword [esi + 0x2ff8], edi
mov dword [esi + 0x2ff4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004df2d
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.100544c0
lea eax, [esi + 0x2ffc]
mov dword [eax], 0
test edi, edi
je 0x1004dfad
mov eax, dword [esi + 0x2ff4]
test eax, eax
js 0x1004df76
mov ecx, eax
cmp eax, dword [esi + 0x2ffc]
jge 0x1004df89
mov ecx, dword [esi + 0x3004]
mov edx, eax
shl edx, 6
cmp byte [edx + ecx + 5], 0
jne 0x1004df6f
mov ebx, dword [esi + 0x3004]
mov ecx, eax
cmp byte [edx + ebx + 4], 2
mov ebx, dword [ebp - 8]
jle 0x1004df89
inc eax
mov dword [esi + 0x2ff4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1004df85
mov dword [esi + 0x1bc8], edi
jmp 0x1004dfad
test ecx, ecx
js 0x1004dfad
cmp ecx, dword [esi + 0x2ffc]
jge 0x1004dfad
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 [0x10124144]
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.10042120
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2f94], esi
jle 0x1004e024
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebx + 0x2f9c]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1004e018
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 0x1004e000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret