Function at 0x1006e300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e96a1
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 0x1006e360
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [0x101168f8]
call fcn.100d6530
mov eax, dword [0x101168b0]
add esp, 0x14
mov ecx, dword [0x1011509c]
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 [0x1011509c]
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 [0x101168b0]
add edi, 0xfffffffc
mov ecx, dword [0x1011509c]
add esi, 6
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 4]
call dword [eax + 0x28]
mov ecx, dword [0x1011509c]
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 [0x101168a4]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ecx + 0x400]
cmp esi, edx
jl 0x1006e476
mov eax, dword [ebp - 0x14]
add eax, 0xf
add eax, edx
cmp esi, eax
jg 0x1006e476
mov eax, dword [ecx + 0x404]
cmp eax, dword [ebp - 0x1c]
jl 0x1006e476
cmp eax, dword [ebp - 0x38]
jg 0x1006e476
cmp byte [ebx + 0x68], 0
jne 0x1006e476
cmp byte [ebx + 0x69], 0
jne 0x1006e476
cmp byte [ebx + 0x6a], 0
mov esi, dword [ebp - 0x20]
jne 0x1006e479
cmp byte [ecx + 0x408], 0
mov eax, dword [0x101168b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
jne 0x1006e479
cmp dword [ecx + 4], 1
jne 0x1006e479
cmp byte [esi], 0
mov ecx, dword [0x1011509c]
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 0x1006e479
mov esi, dword [ebp - 0x20]
cmp byte [esi], 0
mov edi, dword [ebp - 0x2c]
je 0x1006e4f0
mov eax, dword [0x101168b0]
add edi, 3
mov ecx, dword [0x1011509c]
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 [0x1011509c]
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 [0x1011509c]
mov dword [ebp - 0x20], 0xff000000
push dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x1011509c]
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 0x1006e4fb
mov eax, dword [eax]
mov esi, dword [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 1
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 [0x10100944]
vcvttss2si eax, xmm0
push eax
lea eax, [esi + 0x14]
push eax
push dword [0x101168f8]
call fcn.100d6650
mov eax, dword fs:[0x2c]
add esp, 0x20
mov ecx, dword [0x10114fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101171a0]
mov dword [ebp - 0x3c], ecx
cmp eax, dword [ecx + 4]
jle 0x1006e5a3
push 0x101171a0
call fcn.100e1f89
add esp, 4
cmp dword [0x101171a0], 0xffffffff
jne 0x1006e5a3
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 0x101171a0
fstp dword [0x101171fc]
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f38
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 [0x101171c8]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vsubss xmm0, xmm0, dword [0x101171fc]
vmovss dword [ebp - 0x28], xmm0
cmp eax, dword [ecx + 4]
jle 0x1006e606
push 0x101171c8
call fcn.100e1f89
add esp, 4
cmp dword [0x101171c8], 0xffffffff
jne 0x1006e606
mov eax, dword [0x1011526c]
push 0x101171c8
mov dword [0x1011720c], eax
call fcn.100e1f38
add esp, 4
mov edx, dword [0x1011526c]
cmp edx, dword [0x1011720c]
je 0x1006e637
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 [0x101171fc]
mov dword [0x1011720c], edx
vmovss xmm0, dword [0x1010081c]
cmp edx, dword [ebp - 0x30]
jne 0x1006e756
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006e756
mov ecx, dword [0x101168a4]
cmp byte [ecx + 0x408], 0
jne 0x1006e75c
cmp dword [ecx + 4], 1
jne 0x1006e75c
cmp byte [ebx + 0x6a], 0
je 0x1006e75c
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 0x1006e6be
add eax, 0xa0
cmp dword [ecx + 0x400], eax
jg 0x1006e6be
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x404], eax
jl 0x1006e6be
add eax, 0xa0
cmp dword [ecx + 0x404], eax
jle 0x1006e75c
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 [0x101171fc]
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 [0x1011509c]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [eax + 0x14], xmm0
mov eax, dword [0x101168a4]
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 [0x1010081c]
mov ecx, dword [0x101168a4]
test edx, edx
jne 0x1006e885
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006e885
cmp byte [ecx + 0x408], dl
jne 0x1006e8d0
cmp dword [ecx + 4], 1
jne 0x1006e885
cmp byte [ebx + 0x69], dl
jne 0x1006e885
cmp byte [ebx + 0x68], dl
jne 0x1006e885
cmp byte [ebx + 0x6a], dl
jne 0x1006e885
mov edx, dword [ecx + 0x400]
lea eax, [esi + 0xb4]
cmp edx, eax
jl 0x1006e885
add eax, 0xf
cmp edx, eax
jg 0x1006e885
mov edx, dword [ecx + 0x404]
lea eax, [edi - 4]
cmp edx, eax
jl 0x1006e885
add eax, 7
cmp edx, eax
jg 0x1006e885
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 [0x101171fc]
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 [0x101168a4]
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.100d4fb0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebx + 0x78]
mov dword [0x1011526c], eax
mov eax, dword [0x101168a4]
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 [0x1011509c]
mov byte [ebx + 0x6a], 1
mov eax, dword [ecx]
call dword [eax + 0x138]
mov ecx, dword [0x101168a4]
cmp byte [ecx + 0x408], 0
jne 0x1006e8d0
cmp dword [ecx + 0xb4], 1
je 0x1006e89d
cmp dword [ecx + 0x6c], 1
jne 0x1006e8d0
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 [0x1011509c]
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 [0x1011509c]
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 [0x101168b0]
mov ecx, dword [0x1011509c]
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 [0x1011509c]
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.100e1a3b
mov esp, ebp
pop ebp
ret 0xc