Function at 0x4092b0
Capabilities:
Check if file exists
Delete file
Delete registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41059b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3bc
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00402da0
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], bl
mov byte [esp + 0x40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x1c4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1c5]
lea ebp, [esi + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
stosb byte es:[edi], al
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4093b0
lea eax, [esi + 0x220]
push str.Profile.ini
push eax
push str._s_s
push 0x103
push ebp
call sub.MSVCRT.dll__snprintf
add esp, 0x14
mov ecx, 0x41c008
push 0x104
call fcn.00402a40
lea ecx, [esp + 0x1c8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x1c4]
push 0x208
push edx
call fcn.0040b0a0
lea eax, [esi + 8]
lea ecx, [esp + 0x1cc]
push eax
push 0xa
push ebp
push ecx
call fcn.00405fe0
add esp, 0x18
test eax, eax
je 0x409684
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x324], eax
mov eax, dword [esi + 0x334]
cmp eax, ebx
je 0x4095c4
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xc1]
mov byte [esp + 0xc0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0xc0]
push 0x104
push edx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40944e
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [esp + 0xc0]
push str.AddrUpdate.de
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40944e
lea eax, [esp + 0xc0]
push 1
push eax
call fcn.004033b0
add esp, 8
lea edi, [esi + 0x118]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x409594
lea ecx, [esi + 0x220]
push str.TBHProfile.ini
push ecx
push str._s_s
push 0x103
push edi
call sub.MSVCRT.dll__snprintf
add esp, 0x14
lea edx, [esi + 8]
mov ecx, 0x41bfe8
push edx
push 0xa
push edi
call fcn.00402a40
push eax
call fcn.00405fe0
add esp, 0x10
test eax, eax
je 0x409594
mov al, 0xf8
push 9
mov byte [esp + 0x21], al
mov byte [esp + 0x26], al
lea eax, [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
push 0x17
mov byte [esp + 0x28], 0xf3
mov byte [esp + 0x2a], 0xf5
mov byte [esp + 0x2b], 0xcd
mov byte [esp + 0x2c], 0xce
mov byte [esp + 0x2d], 0xd9
mov byte [esp + 0x2f], 0xd5
mov byte [esp + 0x30], 0xc4
call fcn.004029b0
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push edi
mov dword [esp + 0x3f0], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, 0x41bfc8
mov dword [esi + 0x328], eax
call fcn.00402a40
push edi
lea ecx, [esp + 0x2c]
push 4
push ecx
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], eax
call fcn.00402a40
mov edx, dword [esp + 0x24]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call fcn.00407320
test eax, eax
jne 0x409556
mov eax, dword [esp + 0x28]
push eax
call fcn.0040aa80
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x40955a
call fcn.0040ab80
test eax, eax
je 0x40955a
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00409d90
xor edx, edx
cmp eax, ebx
mov eax, dword [esi + 4]
setne dl
cmp eax, ebx
mov dword [esp + 0x14], edx
je 0x409580
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x3d4], 0xffffffff
call fcn.00402a00
mov eax, dword [esi + 0x328]
cmp eax, 0xffffffff
je 0x4095b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x328], 0xffffffff
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4095c8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4095c8
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x18], ebx
jne 0x4095da
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0040a1f0
push ebp
lea ecx, [esp + 0x84]
push 0x40
push ecx
push ebx
push str.version
mov ecx, 0x41bfc8
call fcn.00402a40
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40962e
lea edx, [esp + 0x40]
push 0x40
push edx
call fcn.00407410
add esp, 8
test eax, eax
je 0x40962e
lea eax, [esp + 0x40]
push 1
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.0040c190
add esp, 0xc
test eax, eax
jg 0x409634
cmp dword [esp + 0x10], ebx
je 0x409680
cmp dword [esp + 0x18], ebx
jne 0x409680
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [esp + 0x14], ebx
call fcn.00409880
test eax, eax
je 0x409684
mov ecx, 0x41bea8
call fcn.00402a40
mov ecx, 0x41be98
mov edi, eax
call fcn.00402a40
push eax
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
cmp dword [esp + 0x10], ebx
jne 0x409680
cmp dword [esi + 4], ebx
je 0x409680
xor eax, eax
jmp 0x409684
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c8
ret