Function at 0x10104430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014eebb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1018d0d0]
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 0x101044a8
xor eax, eax
jmp 0x101044ba
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101044b1
sub eax, edx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.10002130
push 0x17
push str.AppDataupdatemsg.ini
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.10001ea0
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 0x10179490
push 0x1015f6ac
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.1011fdf7
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 0x10179490
push str.send
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.1011fdf7
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 0x10179490
push str.post
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.1011fdf7
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 0x10179490
push str.off1
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.1011fdf7
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 0x10179490
push str.send1
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.1011fdf7
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 0x10179490
push str.post1
push str.report
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.1011fdf7
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 0x101046d7
push dword [ebp - 0x828]
call fcn.1011a1ea
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.1011a3e5
mov esp, ebp
pop ebp
ret