Function at 0x4b3190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4b6b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp byte [ebp - 0x810], 0
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
jne 0x4b3208
xor eax, eax
jmp 0x4b321a
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3211
sub eax, edx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.004025a0
push 0x17
push str.AppDataupdatemsg.ini
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.00402270
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmovae eax, dword [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x50ce20
push 0x500e90
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004c1e35
add esp, 4
mov dword [edi + 8], eax
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov dword [edi + 0xc], edx
cmovae eax, dword [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x50ce20
push str.send
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004c1e35
add esp, 4
mov dword [edi + 0x10], eax
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov dword [edi + 0x14], edx
cmovae eax, dword [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x50ce20
push str.post
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004c1e35
add esp, 4
mov dword [edi + 0x18], eax
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov dword [edi + 0x1c], edx
cmovae eax, dword [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x50ce20
push str.off1
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004c1e35
mov dword [edi + 0x20], eax
add esp, 4
mov dword [edi + 0x24], edx
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 0x10
cmovae eax, dword [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x50ce20
push str.send1
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004c1e35
add esp, 4
mov dword [edi + 0x28], eax
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov dword [edi + 0x2c], edx
cmovae eax, dword [ebp - 0x828]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x50ce20
push str.post1
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004c1e35
add esp, 4
mov dword [edi + 0x30], eax
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov dword [edi + 0x34], edx
cmovae eax, dword [ebp - 0x828]
push eax
push 0
push str.disable
push str.report
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x814], 0x10
mov dword [edi + 0x38], eax
jb 0x4b3437
push dword [ebp - 0x828]
call fcn.004814b9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret