Function at 0x419670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5b706c]
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 ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.0040e810
lea edx, [edi + 0xf0]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0xec]
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a23f0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00403d90
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x584430
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00403df0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00411870
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00403d90
push 0xc
push str.CURRENT_PATH
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.004ad250
push 1
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00410d00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x419799
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41978f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b53
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x4197e3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4197d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b58
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x11
push str.status_DeployPath
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.004b4180
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00411870
lea ecx, [ebp - 0x58]
call fcn.00403d90
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41985f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419855
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b5d
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0xa
push 4
mov ecx, edi
call fcn.00411c90
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4198c2
push 0x20
call fcn.0051ebe4
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov byte [esi + 4], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea ecx, [esi + 8]
mov dword [esi], vtable.deploy::RollbackPath.0
call fcn.0040c7b0
push esi
mov ecx, ebx
mov byte [esi + 4], 1
mov byte [ebp - 4], 2
call fcn.0041f950
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0040c7b0
call fcn.004a45c0
add esp, 0x18
test al, al
je 0x419910
push 0xa
push 8
mov ecx, edi
call fcn.00411c90
mov eax, dword [ebx + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x419909
push dword [esi + 8]
mov ecx, edi
call fcn.00411cd0
test al, al
je 0x419b29
mov esi, dword [esi]
cmp esi, dword [ebx + 4]
jne 0x4198f0
mov bl, 1
jmp 0x419b2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
push str.CURRENT_PATH
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov esi, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.004ad250
push 1
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.00410d00
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x419992
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419988
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b62
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x4199dc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4199d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b67
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403f90
mov edx, esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x13]
call fcn.00404aa0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp eax, ecx
je 0x419a30
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403f90
push 1
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00410d00
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x419a7d
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419a73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b6c
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x419ab5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419aab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b71
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x10
push str.error_DeployPath
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00403f90
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.004b4180
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00411730
lea ecx, [ebp - 0x74]
call fcn.00403d90
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x419b29
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b76
push edx
push ecx
call fcn.0051ec14
add esp, 8
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.00403d90
mov al, bl
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.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
int3