Function at 0x4523f0
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa58
mov eax, dword [0x48be0c]
push ebx
push esi
push edi
mov dword [ebp - 0x254], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x254]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x254]
mov ecx, esp
push eax
call fcn.00407ed4
lea eax, [ebp - 0x24]
push eax
call int.00429470
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00401764
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00407ed4
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x40]
push eax
call fcn.00407ed4
push str._autoupdate
lea ecx, [ebp - 0x28]
call fcn.004013c7
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00401799
test eax, eax
lea ecx, [ebp - 0x28]
setge byte [ebp - 0x19]
call fcn.0040139b
cmp byte [ebp - 0x19], bl
je 0x45283b
mov eax, dword [0x496328]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [eax - 0xc], ebx
jl 0x4524c1
mov dword [ebp - 0x2c], eax
add eax, 0xfffffff4
push eax
call esi
jmp 0x4524d3
mov ecx, dword [0x481530]
push eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
call fcn.004080f7
push 0x406549
push 0x100
lea eax, [ebp - 0xa54]
push 8
push eax
call fcn.00401082
push 0x48162c
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004016d3
push eax
lea ecx, [ebp - 0xa58]
call fcn.00406553
push str.Path
lea ecx, [ebp - 0xa58]
call fcn.00406712
push eax
lea ecx, [ebp - 8]
call fcn.00407ed4
push str.Version
lea ecx, [ebp - 0xa58]
call fcn.00406712
push eax
lea ecx, [ebp - 0x20]
call fcn.00407ed4
mov eax, dword [ebp - 8]
push ecx
mov ecx, esp
cmp dword [eax - 0xc], ebx
jl 0x45254f
mov dword [ecx], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
push eax
call esi
jmp 0x45255e
mov eax, dword [0x481530]
mov dword [ecx], eax
push dword [ebp - 8]
call fcn.004080f7
lea eax, [ebp - 0x30]
push eax
call int.004294cd
pop ecx
pop ecx
push str..exe
lea ecx, [ebp - 4]
call fcn.004013c7
push 0x481c70
lea ecx, [ebp - 0x10]
call fcn.004013c7
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015b5
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push eax
push dword [eax - 8]
call fcn.00401657
lea ecx, [ebp - 0xc]
call fcn.0040139b
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
lea eax, [ebp - 0x38]
push eax
call fcn.004593a3
pop ecx
mov esi, 0x48442c
push esi
lea ecx, [ebp - 4]
call fcn.004013c7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004015b5
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
push 0x48205c
lea ecx, [ebp - 0xc]
call fcn.004013c7
push esi
lea ecx, [ebp - 0x10]
call fcn.004013c7
push str.Autoupdate:
lea ecx, [ebp - 4]
call fcn.004013c7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004015b5
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 0x34]
call fcn.0040139b
lea ecx, [ebp - 0x14]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea ecx, [ebp - 0xc]
call fcn.0040139b
call fcn.0045232f
push str._nBackup:_n
lea ecx, [ebp - 4]
call fcn.004013c7
push 0x482330
lea ecx, [ebp - 0xc]
call fcn.004013c7
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b5
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x40003
push dword [ebp - 0x28]
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
push eax
call edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], eax
call fcn.0040139b
lea ecx, [ebp - 0x34]
call fcn.0040139b
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea ecx, [ebp - 0xc]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x452775
push str.Bad_Autoupdate_1
lea ecx, [ebp - 0x14]
call fcn.004013c7
mov eax, dword [eax]
push ebx
push ebx
push eax
call esi
push eax
call edi
lea ecx, [ebp - 0x14]
call fcn.0040139b
mov eax, dword [ebp - 8]
cmp dword [eax - 8], ebx
jne 0x45279c
push str.Bad_Autoupdate_2
lea ecx, [ebp - 0x14]
call fcn.004013c7
mov eax, dword [eax]
push ebx
push ebx
push eax
call esi
push eax
call edi
lea ecx, [ebp - 0x14]
call fcn.0040139b
cmp dword [ebp - 0x48], 6
jne 0x4527c3
call fcn.0045947b
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push dword [ebp - 0x30]
push dword [ebp - 8]
call esi
push ebx
lea eax, [ebp - 0x254]
push dword [ebp - 8]
push eax
call esi
push 5
push ebx
push dword [ebp - 8]
push str.explorer.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004520d2
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x44]
call fcn.0040139b
lea ecx, [ebp - 0x28]
call fcn.0040139b
lea ecx, [ebp - 0x38]
call fcn.0040139b
lea ecx, [ebp - 0x30]
call fcn.0040139b
lea ecx, [ebp - 0x20]
call fcn.0040139b
lea ecx, [ebp - 8]
call fcn.0040139b
lea ecx, [ebp - 0x2c]
call fcn.0040139b
lea ecx, [ebp - 0x40]
call fcn.0040139b
lea ecx, [ebp - 0x3c]
call fcn.0040139b
lea ecx, [ebp - 0x24]
call fcn.0040139b
push 1
pop eax
jmp 0x452855
lea ecx, [ebp - 0x40]
call fcn.0040139b
lea ecx, [ebp - 0x3c]
call fcn.0040139b
lea ecx, [ebp - 0x24]
call fcn.0040139b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret