Function at 0x5f1f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x725b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.005e6750
xor ebp, ebp
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], ebp
call fcn.005b3190
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 1
call fcn.005b3190
mov bl, 2
push str.Sound_Init
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], bl
mov dword [esp + 0x20], 3
xor edi, edi
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 4
call fcn.005e5a90
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 5
call fcn.005e67c0
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x64], 4
call fcn.005e5c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 3
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f2058
lea ecx, [esp + 0x38]
call fcn.005e5630
mov ebp, eax
push 1
lea ecx, [esp + 0x3c]
push 0x73d720
push ecx
call fcn.005e5680
add esp, 0xc
push str.Sound_Init
lea ecx, [esp + 0x24]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 6
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 7
call fcn.005e5a90
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 8
call fcn.005e67d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 7
call fcn.005e5c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 6
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], bl
call fcn.005e5c20
push str.Number_2D_Voices
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c], 0x18
mov byte [esp + 0x24], 0x10
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 9
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 0xa
call fcn.005e5a90
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0xb
call fcn.005e67c0
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x64], 0xa
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 9
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f2187
lea ecx, [esp + 0x38]
call fcn.005e5630
mov byte [esp + 0x28], al
push str.Number_3D_Voices
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xc
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0xd
call fcn.005e5a90
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0xe
call fcn.005e67c0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x64], 0xd
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0xc
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f2219
lea ecx, [esp + 0x38]
call fcn.005e5630
mov byte [esp + 0x20], al
test ebp, ebp
je 0x5f222f
mov dword [esp + 0x1c], 0
mov edi, 1
jmp 0x5f2362
push 0x74d2a8
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xf
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x10
call fcn.005e5a90
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x11
call fcn.005e67c0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x64], 0x10
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0xf
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f22c1
lea ecx, [esp + 0x38]
call fcn.005e5630
mov dword [esp + 0x1c], eax
push str.Force_Software
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x13
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x14
call fcn.005e67c0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x64], 0x13
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x12
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f2362
lea ecx, [esp + 0x38]
call fcn.005e5630
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 4]
mov edi, eax
call fcn.005ed700
mov dword [eax + 0x4c], edi
push 4
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x64], 0x15
je 0x5f2399
mov ecx, dword [esp + 0x1c]
xor edx, edx
test edi, edi
sete dl
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
mov ecx, eax
call fcn.005d5bc0
jmp 0x5f239b
xor eax, eax
push str.Environment_Effects_Nonstreaming
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], bl
mov dword [0x7a39ec], eax
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x16
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x17
call fcn.005e5a90
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x18
call fcn.005e67c0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x64], 0x17
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x16
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f243e
lea ecx, [esp + 0x38]
call fcn.005e5630
mov ecx, dword [0x7a39ec]
push eax
call fcn.005d6440
push str.Environment_Effects_Streaming
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x19
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x1a
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x1b
call fcn.005e67c0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x64], 0x1a
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x19
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f24d8
lea ecx, [esp + 0x38]
call fcn.005e5630
mov ecx, dword [0x7a39ec]
push eax
call fcn.005d6430
push str.2D3D_Bias
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x1c
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x1d
call fcn.005e5a90
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x1e
call fcn.005e67c0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x64], 0x1d
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x1c
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
test esi, esi
je 0x5f2575
lea ecx, [esp + 0x38]
call fcn.005e5650
push ecx
mov ecx, dword [0x7a39ec]
fstp dword [esp]
call fcn.005d6320
mov ecx, dword [0x7a39ec]
call fcn.005d6450
push eax
lea edx, [esp + 0x3c]
push 0x73d720
push edx
call fcn.005e5680
add esp, 0xc
push 0x74d2a8
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x1f
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x20
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x21
call fcn.005e67d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0x20
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x1f
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
mov ecx, dword [0x7a39fc]
mov esi, dword [ecx + 4]
mov ecx, dword [0x7a39ec]
call fcn.005d6450
mov ecx, esi
mov byte [esp + 0x14], al
call fcn.005ed700
mov dl, byte [esp + 0x14]
push edi
mov byte [eax + 0x49], dl
lea eax, [esp + 0x3c]
push 0x73d720
push eax
call fcn.005e5680
add esp, 0xc
push str.Force_Software
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x22
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x23
call fcn.005e5a90
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x74], 0x24
lea ecx, [esp + 0x28]
call fcn.005e67d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0x23
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x22
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
mov ecx, dword [0x7a39ec]
call fcn.005d6380
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x40]
push str._.2f
push edx
call fcn.005e5680
add esp, 0x10
push str.2D3D_Bias
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x25
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x26
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x27
call fcn.005e67d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0x26
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x25
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
mov ecx, dword [0x7a39ec]
call fcn.005d63a0
movzx ecx, al
push ecx
lea edx, [esp + 0x3c]
push 0x73d720
push edx
call fcn.005e5680
add esp, 0xc
push str.Number_2D_Voices
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x28
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x29
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x2a
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.005e67d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0x29
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x28
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
mov ecx, dword [0x7a39ec]
call fcn.005d63b0
movzx ecx, al
push ecx
lea edx, [esp + 0x3c]
push 0x73d720
push edx
call fcn.005e5680
add esp, 0xc
push str.Number_3D_Voices
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x2b
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x2c
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x2d
call fcn.005e67d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0x2c
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x2b
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
push 0
lea ecx, [esp + 0x3c]
push 0x73d720
push ecx
call fcn.005e5680
add esp, 0xc
push str.Sound_Init
lea ecx, [esp + 0x34]
call fcn.005e5a90
push str.Sound_Options
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x2e
call fcn.005e5a90
push str.._swkotor.ini
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x2f
call fcn.005e5a90
lea edx, [esp + 0x30]
mov byte [esp + 0x64], 0x30
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
call fcn.005e67d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0x2f
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0x2e
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], bl
call fcn.005e5c20
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 1
call fcn.005e5c20
lea ecx, [esp + 0x50]
mov byte [esp + 0x64], 0
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0xffffffff
call fcn.005e67e0
mov ecx, dword [esp + 0x5c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret