Function at 0x100237d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061f07
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x10074040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x64]
mov dword [ebp - 0x38], eax
add edi, 0xfffffffb
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
sar eax, 3
mov ecx, eax
mov dword [ebp - 0x4c], edi
shl ecx, 4
sub ecx, eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x48], ecx
mov ecx, dword [0x101413f8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10142ae8]
mov dword [ebp - 0x40], ecx
cmp eax, dword [ecx + 4]
jle 0x1002389f
push 0x10142ae8
call fcn.1005e6a1
add esp, 4
cmp dword [0x10142ae8], 0xffffffff
jne 0x1002389f
mov byte [ebp - 4], 2
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], eax
call dword [ebp - 0x3c]
push 0x10142ae8
fstp dword [0x10142ac8]
mov byte [ebp - 4], 1
call fcn.1005e650
add esp, 4
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], eax
call dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x10142af8]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
subss xmm0, dword [0x10142ac8]
movss dword [ebp - 0x3c], xmm0
cmp eax, dword [ecx + 4]
jle 0x10023904
push 0x10142af8
call fcn.1005e6a1
add esp, 4
cmp dword [0x10142af8], 0xffffffff
jne 0x10023904
mov eax, dword [0x101415d0]
push 0x10142af8
mov dword [0x10142aec], eax
call fcn.1005e650
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
mov edx, dword [0x101415d0]
cmp edx, dword [0x10142aec]
je 0x10023954
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x40], eax
call dword [ebp - 0x40]
mov edx, dword [0x101415d0]
fstp dword [0x10142ac8]
mov dword [0x10142aec], edx
movss xmm1, dword [0x1006c060]
lea eax, [ebx + 0x14]
cmp edx, eax
jne 0x100239f7
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, xmm1
jbe 0x100239f7
mov ecx, dword [0x10142abc]
cmp byte [ecx + 0x408], 0
jne 0x100239fd
cmp dword [ecx + 4], 1
jne 0x100239fd
mov eax, dword [ebp - 0x38]
cmp dword [ecx + 0x400], eax
jl 0x100239ba
add eax, 0xd2
cmp dword [ecx + 0x400], eax
jg 0x100239ba
cmp dword [ecx + 0x404], edi
jl 0x100239ba
mov eax, dword [ebp - 0x48]
add eax, 0x13
add eax, edi
cmp dword [ecx + 0x404], eax
jle 0x100239fd
mov byte [esi + 0x72], 0
mov dword [esi + 0x9c], 0
mov eax, dword [0x10142a3c]
push str.ui_buttonclickrelease.wav
mov dword [0x101415d0], 0
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edx, dword [0x101415d0]
movss xmm1, dword [0x1006c060]
mov ecx, dword [0x10142abc]
mov eax, dword [ebp - 0x38]
test edx, edx
jne 0x10023ad8
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, xmm1
jbe 0x10023ad8
cmp byte [ecx + 0x408], dl
jne 0x10023b0c
cmp dword [ecx + 4], 1
jne 0x10023ad8
cmp byte [esi + 0x71], dl
jne 0x10023ad8
cmp dword [ecx + 0x400], eax
jl 0x10023ad8
add eax, 0xd2
cmp dword [ecx + 0x400], eax
jg 0x10023ad5
cmp dword [ecx + 0x404], edi
jl 0x10023ad5
lea eax, [edi + 0x12]
cmp dword [ecx + 0x404], eax
jg 0x10023ad5
lea eax, [ebx + 0x14]
mov dword [ecx + 4], edx
mov dword [0x101415d0], eax
lea ecx, [esi + 0xa0]
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xac], eax
lea eax, [ebx + 8]
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], 0xd2
mov dword [esi + 0xb8], 0x12
cmp ecx, eax
je 0x10023ab2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
sub eax, edx
sar eax, 3
push eax
push edx
call fcn.1002ae20
mov eax, dword [0x10142a3c]
push str.ui_hitsound.wav
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edx, dword [0x101415d0]
mov ecx, dword [0x10142abc]
mov eax, dword [ebp - 0x38]
cmp byte [ecx + 0x408], 0
jne 0x10023b0c
cmp dword [ecx + 0xb4], 1
je 0x10023af0
cmp dword [ecx + 0x6c], 1
jne 0x10023b0c
xor edx, edx
mov byte [esi + 0x72], 0
mov dword [esi + 0x9c], 0
mov ecx, dword [0x10142abc]
mov dword [0x101415d0], edx
mov esi, dword [ecx + 0x400]
cmp esi, eax
jl 0x10023b37
add eax, 0xd2
cmp esi, eax
jg 0x10023b37
mov ecx, dword [ecx + 0x404]
cmp ecx, edi
jl 0x10023b37
lea eax, [edi + 0x12]
mov dword [ebp - 0x48], eax
cmp ecx, eax
jle 0x10023c06
lea eax, [edi + 0x12]
mov dword [ebp - 0x48], eax
lea eax, [ebx + 0x14]
cmp edx, eax
je 0x10023c06
mov eax, dword [0x10142a3c]
mov ecx, dword [0x10142a5c]
mov edi, dword [eax + 0x68]
mov edx, dword [ecx + 0x2a4]
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov eax, edx
shr eax, 0x18
push eax
mov eax, edx
shr eax, 0x10
movzx eax, al
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
call esi
mov eax, dword [0x10142a3c]
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
inc edi
add esi, 6
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
lea eax, [edi + 0x10]
push eax
lea eax, [esi + 0xd0]
push eax
push edi
push esi
call edx
mov eax, dword [0x10142a3c]
mov ecx, dword [0x10142a5c]
mov edi, dword [eax + 0x68]
mov edx, dword [ecx + 0x2a8]
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov eax, edx
shr eax, 0x18
push eax
mov eax, edx
shr eax, 0x10
movzx eax, al
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
call esi
mov eax, dword [0x10142a3c]
mov esi, dword [ebp - 0x38]
push dword [ebp - 0x48]
add esi, 5
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
lea eax, [esi + 0xd2]
push eax
push dword [ebp - 0x4c]
push esi
jmp 0x10023cc1
mov eax, dword [0x10142a3c]
mov ecx, dword [0x10142a5c]
mov edi, dword [eax + 0x68]
mov edx, dword [ecx + 0x2ac]
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov eax, edx
shr eax, 0x18
push eax
mov eax, edx
shr eax, 0x10
movzx eax, al
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
call esi
mov eax, dword [0x10142a3c]
mov esi, dword [ebp - 0x38]
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
add esi, 5
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
lea eax, [esi + 0xd2]
push eax
push edi
push esi
call edx
mov eax, dword [0x10142a5c]
mov edi, dword [ebp - 0x38]
push 0x50
add edi, 6
mov cl, byte [eax + 0x2ac]
mov ch, byte [eax + 0x2ad]
mov byte [ebp - 0x41], cl
mov cl, byte [eax + 0x2ae]
mov eax, dword [0x10142a3c]
mov esi, dword [eax + 0x68]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
movzx eax, cl
push eax
movzx eax, ch
mov ecx, esi
push eax
movzx eax, byte [ebp - 0x41]
push eax
call edx
mov eax, dword [0x10142a3c]
mov esi, dword [ebp - 0x4c]
inc esi
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
lea eax, [esi + 0x10]
push eax
lea eax, [edi + 0xd0]
push eax
push esi
push edi
call edx
cmp dword [ebx + 0x28], 0xf
lea eax, [ebx + 0x14]
push dword [ebx + 0x24]
cmova eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x2c]
push eax
call fcn.1002aa30
cmp dword [ebx + 0x28], 0xf
lea edx, [ebx + 0x14]
mov eax, dword [0x10142a3c]
cmova edx, dword [ebx + 0x14]
mov ecx, edx
mov dword [ebp - 0x40], edx
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x50], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023cf8
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub ecx, esi
push 0
push 0
push ecx
push edx
push 0
push 0xfde9
mov dword [ebp - 0x3c], ecx
call edi
mov esi, eax
mov dword [ebp - 0x5c], 0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push ecx
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
call fcn.10014970
cmp dword [ebp - 0x58], 7
lea eax, [ebp - 0x6c]
push esi
cmova eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 4
lea esi, [ebp - 0x6c]
mov eax, dword [0x10142a3c]
cmp dword [ebp - 0x58], 7
push edi
cmova esi, dword [ebp - 0x6c]
lea edi, [ebp - 0x30]
mov edx, dword [eax + 0xd8]
mov eax, dword [ecx]
push edi
push esi
push edx
mov eax, dword [eax + 0x12c]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
cmp ecx, 7
jbe 0x10023dc7
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023dbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023dbd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005ea54
add esp, 8
cmp dword [ebp - 0x30], 0xcd
jle 0x10023e8a
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp esi, 0xf
mov edi, dword [ebp - 0x2c]
cmova eax, edi
mov dword [ebp - 0x3c], ecx
add eax, ecx
cmp esi, 0xf
mov dword [ebp - 0x40], eax
lea edx, [ecx - 5]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
cmova ecx, edi
sub eax, edx
mov edx, dword [ebp - 0x40]
add ecx, eax
cmp esi, 0xf
lea eax, [ebp - 0x2c]
mov esi, ecx
cmova eax, edi
sub edx, ecx
sub esi, eax
mov eax, dword [ebp - 0x3c]
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x18], 0xf
mov dword [ebp - 0x40], edx
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
cmova edx, edi
mov edi, dword [ebp - 0x3c]
add edx, esi
sub edi, eax
add eax, edx
mov ecx, edi
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, ecx
mov dword [ebp - 0x1c], edi
sub eax, edi
push 3
push 0x10066ef0
cmp eax, 3
jb 0x10023e7d
cmp ecx, 0xf
lea esi, [ebp - 0x2c]
lea eax, [edi + 3]
cmova esi, dword [ebp - 0x2c]
add esi, edi
mov dword [ebp - 0x1c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x10023e8a
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
push 3
call fcn.100181f0
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
cmova eax, dword [ebp - 0x2c]
push eax
mov eax, dword [0x10142a5c]
add eax, 0x2b0
push eax
mov eax, dword [0x10142a3c]
push dword [eax + 0xd8]
mov eax, dword [ebp - 0x4c]
push 1
add eax, 9
push eax
lea eax, [esi + 0x6e]
push eax
push dword [0x10142a60]
call fcn.10003e40
mov ecx, dword [ebp - 0x54]
add esp, 0x1c
mov eax, dword [ebp - 0x48]
add eax, 0xa
mov dword [ecx + 0x64], eax
mov eax, dword [0x101415d0]
mov dword [ecx + 0x60], esi
mov dword [ecx + 0x9c], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10023f18
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023f0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023f95
push ecx
push edx
call fcn.1005ea54
add esp, 8
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x10023f5a
mov edx, dword [ebx + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023f50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023f95
push ecx
push edx
call fcn.1005ea54
add esp, 8
mov edx, dword [ebx + 8]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0xf
mov byte [ebx + 0x14], 0
test edx, edx
je 0x10023fa5
mov ecx, dword [ebx + 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x10023f9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023f9b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005ea54
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005e617
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x24