Function at 0x40ae0f
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x47f0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x24c]
push str.UpdateModule.dll
mov dword [ebp - 0x240], ebx
call fcn.00402d97
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004320f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00411550
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
push 0xf
pop esi
sub eax, 1
jne 0x40af60
push 0x4f
xor ebx, ebx
mov dword [ebp - 0x228], esi
push str.d:jenkins.jenkinsworkspacepcstorepcstore_updateupdateupdatorfunction.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
call fcn.0040576d
push 3
push 0x467ca0
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], esi
mov byte [ebp - 0x224], bl
call fcn.0040576d
call fcn.00411550
mov ebx, eax
lea ecx, [ebp - 0x2e4]
push 0x175
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00404886
mov esi, eax
push str.CheckFiles:
push esi
call fcn.0040ab29
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0040ab29
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.00404f56
lea ecx, [ebp - 0x224]
call fcn.0040562a
lea ecx, [ebp - 0x23c]
call fcn.0040562a
mov ebx, dword [ebp - 0x240]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b1e5
add ebx, 0x38
lea eax, [ebp - 0x240]
push str.update_
push ebx
push eax
mov dword [ebp - 0x244], ebx
call fcn.004091d8
add esp, 0xc
lea ecx, [ebp - 0x240]
push dword [edi - 0xc]
push edi
call fcn.00402ddd
call fcn.00411550
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, dword [ebp - 0x240]
movzx eax, al
sub eax, 1
jne 0x40b089
push 0x4f
xor ebx, ebx
mov dword [ebp - 0x210], 0xf
push str.d:jenkins.jenkinsworkspacepcstorepcstore_updateupdateupdatorfunction.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], ebx
mov byte [ebp - 0x224], bl
call fcn.0040576d
push 3
push 0x467ca0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], bl
call fcn.0040576d
call fcn.00411550
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x2e4]
push 0x17b
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00404886
mov ebx, eax
push str.1_CheckFiles:
push ebx
call fcn.0040ab29
push esi
push ebx
call fcn.0040ad97
mov eax, dword [ebp - 0x248]
add esp, 0x10
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.00404f56
lea ecx, [ebp - 0x23c]
call fcn.0040562a
lea ecx, [ebp - 0x224]
call fcn.0040562a
mov ebx, dword [ebp - 0x244]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b1cd
lea eax, [ebp - 0x24c]
push eax
push 0x467688
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.004091d8
add esp, 0xc
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0040add8
add esp, 0xc
lea ecx, [ebp - 0x240]
push eax
call fcn.0040ad47
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.00403b1f
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00403b1f
call fcn.00411550
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, dword [ebp - 0x240]
movzx eax, al
sub eax, 1
jne 0x40b1cd
push 0x4f
xor ebx, ebx
mov dword [ebp - 0x210], 0xf
push str.d:jenkins.jenkinsworkspacepcstorepcstore_updateupdateupdatorfunction.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], ebx
mov byte [ebp - 0x224], bl
call fcn.0040576d
push 3
push 0x467ca0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], bl
call fcn.0040576d
call fcn.00411550
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x2e4]
push 0x183
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00404886
mov ebx, eax
push str.2_CheckFiles:
push ebx
call fcn.0040ab29
push esi
push ebx
call fcn.0040ad97
mov eax, dword [ebp - 0x244]
add esp, 0x10
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.00404f56
lea ecx, [ebp - 0x23c]
call fcn.0040562a
lea ecx, [ebp - 0x224]
call fcn.0040562a
push 1
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esi - 0x10]
call fcn.00403b1f
lea ecx, [edi - 0x10]
call fcn.00403b1f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041439b
leave
ret