Function at 0x415980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54a53f
push eax
mov eax, 0x109c
mov dword fs:[0], esp
call fcn.004c8e00
push esi
xor eax, eax
mov dword [ebp - 0x30], 0
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
call fcn.0044f690
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5aa6bc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5a9b4c]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jg 0x4162e8
mov ecx, 0x5a9b2c
call fcn.0044ed10
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
test al, al
je 0x415cfc
sub esp, 0x18
mov eax, esp
push esi
push eax
call fcn.0043d9d0
add esp, 8
lea eax, [ebp - 0x48]
push eax
call fcn.0043e3c0
push 0xff
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.004e43a0
lea eax, [ebp - 0x78]
push eax
call fcn.00414a50
add esp, 0x14
mov byte [ebp - 4], 4
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.00402c00
lea eax, [ebp - 0x60]
push eax
call fcn.0043e3c0
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x415a66
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x2a8]
push 0xff
push eax
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
lea edx, [ebp - 0x48]
cmovae edx, dword [ebp - 0x48]
push esi
push edx
push str.all_multimedia
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x60]
call fcn.004035a0
sub esp, 0x18
lea ecx, [ebp - 0x2a8]
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415ac0
sub ecx, esi
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00406520
lea eax, [ebp - 0x90]
push eax
call fcn.0043dd30
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 5
push eax
call fcn.004372a0
add esp, 0x20
test al, al
je 0x415b30
sub esp, 0x18
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.00402c00
lea eax, [ebp - 0x60]
push eax
call fcn.0043e3c0
add esp, 0x1c
mov ecx, edi
push eax
call fcn.00413c10
lea ecx, [ebp - 0x60]
call fcn.004035a0
jmp 0x415b6a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004135d0
add esp, 8
test al, al
je 0x415b50
push 0
push 0x5618f0
jmp 0x415b63
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x415b6a
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
mov ecx, edi
call fcn.00406520
sub esp, 0x18
push esp
call fcn.00414b10
add esp, 4
lea eax, [ebp - 0xa8]
push eax
call fcn.0043e3c0
add esp, 0x1c
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa8]
mov ecx, 0x5a9b2c
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0044ed20
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x415c17
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x415be5
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416355
push edx
push ecx
call fcn.004c824c
add esp, 8
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x60]
call fcn.004035a0
cmp dword [edi + 0x10], 0
je 0x415ccf
cmp dword [ebp - 0x20], 0
je 0x415ccf
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
jb 0x415c3e
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x10a8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10a8]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00413b20
lea ecx, [ebp - 0xa8]
call fcn.004035a0
lea ecx, [ebp - 0x90]
call fcn.00403550
lea ecx, [ebp - 0x78]
call fcn.00403550
lea ecx, [ebp - 0x48]
call fcn.004035a0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4162d6
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4162cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41635a
jmp 0x4162cc
lea ecx, [ebp - 0xa8]
call fcn.004035a0
lea ecx, [ebp - 0x90]
call fcn.00403550
lea ecx, [ebp - 0x78]
call fcn.00403550
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004035a0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x5a9b70]
cmp eax, dword [ecx + 4]
jg 0x41635f
mov ecx, 0x5a9b50
call fcn.0044ed10
test al, al
je 0x415fe5
sub esp, 0x18
mov eax, esp
push esi
push eax
call fcn.0043d9d0
add esp, 8
lea eax, [ebp - 0x48]
push eax
call fcn.0043e3c0
add esp, 0x1c
cmp dword [edi + 0x10], 0
mov byte [ebp - 4], 9
jne 0x415e84
push 0xff
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.004e43a0
sub esp, 0xc
push esp
call fcn.004142d0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0043e3c0
add esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [eax + 0x14], 8
jb 0x415d84
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x2a8]
push 0xff
push eax
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
lea edx, [ebp - 0x48]
cmovae edx, dword [ebp - 0x48]
push esi
push edx
push str.all_multimedia
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x60]
call fcn.004035a0
sub esp, 0x18
lea ecx, [ebp - 0x2a8]
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415de0
sub ecx, esi
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00406520
lea eax, [ebp - 0x60]
push eax
call fcn.0043dd30
push eax
mov byte [ebp - 4], 0xa
call fcn.004372a0
add esp, 0x20
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00403550
cmp byte [ebp - 0x11], 0
je 0x415e4a
lea ecx, [ebp - 0x2a8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415e32
sub ecx, edx
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
jmp 0x415e7c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004135d0
add esp, 8
test al, al
je 0x415e6a
push 0
push 0x5618f0
jmp 0x415e7d
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x415e84
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
mov ecx, edi
call fcn.00406520
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x415f4d
sub esp, 0x18
push esp
call fcn.00414b10
add esp, 4
lea eax, [ebp - 0x78]
push eax
call fcn.0043e3c0
add esp, 0x1c
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x5a9b50
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0044ed20
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x415f36
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x415f04
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415efa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4163cc
push edx
push ecx
call fcn.004c824c
add esp, 8
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x60]
call fcn.004035a0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.004035a0
mov eax, dword [ebp - 0x20]
cmp dword [edi + 0x10], 0
je 0x415fd9
test eax, eax
je 0x415fd9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
jb 0x415f66
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x10a8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10a8]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00413b20
lea ecx, [ebp - 0x48]
call fcn.004035a0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4162d6
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4162cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4163d1
jmp 0x4162cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004035a0
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x5a9b94]
cmp eax, dword [ecx + 4]
jg 0x4163d6
mov ecx, 0x5a9b74
call fcn.0044ed10
test al, al
je 0x416244
sub esp, 0x18
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.0043d9d0
add esp, 8
lea eax, [ebp - 0x48]
push eax
call fcn.0043e3c0
add esp, 0x1c
cmp dword [edi + 0x10], 0
mov byte [ebp - 4], 0xe
jne 0x416177
push 0xff
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.004e43a0
sub esp, 0xc
push esp
call fcn.00414bc0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0043e3c0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [eax + 0x14], 8
jb 0x41606f
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x2a8]
push 0xff
push eax
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
lea edx, [ebp - 0x48]
cmovae edx, dword [ebp - 0x48]
push esi
push edx
push str.all_multimedia
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x60]
call fcn.004035a0
sub esp, 0x18
lea ecx, [ebp - 0x2a8]
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4160c7
sub ecx, esi
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00406520
lea eax, [ebp - 0x60]
push eax
call fcn.0043dd30
push eax
mov byte [ebp - 4], 0xf
call fcn.004372a0
add esp, 0x20
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call fcn.00403550
cmp byte [ebp - 0x11], 0
je 0x416138
lea edx, [ebp - 0x2a8]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x416120
sub edx, ecx
lea eax, [ebp - 0x2a8]
sar edx, 1
push edx
jmp 0x41616f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004135d0
add esp, 8
test al, al
je 0x41615d
push 0x5618f0
mov ecx, edi
call fcn.00413ca0
jmp 0x416177
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x416177
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
mov ecx, edi
call fcn.00406520
cmp dword [ebp - 0x20], 0
jne 0x416238
sub esp, 0x18
push esp
call fcn.00414b10
add esp, 4
lea eax, [ebp - 0x78]
push eax
call fcn.0043e3c0
add esp, 0x1c
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x5a9b74
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0044ed20
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x416228
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4161f6
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416443
push edx
push ecx
call fcn.004c824c
add esp, 8
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x60]
call fcn.004035a0
lea ecx, [ebp - 0x78]
call fcn.004035a0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004035a0
cmp dword [ebp - 0x20], 0
je 0x4162ba
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
jb 0x416255
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x8a8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x8a8]
add esp, 0xc
lea edx, [ecx + 2]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416297
sub ecx, edx
lea eax, [ebp - 0x8a8]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406520
jmp 0x415c92
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00413a80
jmp 0x415c92
push edx
push ecx
call fcn.004c824c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x5a9b4c
call fcn.004c8bba
add esp, 4
cmp dword [0x5a9b4c], 0xffffffff
jne 0x4159ea
sub esp, 0x18
mov byte [ebp - 4], 1
push esp
call fcn.00414a50
add esp, 4
lea eax, [ebp - 0x78]
push eax
call fcn.0043e3c0
add esp, 0x1c
push eax
mov ecx, 0x5a9b2c
mov byte [ebp - 4], 2
call fcn.0044eb40
lea ecx, [ebp - 0x78]
call fcn.004035a0
push 0x55cc60
call fcn.004c879b
push 0x5a9b4c
mov byte [ebp - 4], 0
call fcn.004c8b70
add esp, 8
jmp 0x4159ea
call fcn.004f1161
call fcn.004f1161
push 0x5a9b70
call fcn.004c8bba
add esp, 4
cmp dword [0x5a9b70], 0xffffffff
jne 0x415d10
sub esp, 0x18
mov byte [ebp - 4], 7
push esp
call fcn.004142d0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0043e3c0
add esp, 0x1c
push eax
mov ecx, 0x5a9b50
mov byte [ebp - 4], 8
call fcn.0044eb40
lea ecx, [ebp - 0x60]
call fcn.004035a0
push 0x55cc80
call fcn.004c879b
push 0x5a9b70
mov byte [ebp - 4], 0
call fcn.004c8b70
add esp, 8
jmp 0x415d10
call fcn.004f1161
call fcn.004f1161
push 0x5a9b94
call fcn.004c8bba
add esp, 4
cmp dword [0x5a9b94], 0xffffffff
jne 0x415ff9
sub esp, 0x18
mov byte [ebp - 4], 0xc
push esp
call fcn.00414bc0
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0043e3c0
add esp, 0x1c
push eax
mov ecx, 0x5a9b74
mov byte [ebp - 4], 0xd
call fcn.0044eb40
lea ecx, [ebp - 0x60]
call fcn.004035a0
push 0x55cca0
call fcn.004c879b
push 0x5a9b94
mov byte [ebp - 4], 0
call fcn.004c8b70
add esp, 8
jmp 0x415ff9
call fcn.004f1161
int3