Function at 0x479279
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x4d4918
call fcn.004ce9f0
sub esp, 0xc1c
push esi
push edi
xor edi, edi
push 0x7fe
lea eax, [ebp - 0xc26]
push edi
push eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0xc28], di
call fcn.00489db0
mov esi, 0x206
push esi
lea eax, [ebp - 0x426]
push edi
push eax
mov word [ebp - 0x428], di
call fcn.00489db0
push esi
lea eax, [ebp - 0x21e]
push edi
push eax
mov word [ebp - 0x220], di
call fcn.00489db0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [0x5096c0]
mov esi, 0x5096c0
add esp, 0x24
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
mov eax, dword [0x5096c0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x400
lea eax, [ebp - 0xc28]
push eax
mov edi, 0x4e5344
push edi
push 0x4ec6c4
push ecx
call esi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x18]
push eax
push 0x104
lea eax, [ebp - 0x428]
push eax
push edi
push 0x4ec6cc
push ecx
call esi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x18]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push edi
push 0x4ec6d4
push ecx
call esi
lea eax, [ebp - 0xc28]
push eax
call fcn.00489b50
test eax, eax
pop ecx
jne 0x47938a
mov eax, dword [ebp + 8]
mov dword [eax], 0x162
jmp 0x479494
lea eax, [ebp - 0x428]
push eax
call fcn.00489b50
test eax, eax
pop ecx
jne 0x4793a9
mov eax, dword [ebp + 8]
mov dword [eax], 0x164
jmp 0x479494
lea eax, [ebp - 0x220]
push eax
call fcn.00489b50
test eax, eax
pop ecx
jne 0x4793c8
mov eax, dword [ebp + 8]
mov dword [eax], 0x163
jmp 0x479494
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x18]
push eax
push 0
push 0x4ec6dc
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0xc28]
mov dword [ebx + 0x34], eax
lea eax, [ebx + 0x28]
push ecx
push eax
call fcn.00422bdc
lea ecx, [ebp - 0x428]
lea eax, [ebx + 0x2c]
push ecx
push eax
call fcn.00422bdc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00422bdc
lea eax, [ebp - 0x10]
push eax
call fcn.0045fd68
push dword [ebp - 0x10]
lea esi, [ebp + 8]
call fcn.0045fcdb
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00422ab0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405c8d
lea eax, [ebp + 8]
push eax
call fcn.004794c6
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00422ab0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405c8d
mov eax, edi
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405c31
pop ecx
pop ecx
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 4
call fcn.00422ab0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405c8d
mov dword [ebp - 0x18], 1
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405c8d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405c8d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4