Function at 0x447630
Capabilities:
Check if file exists
Copy file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8619
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x268], cx
mov esi, 7
push 0x4e25d8
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], ebx
call fcn.00401860
mov dword [ebp - 4], ebx
push ebx
xor edx, edx
push 0x4e25d8
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], dx
call fcn.00401860
mov byte [ebp - 4], 1
push 3
xor eax, eax
push 0x4e2ed0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.00401860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x290]
call fcn.004306b0
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0042f7f0
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.00403370
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
jb 0x447744
mov edx, dword [ebp - 0x230]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x278], ebx
je 0x447b84
mov ecx, dword [ebp - 0x274]
push edi
push ecx
mov ecx, dword [ebp - 0x270]
lea edx, [ebp - 0x234]
push edx
call fcn.00446670
mov byte [ebp - 4], 5
push 0xc
push str.vsdrinst.exe
lea ecx, [ebp - 0x26c]
call fcn.00401860
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2cc]
push str._i__
push ecx
call fcn.00401a30
mov byte [ebp - 4], 6
push str._vsdatant.inf_
push eax
lea edx, [ebp - 0x294]
push edx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x250]
call fcn.00401750
mov byte [ebp - 4], 6
cmp dword [ebp - 0x27c], 8
jb 0x4477f5
mov eax, dword [ebp - 0x290]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x280], ebx
mov word [ebp - 0x290], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2b4], 8
jb 0x447826
mov edx, dword [ebp - 0x2c8]
push edx
call fcn.004b29fa
add esp, 4
lea ecx, [ebp - 0x2d4]
push ecx
push 1
push 2
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x270], esp
xor eax, eax
push 0xffffffffffffffff
mov word [ebp - 0x2c8], ax
push ebx
lea eax, [ebp - 0x250]
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b8], ebx
mov word [ecx + 4], dx
call fcn.00401750
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x26c]
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov byte [ebp - 4], 9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2d0], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x234]
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 5
call fcn.00453920
call fcn.00427480
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.004b32f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push str._SystemRoot_System32drivers_vsdatant.sys
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x447b4e
push str.FIREWALLACTION
lea ecx, [ebp - 0x294]
call fcn.004019e0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2b0]
call fcn.004019e0
mov byte [ebp - 4], 0xc
push str._is_missing.
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x294]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2b4], 8
jb 0x44798a
mov edx, dword [ebp - 0x2c8]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b8], ebx
mov word [ebp - 0x2c8], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x298], 8
jb 0x4479bb
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x29c], ebx
mov word [ebp - 0x2ac], dx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x27c], 8
jb 0x4479ec
mov eax, dword [ebp - 0x290]
push eax
call fcn.004b29fa
add esp, 4
push str._vsdatant.sys
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x2b0]
xor ecx, ecx
push eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x280], ebx
mov word [ebp - 0x290], cx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], 8
jb 0x447a2b
mov eax, dword [eax + 4]
jmp 0x447a2e
add eax, 4
push ebx
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x298], 8
jb 0x447a5f
mov edx, dword [ebp - 0x2ac]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
push str.FIREWALLACTION
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x29c], ebx
mov word [ebp - 0x2ac], ax
call fcn.004019e0
cmp dword [ebp - 0x270], ebx
je 0x447ae1
mov byte [ebp - 4], 0xf
push str.Successfully_copied
lea ecx, [ebp - 0x294]
call fcn.004019e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x218]
push ecx
push eax
lea edx, [ebp - 0x2cc]
push edx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2cc]
call fcn.00490320
mov byte [ebp - 4], 0xf
jmp 0x447b34
mov byte [ebp - 4], 0x12
push str.Failed_to_copy
lea ecx, [ebp - 0x294]
call fcn.004019e0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x218]
push edx
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2cc]
call fcn.00490320
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x294]
call fcn.00490320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b0]
call fcn.00490320
call fcn.004260e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
jb 0x447b6f
mov edx, dword [ebp - 0x230]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
push 9
push str.vsmon.exe
lea ecx, [ebp - 0x26c]
call fcn.00401860
push 8
push 0x4e7604
lea ecx, [ebp - 0x250]
call fcn.00401860
lea ecx, [ebp - 0x2d4]
push ecx
push 1
push 2
push 0x493e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2d0], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x250]
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov byte [ebp - 4], 0x15
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x26c]
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x274]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0xffffffffffffffff
add eax, 0x24c
push ebx
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 1
call fcn.00453920
push 3
xor eax, eax
push 0x4e2ed0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.00401860
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x290]
call fcn.004306b0
mov byte [ebp - 4], 0x19
push eax
mov ecx, edi
call fcn.0042f7f0
mov edi, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x290]
call fcn.00403370
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
jb 0x447cba
mov edx, dword [ebp - 0x230]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
cmp edi, ebx
jne 0x447ce3
mov ecx, dword [ebp - 0x274]
mov dword [ecx + 0x34c], 1
mov byte [ebp - 4], bl
cmp dword [ebp - 0x238], 8
jb 0x447cfe
mov edx, dword [ebp - 0x24c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x254], 8
jb 0x447d32
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x268], dx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret 8