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

Disassembly:
mov eax, 0x59a64e
call fcn.00595790
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.0049c520
mov esi, 0x206
push esi
lea eax, [ebp - 0x426]
push edi
push eax
mov word [ebp - 0x428], di
call fcn.0049c520
push esi
lea eax, [ebp - 0x21e]
push edi
push eax
mov word [ebp - 0x220], di
call fcn.0049c520
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [0x61b884]
mov esi, 0x61b884
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 [0x61b884]
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, 0x5e616c
push ebx
push 0x5f2050
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 0x5f2058
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 0x5f2060
push ecx
call edi
lea eax, [ebp - 0xc28]
push eax
call fcn.0049c423
test eax, eax
pop ecx
jne 0x49054a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x162
jmp 0x490668
lea eax, [ebp - 0x428]
push eax
call fcn.0049c423
test eax, eax
pop ecx
jne 0x490569
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x164
jmp 0x490668
lea eax, [ebp - 0x220]
push eax
call fcn.0049c423
test eax, eax
pop ecx
jne 0x490588
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x163
jmp 0x490668
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.00432627
lea eax, [ebp - 0x428]
push eax
add esi, 0x2c
push esi
call fcn.00432627
lea eax, [ebp - 0x220]
push eax
call fcn.0049c423
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.00482b73
push dword [ebp - 0x10]
lea esi, [ebp + 0xc]
call fcn.00482ae6
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.0049069b
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.004150ba
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