Function at 0x406316
Capabilities:
Contain obfuscated stackstrings
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x4013b0
push 0x4014ec
mov dword [ebp - 0x40], ecx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
and dword [ebp - 0xb8], 0
mov dword [ebp - 0xc0], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x24]
push eax
push ebx
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x57
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x64
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x41
call esi
push eax
call edi
lea ecx, [ebp - 0x1d0]
push 0x105
push ecx
call eax
mov byte [ebp - 0xb4], 0x5c
mov byte [ebp - 0xb3], 0x41
mov byte [ebp - 0xb2], 0x70
mov byte [ebp - 0xb1], 0x70
mov byte [ebp - 0xb0], 0x6c
mov byte [ebp - 0xaf], 0x69
mov byte [ebp - 0xae], 0x63
mov byte [ebp - 0xad], 0x61
mov byte [ebp - 0xac], 0x74
mov byte [ebp - 0xab], 0x69
mov byte [ebp - 0xaa], 0x6f
mov byte [ebp - 0xa9], 0x6e
mov byte [ebp - 0xa8], 0x20
mov byte [ebp - 0xa7], 0x44
mov byte [ebp - 0xa6], 0x61
mov byte [ebp - 0xa5], 0x74
mov byte [ebp - 0xa4], 0x61
mov byte [ebp - 0xa3], 0x5c
mov byte [ebp - 0xa2], 0x4d
mov byte [ebp - 0xa1], 0x69
mov byte [ebp - 0xa0], 0x63
mov byte [ebp - 0x9f], 0x72
mov byte [ebp - 0x9e], 0x6f
mov byte [ebp - 0x9d], 0x73
mov byte [ebp - 0x9c], 0x6f
mov byte [ebp - 0x9b], 0x66
mov byte [ebp - 0x9a], 0x74
mov byte [ebp - 0x99], 0x5c
mov byte [ebp - 0x98], 0x4e
mov byte [ebp - 0x97], 0x65
mov byte [ebp - 0x96], 0x74
mov byte [ebp - 0x95], 0x77
mov byte [ebp - 0x94], 0x6f
mov byte [ebp - 0x93], 0x72
mov byte [ebp - 0x92], 0x6b
and byte [ebp - 0x74], 0
mov byte [ebp - 0x91], 0x5c
mov byte [ebp - 0x90], 0x43
mov byte [ebp - 0x8f], 0x6f
mov byte [ebp - 0x8e], 0x6e
mov byte [ebp - 0x8d], 0x6e
mov byte [ebp - 0x8c], 0x65
mov byte [ebp - 0x8b], 0x63
mov byte [ebp - 0x8a], 0x74
mov byte [ebp - 0x89], 0x69
mov byte [ebp - 0x88], 0x6f
mov byte [ebp - 0x87], 0x6e
mov byte [ebp - 0x86], 0x73
mov byte [ebp - 0x85], 0x5c
mov byte [ebp - 0x84], 0x70
mov byte [ebp - 0x83], 0x62
mov byte [ebp - 0x82], 0x6b
mov byte [ebp - 0x81], 0x5c
mov byte [ebp - 0x80], 0x72
mov byte [ebp - 0x7f], 0x61
mov byte [ebp - 0x7e], 0x73
mov byte [ebp - 0x7d], 0x70
mov byte [ebp - 0x7c], 0x68
mov byte [ebp - 0x7b], 0x6f
mov byte [ebp - 0x7a], 0x6e
mov byte [ebp - 0x79], 0x65
mov byte [ebp - 0x78], 0x2e
mov byte [ebp - 0x77], 0x70
mov byte [ebp - 0x76], 0x62
mov byte [ebp - 0x75], 0x6b
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x42], 0
mov byte [ebp - 0x70], 0x4d
mov byte [ebp - 0x6f], 0x69
mov byte [ebp - 0x6e], 0x63
mov byte [ebp - 0x6d], 0x72
mov byte [ebp - 0x6c], 0x6f
mov byte [ebp - 0x6b], 0x73
mov byte [ebp - 0x6a], 0x6f
mov byte [ebp - 0x69], 0x66
mov byte [ebp - 0x68], 0x74
mov byte [ebp - 0x67], 0x5c
mov byte [ebp - 0x66], 0x4e
mov byte [ebp - 0x65], 0x65
mov byte [ebp - 0x64], 0x74
mov byte [ebp - 0x63], 0x77
mov byte [ebp - 0x62], 0x6f
mov byte [ebp - 0x61], 0x72
mov byte [ebp - 0x60], 0x6b
mov byte [ebp - 0x5f], 0x5c
mov byte [ebp - 0x5e], 0x43
mov byte [ebp - 0x5d], 0x6f
mov byte [ebp - 0x5c], 0x6e
mov byte [ebp - 0x5b], 0x6e
mov byte [ebp - 0x5a], 0x65
mov byte [ebp - 0x59], 0x63
mov byte [ebp - 0x58], 0x74
mov byte [ebp - 0x57], 0x69
mov byte [ebp - 0x56], 0x6f
mov byte [ebp - 0x55], 0x6e
mov byte [ebp - 0x54], 0x73
mov byte [ebp - 0x53], 0x5c
mov byte [ebp - 0x52], 0x70
mov byte [ebp - 0x51], 0x62
mov byte [ebp - 0x50], 0x6b
mov byte [ebp - 0x4f], 0x5c
mov byte [ebp - 0x4e], 0x72
mov byte [ebp - 0x4d], 0x61
mov byte [ebp - 0x4c], 0x73
mov byte [ebp - 0x4b], 0x70
mov byte [ebp - 0x4a], 0x68
mov byte [ebp - 0x49], 0x6f
mov byte [ebp - 0x48], 0x6e
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x2e
mov byte [ebp - 0x45], 0x70
mov byte [ebp - 0x44], 0x62
mov byte [ebp - 0x43], 0x6b
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x63
and byte [ebp - 0x25], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1d0]
push 0x5c
push eax
mov byte [ebp - 0x39], 0x75
mov byte [ebp - 0x38], 0x6d
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x6e
mov byte [ebp - 0x35], 0x74
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x33], 0x20
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x20
mov byte [ebp - 0x2e], 0x53
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x73
mov byte [ebp - 0x26], 0x5c
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
inc eax
pop ecx
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp - 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
pop ecx
pop ecx
push dword [eax + 0x14]
lea eax, [ebp - 0x1d0]
push eax
call ebx
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x1d0]
push eax
call ebx
push 0
lea eax, [ebp - 0x2d8]
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
push eax
push 0x4014e0
mov byte [ebp - 0xc], 0x77
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x66
mov byte [ebp - 4], 0x41
call esi
push eax
call edi
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x2d8]
push 0x4014d8
push ecx
call eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0xc4], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov esi, 0x1000
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
mov ebx, eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea edi, [ebp - 0xc8]
mov dword [ebp - 0x40], 2
push esi
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [edi]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [ebx], 0
mov dword [ebp - 0xbc], ebx
je 0x4067ca
push dword [ebp - 0xbc]
inc dword [ebp - 0xb8]
call dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
cmp byte [ecx + eax + 1], 0
lea eax, [ecx + eax + 1]
mov dword [ebp - 0xbc], eax
jne 0x4067a1
add edi, 4
dec dword [ebp - 0x40]
jne 0x406780
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xb8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret