Function at 0x4d7d80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x577080
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00518333
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d7dce
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], 0
call fcn.00518333
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d7e00
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push 0x58e388
push ecx
mov byte [esp + 0x84], 1
call fcn.004020e0
mov ebp, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
push ebp
push 0x40
lea edx, [esp + 0x2c]
push edx
push 0x57e9e8
push str.BackImage_Up
push str.MainSettings
call edi
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s_s
push eax
call fcn.004020e0
mov ecx, dword [esp + 0x28]
push str..jpg
push ecx
lea ebx, [esi + 0x10]
call fcn.00532258
add esp, 0x1c
test eax, eax
jne 0x4d7eb4
mov edx, dword [esp + 0x14]
push 0x2010
push eax
push eax
push eax
push edx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
mov ecx, ebx
call fcn.0051811c
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x4d7ec1
mov eax, dword [esp + 0x14]
push ebx
push eax
mov ecx, esi
call fcn.004d6640
test eax, eax
jne 0x4d7f81
push eax
push 0x30
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.PlayBack.LoadImageFail
call fcn.004019c0
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x80], 2
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x80], 1
call fcn.004ea820
mov eax, dword [eax]
push eax
mov byte [esp + 0x7c], 3
call fcn.00518f91
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x70], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d7f30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x70], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d7f52
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d7f7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4d8250
push ebp
push 0x40
lea ecx, [esp + 0x2c]
push ecx
push 0x57e9e8
push str.BackImage_Over
push str.MainSettings
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s_s
push edx
call fcn.004020e0
mov ebx, dword [esp + 0x28]
add esp, 0x14
push 0
lea eax, [esi + 0x18]
push eax
push ebx
mov ecx, esi
call fcn.004d6790
test eax, eax
jne 0x4d8063
push eax
push 0x30
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.PlayBack.LoadImageFail
call fcn.004019c0
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x80], 4
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x80], 1
call fcn.004ea820
mov byte [esp + 0x78], 5
mov eax, dword [eax]
push eax
call fcn.00518f91
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x70], 1
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d803a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x70], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d805b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
jmp 0x4d7f59
push ebp
push 0x40
lea ecx, [esp + 0x2c]
push ecx
push 0x57e9e8
push str.BackImage_Down
push str.MainSettings
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s_s
push edx
call fcn.004020e0
mov ebx, dword [esp + 0x28]
add esp, 0x14
push 0
lea eax, [esi + 0x20]
push eax
push ebx
mov ecx, esi
call fcn.004d6790
test eax, eax
jne 0x4d80f0
push eax
push 0x30
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.PlayBack.LoadImageFail
call fcn.004019c0
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x80], 6
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x80], 1
call fcn.004ea820
mov byte [esp + 0x78], 7
jmp 0x4d800d
push ebp
push 0x40
lea ecx, [esp + 0x2c]
push ecx
push 0x57e9e8
push str.BackImage_Disable
push str.MainSettings
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s_s
push edx
call fcn.004020e0
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
lea eax, [esi + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.004d6790
test eax, eax
jne 0x4d81a2
push eax
push 0x30
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.PlayBack.LoadImageFail
call fcn.004019c0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x80], 8
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x80], 1
call fcn.004ea820
mov byte [esp + 0x78], 9
mov eax, dword [eax]
push eax
call fcn.00518f91
lea ecx, [esp + 0x18]
call fcn.004015d0
lea ecx, [esp + 0x1c]
call fcn.004015d0
lea ecx, [esp + 0x14]
call fcn.004015d0
xor eax, eax
jmp 0x4d8250
cmp dword [esi + 0x3c], 0
je 0x4d8239
push ebp
push 0x40
lea ecx, [esp + 0x2c]
push ecx
push 0x57e9e8
push str.BackImage_Log
push str.MainSettings
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s_s
push edx
call fcn.004020e0
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
lea eax, [esi + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.004d6790
test eax, eax
jne 0x4d8239
push eax
push 0x30
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.PlayBack.LoadImageFail
call fcn.004019c0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x80], 0xa
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x80], 1
call fcn.004ea820
mov byte [esp + 0x78], 0xb
jmp 0x4d8178
lea ecx, [esp + 0x1c]
call fcn.004015d0
lea ecx, [esp + 0x14]
call fcn.004015d0
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0053042b
add esp, 0x60
ret