Function at 0x42c1f6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov eax, dword [0x4bd5dc]
push ebx
push esi
push edi
mov dword [ebp - 0x250], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x250]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x24]
push eax
call fcn.0042bf44
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00403cfb
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040a4e8
push str._autoupdate
lea ecx, [ebp - 0x28]
call fcn.00403927
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00403d34
test eax, eax
lea ecx, [ebp - 0x28]
setge byte [ebp - 0x19]
call fcn.004038fb
cmp byte [ebp - 0x19], bl
je 0x42c625
mov eax, dword [0x4c7a70]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [eax - 0xc], ebx
jl 0x42c2c7
mov dword [ebp - 0x30], eax
add eax, 0xfffffff4
push eax
call esi
jmp 0x42c2d9
mov ecx, dword [0x4b0550]
push eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
call fcn.0040a70f
push 0x408922
push 0x100
lea eax, [ebp - 0xa50]
push 8
push eax
call fcn.004017c6
push 0x4b0810
push ebx
lea ecx, [ebp - 0x30]
call fcn.00403c58
push eax
lea ecx, [ebp - 0xa54]
call fcn.0040892c
push str.Path
lea ecx, [ebp - 0xa54]
call fcn.00408ade
push eax
lea ecx, [ebp - 8]
call fcn.0040a4e8
push str.Version
lea ecx, [ebp - 0xa54]
call fcn.00408ade
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a4e8
mov eax, dword [ebp - 8]
push ecx
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x42c355
mov dword [ecx], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
push eax
call esi
jmp 0x42c364
mov eax, dword [0x4b0550]
mov dword [ecx], eax
push dword [ebp - 8]
call fcn.0040a70f
lea eax, [ebp - 0x2c]
push eax
call fcn.0042bfa1
pop ecx
pop ecx
push str..exe
lea ecx, [ebp - 4]
call fcn.00403927
push 0x4b0ef0
lea ecx, [ebp - 0xc]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov edi, 0x4b37b4
lea ecx, [ebp - 4]
push edi
call fcn.00403927
mov esi, 0x4c67cc
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
push 0x4b12dc
lea ecx, [ebp - 0x14]
call fcn.00403927
push edi
lea ecx, [ebp - 0xc]
call fcn.00403927
push str.Autoupdate:
lea ecx, [ebp - 4]
call fcn.00403927
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x34]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
call fcn.00481c92
push str._nBackup:_n
lea ecx, [ebp - 4]
call fcn.00403927
push 0x4b15b0
lea ecx, [ebp - 0x14]
call fcn.00403927
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40003
push dword [ebp - 0x28]
push eax
push ebx
call esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x44], eax
call fcn.004038fb
lea ecx, [ebp - 0x34]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [eax - 8], ebx
jne 0x42c56e
push str.Bad_Autoupdate_1
lea ecx, [ebp - 0x10]
call fcn.00403927
mov eax, dword [eax]
push ebx
push ebx
push eax
call edi
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov eax, dword [ebp - 8]
cmp dword [eax - 8], ebx
jne 0x42c595
push str.Bad_Autoupdate_2
lea ecx, [ebp - 0x10]
call fcn.00403927
mov eax, dword [eax]
push ebx
push ebx
push eax
call edi
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.004038fb
cmp dword [ebp - 0x44], 6
jne 0x42c5b7
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 8]
call esi
push ebx
lea eax, [ebp - 0x250]
push dword [ebp - 8]
push eax
call esi
push 5
push ebx
push ebx
push dword [ebp - 8]
push str.open
push ebx
call fcn.0048f4ff
add esp, 0x18
call fcn.0042bff9
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x38]
call fcn.004038fb
lea ecx, [ebp - 0x28]
call fcn.004038fb
lea ecx, [ebp - 0x2c]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x30]
call fcn.004038fb
lea ecx, [ebp - 0x40]
call fcn.004038fb
lea ecx, [ebp - 0x3c]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.004038fb
push 1
pop eax
jmp 0x42c63f
lea ecx, [ebp - 0x40]
call fcn.004038fb
lea ecx, [ebp - 0x3c]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.004038fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret