Function at 0x1006e6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8f91
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10111040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x54]
mov edi, dword [ebx + 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x21], 0
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x28], 0xffb4b4b4
jbe 0x1006e700
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 2
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [0x10116914]
call fcn.100d6370
mov eax, dword [0x101168cc]
add esp, 0x14
mov ecx, dword [0x10115098]
mov edx, dword [eax]
lea eax, [edi - 5]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 5]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
push dword [edx + 0xc]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
lea eax, [edi + 5]
push eax
mov dword [ebp - 0x38], eax
lea eax, [esi + 0xf]
push eax
lea eax, [edi - 5]
push eax
lea eax, [esi + 5]
push eax
call edx
mov eax, dword [0x101168cc]
add edi, 0xfffffffc
mov ecx, dword [0x10115098]
add esi, 6
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 4]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
lea eax, [edi + 8]
push eax
lea eax, [esi + 8]
push eax
push edi
push esi
call edx
mov ecx, dword [0x101168c0]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ecx + 0x400]
cmp esi, edx
jl 0x1006e816
mov eax, dword [ebp - 0x14]
add eax, 0xf
add eax, edx
cmp esi, eax
jg 0x1006e816
mov eax, dword [ecx + 0x404]
cmp eax, dword [ebp - 0x1c]
jl 0x1006e816
cmp eax, dword [ebp - 0x38]
jg 0x1006e816
cmp byte [ebx + 0x68], 0
jne 0x1006e816
cmp byte [ebx + 0x69], 0
jne 0x1006e816
cmp byte [ebx + 0x6a], 0
mov esi, dword [ebp - 0x20]
jne 0x1006e819
cmp byte [ecx + 0x408], 0
mov eax, dword [0x101168cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
jne 0x1006e819
cmp dword [ecx + 4], 1
jne 0x1006e819
cmp byte [esi], 0
mov ecx, dword [0x10115098]
sete al
mov byte [ebp - 0x21], 1
mov byte [esi], al
push str.ui_buttonclick.wav
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x1006e819
mov esi, dword [ebp - 0x20]
cmp byte [esi], 0
mov edi, dword [ebp - 0x2c]
je 0x1006e890
mov eax, dword [0x101168cc]
add edi, 3
mov ecx, dword [0x10115098]
mov ebx, dword [ebp - 0x34]
add ebx, 7
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 0x1c]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
lea esi, [ebx + 6]
mov edx, dword [ebp - 0x2c]
push edi
push esi
mov eax, dword [ecx]
add edx, 0xfffffffd
push edx
push ebx
call dword [eax + 0x30]
mov ecx, dword [0x10115098]
mov dword [ebp - 0x20], 0xff000000
push dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
lea esi, [ebx + 6]
push 0
push 0x78
push 0
mov eax, dword [ecx]
push edi
mov edi, dword [ebp - 0x2c]
push esi
lea edx, [edi - 3]
push edx
push ebx
call dword [eax + 0x1d8]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x1006e89b
mov eax, dword [eax]
mov esi, dword [ebp - 0x34]
push eax
push 0
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 2
push eax
push 2
lea eax, [ebp - 0x44]
push eax
vxorps xmm0, xmm0, xmm0
lea eax, [edi - 5]
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm0, xmm0, dword [0x10100494]
vcvttss2si eax, xmm0
push eax
lea eax, [esi + 0x14]
push eax
push dword [0x10116914]
call fcn.100d6490
mov eax, dword fs:[0x2c]
add esp, 0x24
mov ecx, dword [0x10114fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101171c4]
mov dword [ebp - 0x3c], ecx
cmp eax, dword [ecx + 4]
jle 0x1006e945
push 0x101171c4
call fcn.100e1839
add esp, 4
cmp dword [0x101171c4], 0xffffffff
jne 0x1006e945
mov dword [ebp - 4], 0
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
push 0x101171c4
fstp dword [0x10117220]
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [0x101171ec]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vsubss xmm0, xmm0, dword [0x10117220]
vmovss dword [ebp - 0x28], xmm0
cmp eax, dword [ecx + 4]
jle 0x1006e9a8
push 0x101171ec
call fcn.100e1839
add esp, 4
cmp dword [0x101171ec], 0xffffffff
jne 0x1006e9a8
mov eax, dword [0x1011526c]
push 0x101171ec
mov dword [0x10117230], eax
call fcn.100e17e8
add esp, 4
mov edx, dword [0x1011526c]
cmp edx, dword [0x10117230]
je 0x1006e9d9
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov edx, dword [0x1011526c]
fstp dword [0x10117220]
mov dword [0x10117230], edx
vmovss xmm0, dword [0x1010036c]
cmp edx, dword [ebp - 0x30]
jne 0x1006eaf8
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006eaf8
mov ecx, dword [0x101168c0]
cmp byte [ecx + 0x408], 0
jne 0x1006eafe
cmp dword [ecx + 4], 1
jne 0x1006eafe
cmp byte [ebx + 0x6a], 0
je 0x1006eafe
mov eax, dword [ebx + 0x78]
mov edi, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x2c]
cmp dword [ecx + 0x400], eax
jl 0x1006ea60
add eax, 0xa0
cmp dword [ecx + 0x400], eax
jg 0x1006ea60
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x404], eax
jl 0x1006ea60
add eax, 0xa0
cmp dword [ecx + 0x404], eax
jle 0x1006eafe
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x10114ffc]
fstp dword [0x10117220]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [0x10115098]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [eax + 0x14], xmm0
mov eax, dword [0x101168c0]
vxorps xmm0, xmm0, xmm0
push str.ui_buttonclickrelease.wav
mov dword [0x1011526c], 0
mov dword [eax + 4], 0
mov eax, dword [ebx + 0x78]
mov byte [ebx + 0x6a], 0
mov dword [eax], 0
mov eax, dword [ebx + 0x78]
vmovss dword [eax + 0x18], xmm0
mov eax, dword [ebx + 0x78]
vmovss dword [eax + 0x1c], xmm0
mov eax, dword [ebx + 0x78]
vmovss dword [eax + 0x20], xmm0
mov eax, dword [ecx]
call dword [eax + 0x138]
mov edx, dword [0x1011526c]
vmovss xmm0, dword [0x1010036c]
mov ecx, dword [0x101168c0]
test edx, edx
jne 0x1006ec27
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006ec27
cmp byte [ecx + 0x408], dl
jne 0x1006ec72
cmp dword [ecx + 4], 1
jne 0x1006ec27
cmp byte [ebx + 0x69], dl
jne 0x1006ec27
cmp byte [ebx + 0x68], dl
jne 0x1006ec27
cmp byte [ebx + 0x6a], dl
jne 0x1006ec27
mov edx, dword [ecx + 0x400]
lea eax, [esi + 0xb4]
cmp edx, eax
jl 0x1006ec27
add eax, 0xf
cmp edx, eax
jg 0x1006ec27
mov edx, dword [ecx + 0x404]
lea eax, [edi - 4]
cmp edx, eax
jl 0x1006ec27
add eax, 7
cmp edx, eax
jg 0x1006ec27
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x10114ffc]
fstp dword [0x10117220]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebp - 0x30]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [eax + 0x14], xmm0
mov eax, dword [0x101168c0]
mov dword [eax + 4], 0
mov eax, dword [ebx + 0x78]
mov dword [eax], ecx
mov eax, dword [ebx + 0x78]
add eax, 0x18
push eax
push ecx
call fcn.100d4d70
mov eax, dword [ebp - 0x30]
mov edx, dword [ebx + 0x78]
mov dword [0x1011526c], eax
mov eax, dword [0x101168c0]
push str.ui_buttonclick.wav
mov ecx, dword [eax + 0x404]
mov eax, dword [eax + 0x400]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0xf
mov dword [edx + 0x10], 7
mov ecx, dword [0x10115098]
mov byte [ebx + 0x6a], 1
mov eax, dword [ecx]
call dword [eax + 0x138]
mov ecx, dword [0x101168c0]
cmp byte [ecx + 0x408], 0
jne 0x1006ec72
cmp dword [ecx + 0xb4], 1
je 0x1006ec3f
cmp dword [ecx + 0x6c], 1
jne 0x1006ec72
mov eax, dword [ebx + 0x78]
mov byte [ebx + 0x6a], 0
vxorps xmm0, xmm0, xmm0
mov dword [0x1011526c], 0
mov dword [eax], 0
mov eax, dword [ebx + 0x78]
vmovss dword [eax + 0x18], xmm0
mov eax, dword [ebx + 0x78]
vmovss dword [eax + 0x1c], xmm0
mov eax, dword [ebx + 0x78]
vmovss dword [eax + 0x20], xmm0
mov ecx, dword [0x10115098]
add edi, 0xfffffffc
mov edx, dword [ebp - 0x30]
add esi, 0xb4
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
lea eax, [edi + 7]
push eax
lea eax, [esi + 0xf]
push eax
mov edx, dword [ecx]
push edi
push esi
call dword [edx + 0x30]
mov eax, dword [0x101168cc]
mov ecx, dword [0x10115098]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
add ebx, 0xfffffffb
mov edx, dword [eax]
add edi, 0xb3
mov eax, dword [ecx]
push dword [edx + 0xc]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
lea eax, [ebx + 9]
push eax
lea edx, [edi + 0x11]
push edx
mov esi, dword [ecx]
push ebx
push edi
call dword [esi + 0x38]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
add ecx, 0xf
mov dword [edx + 0x54], eax
mov al, byte [ebp - 0x21]
mov dword [edx + 0x58], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e12eb
mov esp, ebp
pop ebp
ret 0xc