Function at 0x401be0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x424a2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x428]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x1c]
push 0x3ff
push ecx
push 0x433380
push str.old_service
push str.config
mov dword [esp + 0x438], 0
call ebp
or ebx, 0xffffffff
lea edi, [esp + 0x18]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401c68
mov dword [esp + 0x420], ebx
jmp 0x401e78
lea edx, [esp + 0x18]
lea ecx, [esi + 0xc]
push edx
call fcn.00419a1f
mov eax, dword [esp + 0x428]
lea ecx, [esp + 0x18]
push eax
push 0x3ff
push ecx
push 0x433380
push str.old_service_url
push str.config
call ebp
lea edi, [esp + 0x18]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401cb3
mov dword [esp + 0x420], ebx
jmp 0x401e78
lea edx, [esp + 0x18]
lea ecx, [esi + 0x2c]
push edx
call fcn.00419a1f
mov eax, dword [esp + 0x428]
lea ecx, [esp + 0x18]
push eax
push 0x3ff
push ecx
push 0x433380
push str.mid_module
push str.config
call ebp
lea edi, [esp + 0x18]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401cfe
mov dword [esp + 0x420], ebx
jmp 0x401e78
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 0x433448
push eax
call fcn.00419ac5
lea ecx, [esi + 0x30]
push eax
mov byte [esp + 0x424], 1
mov dword [esp + 0x18], ecx
call fcn.004199cf
lea ecx, [esp + 0x10]
mov byte [esp + 0x420], 0
call fcn.004198da
mov ecx, dword [esp + 0x428]
lea edx, [esp + 0x18]
push ecx
push 0x3ff
push edx
push 0x433380
push str.own_service
push str.config
call ebp
lea edi, [esp + 0x18]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401d76
mov dword [esp + 0x420], ebx
jmp 0x401e78
lea eax, [esp + 0x18]
lea ecx, [esi + 0x34]
push eax
call fcn.00419a1f
mov ecx, dword [esp + 0x428]
lea edx, [esp + 0x18]
push ecx
push 0x3ff
push edx
push 0x433380
push str.own_service_module
push str.config
call ebp
lea edi, [esp + 0x18]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401dc1
mov dword [esp + 0x420], ebx
jmp 0x401e78
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0x433448
push ecx
call fcn.00419ac5
lea ebx, [esi + 0x38]
push eax
mov ecx, ebx
mov byte [esp + 0x424], 2
call fcn.004199cf
lea ecx, [esp + 0x10]
mov byte [esp + 0x420], 0
call fcn.004198da
mov edx, dword [esp + 0x428]
lea eax, [esp + 0x18]
push edx
push 0x3ff
push eax
push 0x433380
push str.own_service_desc
push str.config
call ebp
or ebp, 0xffffffff
lea edi, [esp + 0x18]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401e71
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x3c]
call fcn.00419a1f
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov eax, dword [edx]
push eax
call esi
test eax, eax
je 0x401e71
mov ebx, dword [ebx]
push ebx
call esi
test eax, eax
je 0x401e71
lea ecx, [esp + 0x428]
mov dword [esp + 0x420], ebp
call fcn.004198da
mov eax, 1
jmp 0x401e86
mov dword [esp + 0x420], ebp
lea ecx, [esp + 0x428]
call fcn.004198da
xor eax, eax
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x414
ret 4