Function at 0x1006d390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7da1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1011100c]
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 - 0x38], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebx + 0x54]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x24], eax
mov eax, edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x2c], 0xffb4b4b4
jb 0x1006d3f0
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], 1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [0x10116878]
call fcn.100d4d30
mov eax, dword [0x10116830]
add esp, 0x14
mov ecx, dword [0x10115018]
mov edx, dword [eax]
lea eax, [esi + 5]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push dword [edx + 0xc]
call dword [eax + 0x28]
mov ecx, dword [0x10115018]
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x24]
add eax, 5
push eax
lea eax, [esi + 0xf]
push eax
lea eax, [edi - 5]
push eax
lea eax, [esi + 5]
push eax
call edx
mov eax, dword [0x10116830]
add esi, 6
mov ecx, dword [0x10115018]
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 4]
call dword [eax + 0x28]
mov ecx, dword [0x10115018]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
lea eax, [edi + 4]
push eax
lea eax, [esi + 8]
push eax
lea eax, [edi - 4]
push eax
push esi
call edx
mov ecx, dword [0x10116824]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
mov esi, dword [ecx + 0x400]
cmp esi, edx
jl 0x1006d50d
mov eax, dword [ebp - 0x14]
add eax, 0xf
add eax, edx
cmp esi, eax
jg 0x1006d50d
mov esi, dword [ebp - 0x24]
mov eax, dword [ecx + 0x404]
add esi, 0xfffffffb
cmp eax, esi
jl 0x1006d50d
lea edx, [esi + 0xa]
cmp eax, edx
jg 0x1006d50d
cmp byte [ebx + 0x68], 0
jne 0x1006d50d
cmp byte [ebx + 0x69], 0
jne 0x1006d50d
cmp byte [ebx + 0x6a], 0
mov esi, dword [ebp - 0x20]
jne 0x1006d510
cmp byte [ecx + 0x408], 0
mov eax, dword [0x10116830]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
jne 0x1006d510
cmp dword [ecx + 4], 1
jne 0x1006d510
cmp byte [esi], 0
mov ecx, dword [0x10115018]
sete al
mov byte [ebp - 0x25], 1
mov byte [esi], al
push str.ui_buttonclick.wav
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x1006d510
mov esi, dword [ebp - 0x20]
cmp byte [esi], 0
je 0x1006d58c
mov eax, dword [0x10116830]
mov ecx, dword [0x10115018]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x34]
add edi, 3
mov edx, dword [eax]
add ebx, 7
mov eax, dword [ecx]
push dword [edx + 0x1c]
call dword [eax + 0x28]
mov ecx, dword [0x10115018]
lea esi, [ebx + 6]
mov edx, dword [ebp - 0x24]
push edi
push esi
mov eax, dword [ecx]
add edx, 0xfffffffd
push edx
push ebx
call dword [eax + 0x30]
mov ecx, dword [0x10115018]
mov dword [ebp - 0x20], 0xff000000
push dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x10115018]
lea esi, [ebx + 6]
push 0
push 0x78
push 0
mov eax, dword [ecx]
push edi
push esi
mov esi, dword [ebp - 0x24]
lea edx, [esi - 3]
push edx
push ebx
call dword [eax + 0x1d8]
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp + 8]
jmp 0x1006d58f
mov esi, dword [ebp - 0x24]
cmp dword [edi + 0x14], 0x10
jb 0x1006d597
mov edi, dword [edi]
push edi
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push 1
push eax
push 2
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 1
push eax
vxorps xmm0, xmm0, xmm0
lea eax, [esi - 5]
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm0, xmm0, dword [0x100ffc8c]
vcvttss2si eax, xmm0
push eax
lea eax, [edi + 0x14]
push eax
push dword [0x10116878]
call fcn.100d4e50
mov eax, dword fs:[0x2c]
add esp, 0x20
mov ecx, dword [0x10114f34]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10117120]
cmp eax, dword [esi + 4]
jle 0x1006d63c
push 0x10117120
call fcn.100e0745
add esp, 4
cmp dword [0x10117120], 0xffffffff
jne 0x1006d63c
mov dword [ebp - 4], 0
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
push 0x10117120
fstp dword [0x1011717c]
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov eax, dword [0x10117148]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vsubss xmm0, xmm0, dword [0x1011717c]
vmovss dword [ebp - 0x2c], xmm0
cmp eax, dword [esi + 4]
jle 0x1006d69c
push 0x10117148
call fcn.100e0745
add esp, 4
cmp dword [0x10117148], 0xffffffff
jne 0x1006d69c
mov eax, dword [0x101151ec]
push 0x10117148
mov dword [0x1011718c], eax
call fcn.100e06f4
add esp, 4
mov edx, dword [0x101151ec]
cmp edx, dword [0x1011718c]
je 0x1006d6cd
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov edx, dword [0x101151ec]
fstp dword [0x1011717c]
mov dword [0x1011718c], edx
mov esi, dword [ebp - 0x30]
vmovss xmm0, dword [0x100ffb64]
cmp edx, esi
jne 0x1006da00
vmovss xmm1, dword [ebp - 0x2c]
vcomiss xmm1, xmm0
jbe 0x1006da00
mov ecx, dword [0x10116824]
cmp byte [ecx + 0x408], 0
jne 0x1006d7f0
cmp dword [ecx + 4], 1
jne 0x1006d7f0
cmp byte [ebx + 0x6a], 0
je 0x1006d7f0
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x400]
cmp esi, eax
jl 0x1006d74f
add eax, 0xa0
cmp esi, eax
jg 0x1006d74f
mov esi, dword [ecx + 0x404]
mov eax, dword [ebp - 0x1c]
cmp esi, eax
jl 0x1006d74f
add eax, 0xa0
cmp esi, eax
jle 0x1006d7ed
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x10114f7c]
fstp dword [0x1011717c]
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 [0x10115018]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [eax + 0x14], xmm0
mov eax, dword [0x10116824]
vxorps xmm0, xmm0, xmm0
push str.ui_buttonclickrelease.wav
mov dword [0x101151ec], 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 ecx, dword [0x10116824]
mov edx, dword [0x101151ec]
vmovss xmm0, dword [0x100ffb64]
mov esi, dword [ebp - 0x30]
test edx, edx
jne 0x1006d91a
vmovss xmm1, dword [ebp - 0x2c]
vcomiss xmm1, xmm0
jbe 0x1006d91a
cmp byte [ecx + 0x408], dl
jne 0x1006d965
cmp dword [ecx + 4], 1
jne 0x1006d91a
cmp byte [ebx + 0x69], dl
jne 0x1006d91a
cmp byte [ebx + 0x68], dl
jne 0x1006d91a
cmp byte [ebx + 0x6a], dl
jne 0x1006d91a
mov edx, dword [ecx + 0x400]
lea eax, [edi + 0xb4]
cmp edx, eax
jl 0x1006d91a
add eax, 0xf
cmp edx, eax
jg 0x1006d91a
mov eax, dword [ebp - 0x24]
mov edx, dword [ecx + 0x404]
add eax, 0xfffffffc
mov edi, dword [ebp - 0x34]
cmp edx, eax
jl 0x1006d91a
add eax, 7
cmp edx, eax
jg 0x1006d91a
mov ecx, dword [0x10114f7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x10114f7c]
fstp dword [0x1011717c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov eax, dword [ebx + 0x78]
fstp dword [ebp - 0x1c]
vmovss xmm0, dword [ebp - 0x1c]
vmovss dword [eax + 0x14], xmm0
mov eax, dword [0x10116824]
mov dword [eax + 4], 0
mov eax, dword [ebx + 0x78]
mov dword [eax], esi
mov eax, dword [ebx + 0x78]
add eax, 0x18
push eax
push esi
call fcn.100d3790
mov eax, dword [0x10116824]
mov edx, dword [ebx + 0x78]
mov dword [0x101151ec], esi
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 [0x10115018]
mov byte [ebx + 0x6a], 1
mov eax, dword [ecx]
call dword [eax + 0x138]
mov ecx, dword [0x10116824]
cmp byte [ecx + 0x408], 0
jne 0x1006d965
cmp dword [ecx + 0xb4], 1
je 0x1006d932
cmp dword [ecx + 0x6c], 1
jne 0x1006d965
mov eax, dword [ebx + 0x78]
mov byte [ebx + 0x6a], 0
vxorps xmm0, xmm0, xmm0
mov dword [0x101151ec], 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 [0x10115018]
lea esi, [edi + 0xb4]
mov edx, dword [ebp - 0x30]
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [0x10115018]
lea eax, [ebx + 3]
mov edx, dword [ecx]
push eax
lea eax, [esi + 0xf]
push eax
lea eax, [ebx - 4]
push eax
push esi
call dword [edx + 0x30]
mov eax, dword [0x10116830]
add edi, 0xb3
mov ecx, dword [0x10115018]
mov edx, dword [eax]
mov eax, dword [ecx]
push dword [edx + 0xc]
call dword [eax + 0x28]
mov ecx, dword [0x10115018]
lea edx, [edi + 0x11]
mov eax, ebx
add eax, 4
push eax
mov esi, dword [ecx]
mov eax, ebx
push edx
add eax, 0xfffffffb
push eax
push edi
call dword [esi + 0x38]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov al, byte [ebp - 0x25]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xf
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.100e01f7
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x10116824]
jmp 0x1006d7f0