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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cff7
mov eax, dword fs:[0]
push eax
mov eax, 0x126c
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1248], ecx
mov ecx, dword [ebp + 8]
call fcn.004086e0
test eax, eax
je 0x49bf66
mov ecx, dword [ebp - 0x1248]
add ecx, 0x74
call fcn.00402010
movzx eax, al
test eax, eax
je 0x49bf6b
jmp 0x49c449
xor ecx, ecx
mov word [ebp - 0x1014], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1012]
push edx
call fcn.004b0ac0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.004b0ac0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x101c]
call fcn.00401e10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1248]
add ecx, 0x74
call fcn.0043e290
push eax
push 0x3ff
lea eax, [ebp - 0x1014]
push eax
push 0x540868
push 0x5452c0
lea ecx, [ebp - 0x101c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x1248]
add ecx, 0x78
call fcn.0043e290
push eax
push 0x3ff
lea ecx, [ebp - 0x814]
push ecx
push 0x540868
push 0x5452c0
lea ecx, [ebp - 0x101c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1014]
push edx
call fcn.004b0eb7
add esp, 4
test eax, eax
je 0x49c053
lea eax, [ebp - 0x814]
push eax
call fcn.004b0eb7
add esp, 4
test eax, eax
jne 0x49c06a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x101c]
call fcn.00401eb0
jmp 0x49c449
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401e30
mov byte [ebp - 4], 1
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x1018]
call fcn.00401e30
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1230], esp
lea eax, [ebp - 0x1018]
push eax
call fcn.00401e10
mov dword [ebp - 0x124c], eax
mov ecx, dword [ebp - 0x124c]
mov dword [ebp - 0x1250], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1234], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00401e10
mov dword [ebp - 0x1254], eax
mov byte [ebp - 4], 2
call fcn.0049baf0
add esp, 8
mov dword [ebp - 0x1258], eax
cmp dword [ebp - 0x1258], 0
jge 0x49c1f8
lea eax, [ebp - 0x101c]
push eax
push str.EntClient_
lea ecx, [ebp - 0x1238]
push ecx
call fcn.0041acc0
add esp, 8
mov dword [ebp - 0x125c], eax
mov edx, dword [ebp - 0x125c]
mov dword [ebp - 0x1260], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1260]
push eax
lea ecx, [ebp - 0x1024]
push ecx
call fcn.00409f40
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1238]
call fcn.00401eb0
push str..dec
lea edx, [ebp - 0x1024]
push edx
lea eax, [ebp - 0x1020]
push eax
call fcn.00403700
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1024]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1020]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1248]
add ecx, 0x78
call fcn.0043e290
push eax
push 0x540868
lea ecx, [ebp - 0x101c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
cmp dword [0x58fb50], 0
je 0x49c1d5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0x549910
push 0x58f750
call fcn.004045b0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1020]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1024]
call fcn.00401eb0
jmp 0x49c41c
push ecx
mov ecx, esp
mov dword [ebp - 0x123c], esp
lea eax, [ebp - 0x1018]
push eax
call fcn.00401e10
mov dword [ebp - 0x1264], eax
mov ecx, dword [ebp - 0x1264]
mov dword [ebp - 0x1268], ecx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x1240], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00401e10
mov dword [ebp - 0x126c], eax
mov byte [ebp - 4], 2
call fcn.0049baf0
add esp, 8
mov dword [ebp - 0x1270], eax
cmp dword [ebp - 0x1270], 0
jne 0x49c41c
xor eax, eax
mov word [ebp - 0x1224], ax
push 0xfe
push 0
lea ecx, [ebp - 0x1222]
push ecx
call fcn.004b0ac0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1124], dx
push 0xfe
push 0
lea eax, [ebp - 0x1122]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x1248]
add ecx, 0x74
call fcn.0043e290
push eax
push 0x80
lea ecx, [ebp - 0x1224]
push ecx
push 0
push 0x546478
lea ecx, [ebp - 0x101c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x1248]
add ecx, 0x78
call fcn.0043e290
push eax
push 0x80
lea edx, [ebp - 0x1124]
push edx
push 0
push 0x546478
lea ecx, [ebp - 0x101c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1124]
push eax
lea ecx, [ebp - 0x1224]
push ecx
call fcn.004b0de4
add esp, 8
test eax, eax
je 0x49c41c
lea edx, [ebp - 0x101c]
push edx
push str.EntClient_
lea eax, [ebp - 0x1244]
push eax
call fcn.0041acc0
add esp, 8
mov dword [ebp - 0x1274], eax
mov ecx, dword [ebp - 0x1274]
mov dword [ebp - 0x1278], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1278]
push edx
lea eax, [ebp - 0x122c]
push eax
call fcn.00409f40
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1244]
call fcn.00401eb0
push str..dec
lea ecx, [ebp - 0x122c]
push ecx
lea edx, [ebp - 0x1228]
push edx
call fcn.00403700
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x122c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1228]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1248]
add ecx, 0x78
call fcn.0043e290
push eax
push 0x540868
lea ecx, [ebp - 0x101c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
cmp dword [0x58fb50], 0
je 0x49c3fe
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x5498b8
push 0x58f750
call fcn.004045b0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1228]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x122c]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1018]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x101c]
call fcn.00401eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 4