Function at 0x411f60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472208
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
xor ebx, ebx
cmp dword [ebp + 0xdbc], ebx
jle 0x411fd3
cmp dword [ebp + 0xdb8], ebx
je 0x411fd3
mov eax, dword [ebp + 0xdb4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
cmp esi, ebx
jne 0x411fb9
call fcn.004057f0
mov eax, dword [ebp + 0xdb8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push ebx
push ebx
push ebx
push esi
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 0x5e0], ebx
jne 0x411fe5
mov eax, 1
jmp 0x4122be
mov edi, dword [esp + 0x4c]
cmp edi, ebx
je 0x4122b9
cmp dword [edi + 0x1c], 1
jl 0x4122b9
mov eax, dword [edi + 0x28]
cmp dword [eax - 0xc], ebx
je 0x4122b9
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.00404c80
add eax, 0x10
mov dword [esi], eax
call fcn.004170d0
cmp eax, ebx
je 0x4122b9
mov eax, dword [ebp + 0x598]
mov ecx, dword [edi + 0x28]
push eax
push ebx
push ecx
push 0x47c720
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x48], eax
cmp dword [ebp + 0x530], ebx
je 0x412052
mov esi, ebp
call fcn.00418990
mov dword [ebp + 0x52c], ebx
mov eax, dword [edi + 0x18]
cmp eax, dword [ebp + 0x538]
je 0x412116
push 0x29
call fcn.00459cc6
add esp, 4
push 0x29
mov esi, eax
push ebx
push esi
call fcn.0045cac0
mov eax, dword [edi + 0x28]
add esp, 0xc
push esi
push eax
mov eax, dword [ebp + 0x528]
call fcn.00424db0
test eax, eax
jne 0x4122b9
add edi, 0x2c
mov edx, esi
mov ebx, edi
call fcn.00404040
push esi
call fcn.00459cd1
add esp, 4
mov esi, edi
call fcn.00404080
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, eax
call fcn.0041d900
mov ebx, dword [ebp + 0x528]
call fcn.00424e30
mov dword [ebp + 0x52c], eax
call fcn.0041ddb0
cmp dword [esp + 0x48], 0
jle 0x4120fd
cmp byte [ebp + 0x9cc], 0
je 0x4120fd
mov eax, dword [ebp + 0x518]
mov edx, dword [eax]
push 0
push eax
mov eax, dword [edx + 0x90]
call eax
jmp 0x412110
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x90]
push 1
push eax
call edx
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov dword [ebp + 0x530], edi
cmp dword [ebp + 0x534], ebx
je 0x4121d6
lea eax, [esp + 0x48]
push eax
mov ecx, str._x_30_
call fcn.004040c0
mov dword [esp + 0x40], ebx
mov eax, dword [ebp + 0x534]
mov ecx, dword [eax + 0x24]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xa
jle 0x412190
lea edx, [eax + 0x24]
mov eax, 0xa
lea ecx, [esp + 0x18]
call fcn.00404630
mov byte [esp + 0x40], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
call fcn.00404fe0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.00404200
mov edx, 0x47c738
lea edi, [esp + 0x48]
call fcn.004042e0
jmp 0x4121a2
mov eax, dword [eax + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00404fe0
mov ecx, dword [ebp + 0x534]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ecx]
mov eax, dword [esp + 0x48]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov eax, dword [ebp + 0x534]
mov ecx, dword [eax + 0x34]
call fcn.00434fc0
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call fcn.00404200
mov ecx, dword [ebp + 0x604]
mov eax, dword [ebp + 0x528]
push ecx
mov dword [ebp + 0x534], ebx
call fcn.00425000
mov edi, dword [ebp + 0x530]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp + 0x538]
cmp eax, ecx
je 0x412234
mov edx, dword [ebp + 0x52c]
cmp edx, ebx
je 0x412217
mov esi, dword [edx + 0x30]
cmp esi, ebx
je 0x412217
cmp dword [edx + 0x2c], esi
je 0x412234
mov edx, dword [ebp + 0x520]
push 0x3e8
push 2
lea esi, [ebp + 0x78]
push edx
mov ecx, esi
call fcn.00433ab0
jmp 0x4123f7
mov dword [esp + 0x48], ebx
cmp eax, ecx
mov dword [esp + 0x40], 2
lea ecx, [esp + 0x48]
jne 0x41224e
mov edi, dword [edi + 0x28]
push edi
jmp 0x412258
mov eax, dword [ebp + 0x52c]
add eax, 0x38
push eax
call fcn.00421460
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 0x518]
cmp ecx, ebx
je 0x41226f
mov ecx, dword [ecx]
jmp 0x412271
xor ecx, ecx
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x38]
call eax
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push eax
call edx
cmp eax, ebx
jge 0x4122d4
mov ecx, dword [ebp + 0x4fc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x47c73c
call edx
mov ecx, dword [ebp + 0x4fc]
call fcn.00434fe0
mov esi, ebp
call fcn.00418990
lea ecx, [esp + 0x48]
call fcn.004217b0
mov eax, 0x80004005
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
mov ecx, dword [ebp + 0x4a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
push 1
call edx
mov ecx, dword [ebp + 0x4a0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
push ebx
call edx
mov ecx, dword [ebp + 0x4a8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov eax, dword [ebp + 0x518]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
mov ecx, dword [ebp + 0x50c]
mov byte [ebp + 0x9cc], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf0]
push 1
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x50c]
push eax
call fcn.0042d660
mov eax, dword [ebp + 0x518]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xe0]
call eax
mov ecx, dword [ebp + 0x520]
push 0x3e8
push 3
lea esi, [ebp + 0x78]
push ecx
mov ecx, esi
call fcn.00433ab0
mov edx, dword [ebp + 0x530]
mov eax, dword [edx + 0x18]
cmp eax, dword [ebp + 0x538]
je 0x4123ab
mov eax, dword [ebp + 0x520]
push 2
push eax
mov ecx, esi
call fcn.00433ba0
mov ecx, dword [ebp + 0x598]
mov eax, dword [ebp + 0x530]
push ecx
add eax, 0x1c
mov eax, dword [eax + 0xc]
push ebx
push eax
push 0x47c720
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp + 0x5e8], ebx
je 0x4123e6
cmp eax, ebx
jle 0x4123e6
mov ecx, dword [ebp + 0x518]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x4c]
push ecx
call eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call fcn.004217b0
mov ecx, dword [ebp + 0x4a8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [ebp + 0x4a0]
push 0x9c40
push 0x64
push ecx
mov ecx, esi
call fcn.00433ab0
push 1
push str.playerbtn
mov ecx, esi
mov dword [ebp + 0xdc4], ebx
call fcn.004345a0
mov ecx, eax
call fcn.0042c930
mov edx, dword [ebp + 0x4d8]
push ebx
push ebx
push ebx
push edx
mov ecx, esi
mov dword [ebp + 0xdc0], ebx
call fcn.004356b0
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x520]
push 1
call fcn.00424230
mov eax, dword [ebp + 0x530]
mov dword [ebp + 0xdc0], ebx
cmp eax, ebx
je 0x4124d8
mov ecx, dword [ebp + 0x520]
mov edx, dword [ecx + 0x3b4]
mov eax, dword [eax + 0x34]
mov edx, dword [edx + 4]
add ecx, 0x3b4
push eax
call edx
mov ecx, dword [ebp + 0x520]
mov esi, eax
mov eax, dword [ecx + 0x3e4]
mov edx, dword [eax + 8]
add ecx, 0x3e4
push esi
call edx
mov ecx, dword [ebp + 0x520]
push 5
push esi
call fcn.00448ae0
mov eax, dword [ebp + 0x598]
mov ecx, dword [ebp + 0x530]
mov edx, dword [ecx + 0x28]
push eax
push edx
push str.lastplaying
push 0x47c720
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp + 0x5fc], 1
jne 0x412528
mov ecx, dword [ebp + 4]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push 3
sub edx, eax
push edx
mov edx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x1058]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x412554
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x4122be