Function at 0x1006e630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9861
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10112040]
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 0x1006e690
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 [0x101178f8]
call fcn.100d6710
mov eax, dword [0x101178b0]
add esp, 0x14
mov ecx, dword [0x10116098]
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 [0x10116098]
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 [0x101178b0]
add edi, 0xfffffffc
mov ecx, dword [0x10116098]
add esi, 6
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 4]
call dword [eax + 0x28]
mov ecx, dword [0x10116098]
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 [0x101178a4]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ecx + 0x400]
cmp esi, edx
jl 0x1006e7a6
mov eax, dword [ebp - 0x14]
add eax, 0xf
add eax, edx
cmp esi, eax
jg 0x1006e7a6
mov eax, dword [ecx + 0x404]
cmp eax, dword [ebp - 0x1c]
jl 0x1006e7a6
cmp eax, dword [ebp - 0x38]
jg 0x1006e7a6
cmp byte [ebx + 0x68], 0
jne 0x1006e7a6
cmp byte [ebx + 0x69], 0
jne 0x1006e7a6
cmp byte [ebx + 0x6a], 0
mov esi, dword [ebp - 0x20]
jne 0x1006e7a9
cmp byte [ecx + 0x408], 0
mov eax, dword [0x101178b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
jne 0x1006e7a9
cmp dword [ecx + 4], 1
jne 0x1006e7a9
cmp byte [esi], 0
mov ecx, dword [0x10116098]
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 0x1006e7a9
mov esi, dword [ebp - 0x20]
cmp byte [esi], 0
mov edi, dword [ebp - 0x2c]
je 0x1006e820
mov eax, dword [0x101178b0]
add edi, 3
mov ecx, dword [0x10116098]
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 [0x10116098]
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 [0x10116098]
mov dword [ebp - 0x20], 0xff000000
push dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x10116098]
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 0x1006e82b
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 [0x10100ca4]
vcvttss2si eax, xmm0
push eax
lea eax, [esi + 0x14]
push eax
push dword [0x101178f8]
call fcn.100d6830
mov eax, dword fs:[0x2c]
add esp, 0x20
mov ecx, dword [0x10115fb4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101181a0]
mov dword [ebp - 0x3c], ecx
cmp eax, dword [ecx + 4]
jle 0x1006e8d3
push 0x101181a0
call fcn.100e217f
add esp, 4
cmp dword [0x101181a0], 0xffffffff
jne 0x1006e8d3
mov dword [ebp - 4], 0
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
push 0x101181a0
fstp dword [0x101181fc]
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov ecx, dword [0x10115ffc]
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 [0x101181c8]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vsubss xmm0, xmm0, dword [0x101181fc]
vmovss dword [ebp - 0x28], xmm0
cmp eax, dword [ecx + 4]
jle 0x1006e936
push 0x101181c8
call fcn.100e217f
add esp, 4
cmp dword [0x101181c8], 0xffffffff
jne 0x1006e936
mov eax, dword [0x1011626c]
push 0x101181c8
mov dword [0x1011820c], eax
call fcn.100e212e
add esp, 4
mov edx, dword [0x1011626c]
cmp edx, dword [0x1011820c]
je 0x1006e967
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov edx, dword [0x1011626c]
fstp dword [0x101181fc]
mov dword [0x1011820c], edx
vmovss xmm0, dword [0x10100b7c]
cmp edx, dword [ebp - 0x30]
jne 0x1006ea86
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006ea86
mov ecx, dword [0x101178a4]
cmp byte [ecx + 0x408], 0
jne 0x1006ea8c
cmp dword [ecx + 4], 1
jne 0x1006ea8c
cmp byte [ebx + 0x6a], 0
je 0x1006ea8c
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 0x1006e9ee
add eax, 0xa0
cmp dword [ecx + 0x400], eax
jg 0x1006e9ee
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x404], eax
jl 0x1006e9ee
add eax, 0xa0
cmp dword [ecx + 0x404], eax
jle 0x1006ea8c
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x10115ffc]
fstp dword [0x101181fc]
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 [0x10116098]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [eax + 0x14], xmm0
mov eax, dword [0x101178a4]
vxorps xmm0, xmm0, xmm0
push str.ui_buttonclickrelease.wav
mov dword [0x1011626c], 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 [0x1011626c]
vmovss xmm0, dword [0x10100b7c]
mov ecx, dword [0x101178a4]
test edx, edx
jne 0x1006ebb5
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006ebb5
cmp byte [ecx + 0x408], dl
jne 0x1006ec00
cmp dword [ecx + 4], 1
jne 0x1006ebb5
cmp byte [ebx + 0x69], dl
jne 0x1006ebb5
cmp byte [ebx + 0x68], dl
jne 0x1006ebb5
cmp byte [ebx + 0x6a], dl
jne 0x1006ebb5
mov edx, dword [ecx + 0x400]
lea eax, [esi + 0xb4]
cmp edx, eax
jl 0x1006ebb5
add eax, 0xf
cmp edx, eax
jg 0x1006ebb5
mov edx, dword [ecx + 0x404]
lea eax, [edi - 4]
cmp edx, eax
jl 0x1006ebb5
add eax, 7
cmp edx, eax
jg 0x1006ebb5
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x10115ffc]
fstp dword [0x101181fc]
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 [0x101178a4]
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.100d5160
mov eax, dword [ebp - 0x30]
mov edx, dword [ebx + 0x78]
mov dword [0x1011626c], eax
mov eax, dword [0x101178a4]
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 [0x10116098]
mov byte [ebx + 0x6a], 1
mov eax, dword [ecx]
call dword [eax + 0x138]
mov ecx, dword [0x101178a4]
cmp byte [ecx + 0x408], 0
jne 0x1006ec00
cmp dword [ecx + 0xb4], 1
je 0x1006ebcd
cmp dword [ecx + 0x6c], 1
jne 0x1006ec00
mov eax, dword [ebx + 0x78]
mov byte [ebx + 0x6a], 0
vxorps xmm0, xmm0, xmm0
mov dword [0x1011626c], 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 [0x10116098]
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 [0x10116098]
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 [0x101178b0]
mov ecx, dword [0x10116098]
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 [0x10116098]
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.100e1c31
mov esp, ebp
pop ebp
ret 0xc