Function at 0x1006e970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e96e1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebx + 0x58]
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x14], 0xf
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x28], eax
mov eax, esi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x24], 0xffb4b4b4
jbe 0x1006e9c7
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], 1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [0x101168f8]
call fcn.100d6530
mov ecx, dword [0x101168a4]
add esp, 0x14
mov eax, dword [ebp - 0x28]
add edi, 0xfffffffb
add eax, 5
mov dword [ebp - 0x38], eax
mov edx, dword [ecx + 0x400]
cmp edx, eax
jl 0x1006ea47
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
add esi, 5
add eax, esi
mov esi, dword [ebp + 8]
cmp edx, eax
jg 0x1006ea47
mov ecx, dword [ecx + 0x404]
cmp ecx, edi
jl 0x1006ea47
lea eax, [edi + 0xa]
cmp ecx, eax
jg 0x1006ea47
cmp byte [ebx + 0x68], 0
jne 0x1006ea47
cmp byte [ebx + 0x69], 0
jne 0x1006ea47
cmp byte [ebx + 0x6a], 0
jne 0x1006ea47
mov eax, dword [0x101168b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10117220]
cmp eax, dword [edi + 4]
jle 0x1006eaab
push 0x10117220
call fcn.100e1f89
add esp, 4
cmp dword [0x10117220], 0xffffffff
jne 0x1006eaab
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 0x10117220
fstp dword [0x10117204]
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 eax, dword [0x101171cc]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vsubss xmm0, xmm0, dword [0x10117204]
vmovss dword [ebp - 0x30], xmm0
cmp eax, dword [edi + 4]
jle 0x1006eb0b
push 0x101171cc
call fcn.100e1f89
add esp, 4
cmp dword [0x101171cc], 0xffffffff
jne 0x1006eb0b
mov eax, dword [0x10115270]
push 0x101171cc
mov dword [0x101171f4], eax
call fcn.100e1f38
add esp, 4
mov edx, dword [0x10115270]
cmp edx, dword [0x101171f4]
je 0x1006eb3c
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 [0x10115270]
fstp dword [0x10117204]
mov dword [0x101171f4], edx
vmovss xmm0, dword [0x1010081c]
cmp edx, dword [ebp - 0x34]
jne 0x1006ec54
vmovss xmm1, dword [ebp - 0x30]
vcomiss xmm1, xmm0
jbe 0x1006ec54
mov ecx, dword [0x101168a4]
cmp byte [ecx + 0x408], 0
jne 0x1006ec5a
cmp dword [ecx + 4], 1
jne 0x1006ec5a
cmp byte [ebx + 0x6a], 0
je 0x1006ec5a
mov eax, dword [ebx + 0x78]
mov edi, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], edi
mov edi, dword [ecx + 0x400]
cmp edi, eax
jl 0x1006ebbc
add eax, 0xa0
cmp edi, eax
jg 0x1006ebbc
mov edi, dword [ecx + 0x404]
mov eax, dword [ebp - 0x1c]
cmp edi, eax
jl 0x1006ebbc
add eax, 0xa0
cmp edi, eax
jle 0x1006ec5a
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 [0x10117204]
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 [0x10115270], 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 [0x10115270]
vmovss xmm0, dword [0x1010081c]
mov ecx, dword [0x101168a4]
test edx, edx
jne 0x1006ed8a
vmovss xmm1, dword [ebp - 0x30]
vcomiss xmm1, xmm0
jbe 0x1006ed8a
cmp byte [ecx + 0x408], dl
jne 0x1006edd5
cmp dword [ecx + 4], 1
jne 0x1006ed8a
cmp byte [ebx + 0x69], dl
jne 0x1006ed8a
cmp byte [ebx + 0x68], dl
jne 0x1006ed8a
cmp byte [ebx + 0x6a], dl
jne 0x1006ed8a
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
add eax, 0xb4
mov edx, dword [ecx + 0x400]
add edi, 0xfffffffc
cmp edx, eax
jl 0x1006ed8a
add eax, 0xf
cmp edx, eax
jg 0x1006ed8a
mov edx, dword [ecx + 0x404]
cmp edx, edi
jl 0x1006ed8a
lea eax, [edi + 7]
cmp edx, eax
jg 0x1006ed8a
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 [0x10117204]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov eax, dword [ebx + 0x78]
mov edi, dword [ebp - 0x34]
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], edi
mov eax, dword [ebx + 0x78]
add eax, 0x18
push eax
push edi
call fcn.100d4fb0
mov eax, dword [0x101168a4]
mov edx, dword [ebx + 0x78]
mov dword [0x10115270], edi
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]
mov byte [ebp - 0x1d], 1
cmp byte [ecx + 0x408], 0
jne 0x1006edd5
cmp dword [ecx + 0xb4], 1
je 0x1006eda2
cmp dword [ecx + 0x6c], 1
jne 0x1006edd5
mov eax, dword [ebx + 0x78]
mov byte [ebx + 0x6a], 0
vxorps xmm0, xmm0, xmm0
mov dword [0x10115270], 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
cmp dword [esi + 0x14], 0xf
jbe 0x1006eddd
mov esi, dword [esi]
push esi
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push 1
push eax
push 2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 1
push eax
vxorps xmm0, xmm0, xmm0
lea eax, [esi - 5]
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm0, xmm0, dword [0x10100944]
vcvttss2si eax, xmm0
push eax
push dword [ebp - 0x38]
push dword [0x101168f8]
call fcn.100d6650
mov ecx, dword [0x1011509c]
lea edi, [esi - 4]
mov edx, dword [ebp - 0x34]
add esp, 0x20
mov esi, dword [ebp - 0x28]
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 edi, dword [ebp - 0x28]
add edi, 0xb3
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 0xc]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x2c]
lea edx, [edi + 0x11]
mov ecx, dword [0x1011509c]
add eax, 4
push eax
mov eax, dword [ebp - 0x2c]
push edx
mov esi, dword [ecx]
add eax, 0xfffffffb
push eax
push edi
call dword [esi + 0x38]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
add ecx, 0xf
mov dword [ebx + 0x54], eax
mov al, byte [ebp - 0x1d]
mov dword [ebx + 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 8