Function at 0x668ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x774ba4
mov eax, dword fs:[0]
push eax
sub esp, 0x178
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp byte [esp + 0x19c], bl
je 0x669077
push ebx
xor eax, eax
mov esi, 7
push 0x7ada14
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], ax
call fcn.00403a80
lea ecx, [esp + 0xe4]
mov dword [esp + 0x194], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
jmp 0x6690ee
mov edi, 2
push edi
xor edx, edx
push 0x7ada18
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
call fcn.00403a80
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x198], 1
mov eax, dword [0x88b148]
push 0x246
add eax, 0x7ec
lea esi, [esp + 0x140]
mov dword [esp + 0x20], edi
call fcn.004711e0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x194], edi
mov dword [esp + 0x18], 6
mov esi, 7
xor ecx, ecx
push 0x148
mov word [esp + 0xb4], cx
push str.Certain_people_may_experience_mood_changes__dizziness__muscle_twitches__hallucinations__drowsiness__inattention_and_other_health_effects_when_listening_to_binaural_beats_with_headphones._n_nIf_you_experience_any_of_these_symptoms_while_playing_this_mode__IMMEDIATELY_remove_the_headphones__discontinue_use_and_consult_your_doctor.
lea ecx, [esp + 0xb4]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
call fcn.00403a80
mov dword [esp + 0x194], 3
push 0x12
xor edx, edx
push str.SAFETY_INFORMATION
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], dx
call fcn.00403a80
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x198], 4
mov eax, dword [0x88b148]
push 0x245
add eax, 0x7ec
lea esi, [esp + 0x124]
call fcn.004711e0
mov edi, eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x194], 5
mov eax, dword [0x88b148]
push ecx
push 0x244
add eax, 0x7ec
lea esi, [esp + 0x15c]
call fcn.004711e0
mov esi, eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp byte [esp + 0x19c], bl
mov byte [esp + 0x194], 6
mov ebp, dword [0x88b12c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x10c]
sete al
add eax, 2
push eax
movzx eax, byte [esp + 0x1a0]
push ecx
push edi
neg eax
push esi
sbb eax, eax
push 1
and eax, 0x2d
push eax
mov ecx, ebp
call edx
mov esi, 8
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x16c], esi
jb 0x669212
mov eax, dword [esp + 0x158]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], cx
cmp dword [esp + 0x134], esi
jb 0x669248
mov edx, dword [esp + 0x120]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], ax
cmp dword [esp + 0xa8], esi
jb 0x669279
mov ecx, dword [esp + 0x94]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
cmp dword [esp + 0xc4], esi
jb 0x6692aa
mov eax, dword [esp + 0xb0]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
test byte [esp + 0x18], 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], cx
je 0x6692ff
and dword [esp + 0x18], 0xfffffffb
cmp dword [esp + 0x150], esi
jb 0x6692e7
mov edx, dword [esp + 0x13c]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], ax
test byte [esp + 0x18], 2
je 0x669336
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x8c], esi
jb 0x669321
mov ecx, dword [esp + 0x78]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0x194], 0xffffffff
test byte [esp + 0x18], 1
je 0x669379
cmp dword [esp + 0xfc], esi
jb 0x669361
mov eax, dword [esp + 0xe8]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], cx
push 0x1a
mov esi, 0xf
push str.BINAURALWARNING_DLG_HEIGHT
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.004016e0
mov dword [esp + 0x194], edi
push 0x19
push str.BINAURALWARNING_DLG_WIDTH
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.004016e0
mov byte [esp + 0x194], 8
push 0x15
push str.BINAURALWARNING_DLG_Y
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.004016e0
mov byte [esp + 0x194], 9
push 0x15
push str.BINAURALWARNING_DLG_X
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.004016e0
mov byte [esp + 0x194], 0xa
mov ecx, dword [0x88b148]
push 0x258
lea eax, [esp + 0x5c]
call fcn.0046a0e0
mov edx, dword [0x88b12c]
mov ecx, dword [edx + 0x9e0]
imul ecx, eax
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [0x88b148]
sar edx, 7
mov esi, edx
shr esi, 0x1f
push 0x3e8
lea eax, [esp + 0x40]
add esi, edx
call fcn.0046a0e0
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
imul ecx, eax
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [0x88b148]
sar edx, 7
mov edi, edx
shr edi, 0x1f
push 0xfa
lea eax, [esp + 0x24]
add edi, edx
call fcn.0046a0e0
mov edx, dword [0x88b12c]
mov ecx, dword [edx + 0x9e0]
imul ecx, eax
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [0x88b148]
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
push 0x12c
lea eax, [esp + 0xcc]
add ebp, edx
call fcn.0046a0e0
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [0x88b12c]
mov edx, dword [esi + 0x9e0]
imul edx, eax
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov eax, edx
push edi
shr eax, 0x1f
add eax, edx
push ebp
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xa0]
call edx
mov esi, 0x10
cmp dword [esp + 0xe0], esi
jb 0x66951c
mov eax, dword [esp + 0xcc]
push eax
call fcn.006441c7
add esp, 4
mov edi, 0xf
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
cmp dword [esp + 0x38], esi
jb 0x669549
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], esi
jb 0x669568
mov edx, dword [esp + 0x40]
push edx
call fcn.006441c7
add esp, 4
or ebp, 0xffffffff
mov dword [esp + 0x194], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x70], esi
jb 0x669591
mov eax, dword [esp + 0x5c]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [edi + 0x134], ebp
cmp byte [esp + 0x19c], bl
je 0x669680
xor ecx, ecx
push 6
mov word [esp + 0x108], cx
mov ebp, 7
push str.ENABLE
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
call fcn.00403a80
lea edx, [esp + 0x100]
mov dword [esp + 0x194], 0xb
mov eax, dword [0x88b148]
push edx
push 0x247
add eax, 0x7ec
lea esi, [esp + 0x178]
call fcn.004711e0
push 0xffffffffffffffff
mov byte [esp + 0x198], 0xc
mov ecx, dword [edi + 0xc8]
push ebx
push eax
add ecx, 0xbc
call fcn.00401880
mov esi, 8
cmp dword [esp + 0x188], esi
jb 0x66964d
mov eax, dword [esp + 0x174]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], cx
cmp dword [esp + 0x118], esi
jb 0x6696e1
mov edx, dword [esp + 0x104]
push edx
call fcn.006441c7
add esp, 4
jmp 0x6696e1
mov esi, dword [0x88b12c]
mov ecx, dword [esi + 0x9e0]
imul ecx, ecx, 0xc8
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [edi + 0xc8]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x48], eax
mov ecx, dword [esi + 0x9e0]
imul ecx, ecx, 0x64
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, dword [edi + 0x48]
cdq
sub eax, edx
mov edx, dword [edi + 0xc8]
sar eax, 1
sub eax, ecx
mov dword [edx + 0x40], eax
mov dword [edi + 0xc8], ebx
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x184
ret 4