Function at 0x1006e340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9591
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 0x1006e3a0
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.100d6440
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 0x1006e4b6
mov eax, dword [ebp - 0x14]
add eax, 0xf
add eax, edx
cmp esi, eax
jg 0x1006e4b6
mov eax, dword [ecx + 0x404]
cmp eax, dword [ebp - 0x1c]
jl 0x1006e4b6
cmp eax, dword [ebp - 0x38]
jg 0x1006e4b6
cmp byte [ebx + 0x68], 0
jne 0x1006e4b6
cmp byte [ebx + 0x69], 0
jne 0x1006e4b6
cmp byte [ebx + 0x6a], 0
mov esi, dword [ebp - 0x20]
jne 0x1006e4b9
cmp byte [ecx + 0x408], 0
mov eax, dword [0x101178b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
jne 0x1006e4b9
cmp dword [ecx + 4], 1
jne 0x1006e4b9
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 0x1006e4b9
mov esi, dword [ebp - 0x20]
cmp byte [esi], 0
mov edi, dword [ebp - 0x2c]
je 0x1006e530
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 0x1006e53b
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 [0x10100c9c]
vcvttss2si eax, xmm0
push eax
lea eax, [esi + 0x14]
push eax
push dword [0x101178f8]
call fcn.100d6560
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 0x1006e5e3
push 0x101181a0
call fcn.100e1eb9
add esp, 4
cmp dword [0x101181a0], 0xffffffff
jne 0x1006e5e3
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.100e1e68
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 0x1006e646
push 0x101181c8
call fcn.100e1eb9
add esp, 4
cmp dword [0x101181c8], 0xffffffff
jne 0x1006e646
mov eax, dword [0x1011626c]
push 0x101181c8
mov dword [0x1011820c], eax
call fcn.100e1e68
add esp, 4
mov edx, dword [0x1011626c]
cmp edx, dword [0x1011820c]
je 0x1006e677
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 [0x10100b74]
cmp edx, dword [ebp - 0x30]
jne 0x1006e796
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006e796
mov ecx, dword [0x101178a4]
cmp byte [ecx + 0x408], 0
jne 0x1006e79c
cmp dword [ecx + 4], 1
jne 0x1006e79c
cmp byte [ebx + 0x6a], 0
je 0x1006e79c
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 0x1006e6fe
add eax, 0xa0
cmp dword [ecx + 0x400], eax
jg 0x1006e6fe
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x404], eax
jl 0x1006e6fe
add eax, 0xa0
cmp dword [ecx + 0x404], eax
jle 0x1006e79c
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 [0x10100b74]
mov ecx, dword [0x101178a4]
test edx, edx
jne 0x1006e8c5
vmovss xmm1, dword [ebp - 0x28]
vcomiss xmm1, xmm0
jbe 0x1006e8c5
cmp byte [ecx + 0x408], dl
jne 0x1006e910
cmp dword [ecx + 4], 1
jne 0x1006e8c5
cmp byte [ebx + 0x69], dl
jne 0x1006e8c5
cmp byte [ebx + 0x68], dl
jne 0x1006e8c5
cmp byte [ebx + 0x6a], dl
jne 0x1006e8c5
mov edx, dword [ecx + 0x400]
lea eax, [esi + 0xb4]
cmp edx, eax
jl 0x1006e8c5
add eax, 0xf
cmp edx, eax
jg 0x1006e8c5
mov edx, dword [ecx + 0x404]
lea eax, [edi - 4]
cmp edx, eax
jl 0x1006e8c5
add eax, 7
cmp edx, eax
jg 0x1006e8c5
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.100d4ec0
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 0x1006e910
cmp dword [ecx + 0xb4], 1
je 0x1006e8dd
cmp dword [ecx + 0x6c], 1
jne 0x1006e910
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.100e196b
mov esp, ebp
pop ebp
ret 0xc