Function at 0x100558d0
Capabilities:
Check if file exists
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4abe
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x358], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10005de0
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x3cc]
push ecx
mov ecx, dword [ebp - 0x358]
add ecx, 0x9c
call fcn.10006000
lea ecx, [ebp - 0x21c]
call fcn.10005f30
mov ecx, dword [ebp - 0x358]
call fcn.100567f0
movzx edx, al
test edx, edx
jne 0x10055c20
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.1009ee30
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x100d219c
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100559e6
call dword [0x100fa7f0]
movzx edx, al
test edx, edx
je 0x100559df
call dword [0x100fa7f8]
cmp eax, 3
jg 0x100559df
push str.tap_driver
push 3
push 0x37
push 0x100d21cc
call dword [0x100fa800]
add esp, 0x10
xor al, al
jmp 0x100563cc
call fcn.10039160
test eax, eax
je 0x10055b0c
push 0x100d21e0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x43c], esp
push 0x100d21e4
call fcn.10007e50
mov dword [ebp - 0x3d0], eax
mov edx, dword [ebp - 0x3d0]
mov dword [ebp - 0x440], edx
mov dword [ebp - 4], 0
push 0
push 0
push str.tapinstall.exe_install_OemVista.inf_tap0901
lea ecx, [ebp - 0x234]
call fcn.10007e50
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3a8]
push ecx
push 0
mov byte [ebp - 4], 2
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x35d], al
movzx edx, byte [ebp - 0x35d]
test edx, edx
jne 0x10055a9e
mov dword [ebp - 0x368], 1
jmp 0x10055aa8
mov dword [ebp - 0x368], 0
mov al, byte [ebp - 0x368]
mov byte [ebp - 0x359], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000c290
movzx ecx, byte [ebp - 0x359]
test ecx, ecx
je 0x10055b07
call dword [0x100fa7f0]
movzx edx, al
test edx, edx
je 0x10055b00
call dword [0x100fa7f8]
cmp eax, 3
jg 0x10055b00
push str.x64_
push 3
push 0x40
push 0x100d2280
call dword [0x100fa800]
add esp, 0x10
xor al, al
jmp 0x100563cc
jmp 0x10055c20
push 0x100d2294
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x444], esp
push 0x100d2298
call fcn.10007e50
mov dword [ebp - 0x3d8], eax
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x448], edx
mov dword [ebp - 4], 3
push 0
push 0
push str.tapinstall.exe_install_OemWin2k.inf_tap0901
lea ecx, [ebp - 0x24c]
call fcn.10007e50
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x3e0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3e0]
push ecx
push 0
mov byte [ebp - 4], 5
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x35a], al
movzx edx, byte [ebp - 0x35a]
test edx, edx
jne 0x10055bb7
mov dword [ebp - 0x36c], 1
jmp 0x10055bc1
mov dword [ebp - 0x36c], 0
mov al, byte [ebp - 0x36c]
mov byte [ebp - 0x35b], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1000c290
movzx ecx, byte [ebp - 0x35b]
test ecx, ecx
je 0x10055c20
call dword [0x100fa7f0]
movzx edx, al
test edx, edx
je 0x10055c19
call dword [0x100fa7f8]
cmp eax, 3
jg 0x10055c19
push str.x86_
push 3
push 0x4a
push 0x100d2310
call dword [0x100fa800]
add esp, 0x10
xor al, al
jmp 0x100563cc
mov ecx, dword [ebp - 0x358]
call fcn.100567f0
movzx eax, al
test eax, eax
jne 0x10055c68
call dword [0x100fa7f0]
movzx ecx, al
test ecx, ecx
je 0x10055c61
call dword [0x100fa7f8]
cmp eax, 3
jg 0x10055c61
push 0x100d2324
push 3
push 0x55
push 0x100d2338
call dword [0x100fa800]
add esp, 0x10
xor al, al
jmp 0x100563cc
call dword [0x100fa7f0]
movzx edx, al
test edx, edx
je 0x10055c97
call dword [0x100fa7f8]
cmp eax, 1
jg 0x10055c97
push 0x100d234c
push 1
push 0x59
push 0x100d236c
call dword [0x100fa800]
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x358]
mov edx, dword [ecx + 0x98]
call edx
mov dword [ebp - 0x364], 0
cmp dword [ebp - 0x364], 0x7d0
jge 0x100563ca
mov eax, dword [ebp - 0x364]
add eax, 1
mov dword [ebp - 0x364], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x358]
mov edx, dword [ecx + 0x90]
call edx
cmp eax, 4
jne 0x100563c5
call dword [0x100fa7f0]
movzx eax, al
test eax, eax
je 0x10055d2c
call dword [0x100fa7f8]
cmp eax, 1
jg 0x10055d2c
push 0x100d2380
push 1
push 0x67
push str.COpenvpnHelper.cpp
call dword [0x100fa800]
add esp, 0x10
mov ecx, dword [ebp - 0x358]
add ecx, 0x38
push ecx
push 0x100d23ac
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x294]
call fcn.10005de0
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x3e8]
push ecx
push 0x100d23b0
lea edx, [ebp - 0x27c]
push edx
call fcn.1000e040
add esp, 0xc
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x3f0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.10005c80
add esp, 0xc
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.10009110
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x264]
call fcn.10005f30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x27c]
call fcn.10005f30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x294]
call fcn.10005f30
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44c], esp
push 0x100d23bc
call fcn.10007e50
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 0xd
push 0
push 0
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.1002ebd0
add esp, 8
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x408], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x408]
push ecx
push 0
mov byte [ebp - 4], 0xf
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x144]
call fcn.1000c290
mov ecx, dword [ebp - 0x358]
add ecx, 0x50
call fcn.10021b60
movzx edx, al
test edx, edx
jne 0x10056114
mov eax, dword [ebp - 0x358]
add eax, 0x50
push eax
lea ecx, [ebp - 0x2dc]
call fcn.10008e80
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x410]
push edx
push 0x100d23c0
lea eax, [ebp - 0x2c4]
push eax
call fcn.1000e040
add esp, 0xc
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.10006000
lea ecx, [ebp - 0x2c4]
call fcn.10005f30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2dc]
call fcn.10005f30
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x454], esp
push 0x100d23d0
call fcn.10007e50
mov dword [ebp - 0x418], eax
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x458], edx
mov byte [ebp - 4], 0x11
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x2f4]
push ecx
call fcn.1002ebd0
add esp, 8
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x420]
push eax
push 0
mov byte [ebp - 4], 0x13
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2f4]
call fcn.1000c290
mov ecx, dword [ebp - 0x358]
add ecx, 0x38
push ecx
push 0x100d23d4
mov edx, dword [ebp - 0x358]
add edx, 0x50
push edx
lea ecx, [ebp - 0x33c]
call fcn.10008e80
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x428]
push ecx
push 0x100d23d8
lea edx, [ebp - 0x324]
push edx
call fcn.1000e040
add esp, 0xc
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x370], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x370]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call fcn.10005c80
add esp, 0xc
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x378], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x378]
push ecx
lea edx, [ebp - 0x30c]
push edx
call fcn.10009110
add esp, 0xc
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10006000
lea ecx, [ebp - 0x30c]
call fcn.10005f30
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2ac]
call fcn.10005f30
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x324]
call fcn.10005f30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x33c]
call fcn.10005f30
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x45c], esp
push 0x100d23e4
call fcn.10007e50
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x460], ecx
mov byte [ebp - 4], 0x17
push 0
push 0
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x354]
push eax
call fcn.1002ebd0
add esp, 8
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x388], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x388]
push edx
push 0
mov byte [ebp - 4], 0x19
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x354]
call fcn.1000c290
mov ecx, dword [ebp - 0x358]
add ecx, 0x68
call fcn.10021b60
movzx eax, al
test eax, eax
jne 0x100563a4
mov ecx, dword [ebp - 0x358]
add ecx, 0x68
push ecx
lea ecx, [ebp - 0x174]
call fcn.10008e80
mov dword [ebp - 0x38c], eax
mov edx, dword [ebp - 0x38c]
mov dword [ebp - 0x390], edx
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x390]
push eax
push 0x100d23e8
lea ecx, [ebp - 0x15c]
push ecx
call fcn.1000e040
add esp, 0xc
mov dword [ebp - 0x394], eax
mov edx, dword [ebp - 0x394]
push edx
lea ecx, [ebp - 0x12c]
call fcn.10006000
lea ecx, [ebp - 0x15c]
call fcn.10005f30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x174]
call fcn.10005f30
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x464], esp
push 0x100d23f8
call fcn.10007e50
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 0x1b
push 0
push 0
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.1002ebd0
add esp, 8
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x3a0]
push ecx
push 0
mov byte [ebp - 4], 0x1d
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18c]
call fcn.1000c290
mov edx, dword [ebp - 0x358]
add edx, 0x38
push edx
push 0x100d23fc
mov eax, dword [ebp - 0x358]
add eax, 0x68
push eax
lea ecx, [ebp - 0x1ec]
call fcn.10008e80
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3fc], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x3fc]
push edx
push str.route_add
lea eax, [ebp - 0x1d4]
push eax
call fcn.1000e040
add esp, 0xc
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x3b0], ecx
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x3b0]
push edx
lea eax, [ebp - 0x1bc]
push eax
call fcn.10005c80
add esp, 0xc
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3b4]
mov dword [ebp - 0x3b8], ecx
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x3b8]
push edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.10009110
add esp, 0xc
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x3bc]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.10006000
lea ecx, [ebp - 0x1a4]
call fcn.10005f30
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1bc]
call fcn.10005f30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1d4]
call fcn.10005f30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1ec]
call fcn.10005f30
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x434], esp
push 0x100d240c
call fcn.10007e50
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x438], edx
mov byte [ebp - 4], 0x21
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.1002ebd0
add esp, 8
mov dword [ebp - 0x3c4], eax
mov edx, dword [ebp - 0x3c4]
mov dword [ebp - 0x3c8], edx
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x3c8]
push eax
push 0
mov byte [ebp - 4], 0x23
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x204]
call fcn.1000c290
mov byte [ebp - 0x35c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10005f30
mov al, byte [ebp - 0x35c]
jmp 0x100563cc
jmp 0x10055cbf
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 0x10