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

Disassembly:
mov eax, 0x59affc
call fcn.00596170
sub esp, 0xc1c
push ebx
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.0049cee0
mov esi, 0x206
push esi
lea eax, [ebp - 0x426]
push edi
push eax
mov word [ebp - 0x428], di
call fcn.0049cee0
push esi
lea eax, [ebp - 0x21e]
push edi
push eax
mov word [ebp - 0x220], di
call fcn.0049cee0
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [0x61c924]
mov esi, 0x61c924
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 [0x61c924]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x400
lea eax, [ebp - 0xc28]
push eax
mov ebx, 0x5e7264
push ebx
push 0x5f2f28
push ecx
call edi
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
push eax
push 0x104
lea eax, [ebp - 0x428]
push eax
push ebx
push 0x5f2f30
push ecx
call edi
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x5f2f38
push ecx
call edi
lea eax, [ebp - 0xc28]
push eax
call fcn.0049cde3
test eax, eax
pop ecx
jne 0x4913ee
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x162
jmp 0x49150c
lea eax, [ebp - 0x428]
push eax
call fcn.0049cde3
test eax, eax
pop ecx
jne 0x49140d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x164
jmp 0x49150c
lea eax, [ebp - 0x220]
push eax
call fcn.0049cde3
test eax, eax
pop ecx
jne 0x49142c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x163
jmp 0x49150c
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
push eax
push 0
push str.probability
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0xc28]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x28]
push ecx
push eax
call fcn.00432365
lea eax, [ebp - 0x428]
push eax
add esi, 0x2c
push esi
call fcn.00432365
lea eax, [ebp - 0x220]
push eax
call fcn.0049cde3
pop ecx
lea ecx, [ebp - 0x220]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00401400
lea eax, [ebp - 0x10]
push eax
call fcn.00483902
push dword [ebp - 0x10]
lea esi, [ebp + 0xc]
call fcn.00483875
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004013bf
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [ebp + 0xc]
push eax
call fcn.0049153f
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004013bf
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, edi
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00414c1b
pop ecx
pop ecx
mov edi, dword [ebp + 8]
add edi, 0x30
mov byte [ebp - 4], 4
call fcn.004013bf
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 1
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8