Function at 0x420252
Capabilities:
Get file size
Persist via lnk shortcut
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
lea eax, [ebp - 0x154]
push edi
mov edi, ecx
push eax
call fcn.0041fc62
lea eax, [ebp - 0x154]
push eax
call fcn.0040d9bb
test al, al
pop ecx
je 0x42093a
xor ebx, ebx
cmp dword [0x47a4e4], 1
jne 0x420315
mov esi, 0x47a758
mov ecx, esi
call fcn.00410ec6
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419cd4
push ebx
push str.Uninstall
lea ecx, [ebp - 0x2c]
call fcn.00419ee6
push 0x47a264
lea ecx, [ebp - 0x2c]
call fcn.00419f64
push ebx
push str..lnk
lea ecx, [ebp - 0x2c]
call fcn.00419ee6
lea ecx, [ebp - 0x2c]
call fcn.0041ab9e
push eax
call fcn.0040d9bb
test al, al
pop ecx
jne 0x420303
lea ecx, [ebp - 0x2c]
call fcn.0041ab9e
lea ecx, [edi + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.0041f0bc
lea eax, [ebp - 0x154]
mov ecx, esi
push eax
call fcn.00410077
lea ecx, [ebp - 0x2c]
mov dword [0x47a4e4], 2
call fcn.00419d9a
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x154]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x20], esi
je 0x42093a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push ebx
push 0xfffffffffffffffc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
call esi
lea eax, [ebp - 0x40]
push ebx
push eax
lea eax, [ebp - 0x30]
push 4
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x30]
sub eax, 4
push eax
mov dword [ebp - 4], eax
call fcn.0042200e
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jne 0x42039f
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42093a
lea ecx, [ebp - 0x40]
push ebx
push ecx
push dword [ebp - 4]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call esi
lea ecx, [ebp - 0x14]
call fcn.00419c64
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
push dword [ebp - 8]
call fcn.00419ee6
lea ecx, [ebp - 0x14]
call fcn.0041a17f
test al, al
je 0x420929
lea ecx, [ebp - 0x14]
call fcn.0041a17f
test al, al
je 0x420929
cmp dword [ebp - 0x14], 2
jb 0x420929
lea ecx, [ebp - 0x3c]
call fcn.00419c64
push ebx
lea ecx, [ebp - 0x14]
call fcn.00419e82
cmp al, 0x5c
jne 0x420444
push 1
lea ecx, [ebp - 0x14]
call fcn.00419e82
push 2
lea ecx, [ebp - 0x14]
call fcn.0041a7a5
lea esi, [eax + 6]
lea ecx, [ebp - 0x14]
push esi
push ebx
call fcn.0041ab15
push eax
lea ecx, [ebp - 0x3c]
call fcn.00419e1f
push esi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041a248
xor esi, esi
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 0x19], bl
jbe 0x42057a
push esi
lea ecx, [ebp - 0x14]
call fcn.00419e82
cmp al, 0xd
je 0x42046a
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x420452
jmp 0x42057a
cmp esi, 0xffffffff
je 0x42057a
push esi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041ab15
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419d38
push ebx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041a555
mov esi, eax
cmp esi, 0xffffffff
je 0x420572
lea ecx, [ebp - 0x2c]
call fcn.0041ab9e
lea eax, [eax + esi + 1]
push eax
push 0x429b18
mov dword [ebp - 4], eax
call fcn.00421c70
pop ecx
test eax, eax
pop ecx
jge 0x4204bf
mov byte [ebp - 0x19], 1
cmp byte [edi + 0x92], bl
jne 0x420572
push dword [ebp - 4]
push 0x429b14
call fcn.00421c70
pop ecx
test eax, eax
pop ecx
jge 0x420572
inc esi
lea ecx, [ebp - 0x14]
push esi
push ebx
call fcn.0041a555
mov dword [ebp - 8], eax
inc eax
push eax
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], eax
call fcn.0041a555
cmp dword [ebp - 8], 0xffffffff
mov esi, eax
je 0x420572
cmp esi, 0xffffffff
je 0x420572
push 0x47a4cc
mov ecx, 0x479ee8
call fcn.004189c2
push 0x7fffffff
push 0x47a4cc
mov ecx, 0x479ee8
call fcn.00419277
sub esi, dword [ebp - 8]
lea ecx, [ebp - 0x14]
dec esi
push esi
push dword [ebp - 4]
call fcn.0041ab15
push eax
lea ecx, [ebp - 0x50]
call fcn.00419d38
push esi
lea ecx, [ebp - 0x14]
push dword [ebp - 4]
call fcn.0041a248
push ebx
mov ecx, 0x47a4cc
push dword [ebp - 4]
call fcn.0041ab9e
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a8c8
lea ecx, [ebp - 0x50]
call fcn.00419d9a
lea ecx, [ebp - 0x2c]
call fcn.00419d9a
push 1
push ebx
push str.Backups:_r_n
lea ecx, [ebp - 0x14]
call fcn.0041a578
push 1
push ebx
push str.Files:_r_n
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0041a578
cmp eax, esi
jge 0x4205a8
push dword [ebp - 0x20]
jmp 0x420919
push 1
mov esi, str.Shared:_r_n
push ebx
push esi
lea ecx, [ebp - 0x14]
call fcn.0041a578
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 4]
add ecx, eax
cmp dword [edi + 0x7c], ebx
mov dword [ebp - 0x18], ecx
jle 0x42065c
mov dword [ebp - 8], ebx
push ebx
push dword [edi + 0x8c]
call fcn.0040d988
pop ecx
cmp eax, ebx
pop ecx
je 0x420654
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419cd4
cmp byte [ebp - 0x19], bl
jne 0x420618
push ebx
push 0x7c
lea ecx, [ebp - 0x2c]
call fcn.0041a555
cmp eax, 0xffffffff
je 0x420618
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041a248
push ebx
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x18]
call fcn.0041ab9e
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a8c8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
add eax, ecx
push ebx
push eax
push 0x427c50
lea ecx, [ebp - 0x14]
call fcn.0041a8c8
inc dword [ebp - 8]
lea ecx, [ebp - 0x2c]
call fcn.00419d9a
push dword [ebp - 8]
jmp 0x4205da
lea ecx, [edi + 0x78]
call fcn.0041ae71
cmp dword [edi + 0x54], ebx
jbe 0x4206f4
push 1
push ebx
push str.Backups:_r_n
lea ecx, [ebp - 0x14]
call fcn.0041a578
push str.Backups:_r_n
mov dword [ebp - 8], eax
call esi
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
add ecx, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x2c]
call fcn.00419c64
push dword [ebp - 4]
lea ecx, [edi + 0x54]
call fcn.0041a87a
test al, al
je 0x4206df
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x54]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a7d7
push ebx
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x18]
call fcn.0041ab9e
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a8c8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
add eax, ecx
push ebx
push eax
push 0x427c50
lea ecx, [ebp - 0x14]
call fcn.0041a8c8
jmp 0x420692
push 0x429ff8
lea ecx, [edi + 0x54]
call fcn.00419db1
lea ecx, [ebp - 0x2c]
call fcn.00419d9a
cmp dword [edi + 0x10], ebx
jle 0x420764
push 1
push ebx
push str.Files:_r_n
lea ecx, [ebp - 0x14]
call fcn.0041a578
push str.Files:_r_n
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ebx
add ecx, eax
push ebx
mov dword [ebp - 0x18], ecx
push dword [edi + 0x20]
call fcn.0040d988
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x42075c
push ebx
lea ecx, [ebp - 0x14]
push dword [ebp - 0x18]
push eax
call fcn.0041a8c8
push ebx
push dword [ebp - 4]
call esi
add eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push 0x427c50
call fcn.0041a8c8
inc dword [ebp - 8]
push dword [ebp - 8]
jmp 0x42071f
lea ecx, [edi + 0xc]
call fcn.0041ae71
cmp dword [edi + 0x28], ebx
jle 0x4207d4
push 1
push ebx
push str.Directories:_r_n
lea ecx, [ebp - 0x14]
call fcn.0041a578
push str.Directories:_r_n
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ebx
add ecx, eax
push ebx
mov dword [ebp - 0x18], ecx
push dword [edi + 0x38]
call fcn.0040d988
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x4207cc
push ebx
lea ecx, [ebp - 0x14]
push dword [ebp - 0x18]
push eax
call fcn.0041a8c8
push ebx
push dword [ebp - 4]
call esi
add eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push 0x427c50
call fcn.0041a8c8
inc dword [ebp - 8]
push dword [ebp - 8]
jmp 0x42078f
lea ecx, [edi + 0x24]
call fcn.0041ae71
xor cl, cl
mov eax, 0x47a2b8
cmp dword [eax - 0x14], ebx
jg 0x4207e4
cmp dword [eax], ebx
jle 0x4207e6
mov cl, 1
add eax, 0x3c
cmp eax, 0x47a3a8
jl 0x4207db
cmp dword [edi + 0x40], ebx
jg 0x4207fa
cmp dword [edi + 0x64], ebx
jle 0x4207fc
mov cl, 1
cmp cl, bl
je 0x4208be
push 1
push ebx
push str.Registry:_r_n
lea ecx, [ebp - 0x14]
call fcn.0041a578
push str.Registry:_r_n
mov dword [ebp - 4], eax
call esi
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x14]
add esi, eax
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push esi
call fcn.0041ab15
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419d38
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
sub eax, esi
push eax
push esi
call fcn.0041a248
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], ebx
call fcn.0041ab9e
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], eax
mov esi, 0x47a378
jbe 0x420887
mov dword [ebp - 4], 0x47a288
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.0041fcbb
add dword [ebp - 4], 0x3c
cmp dword [ebp - 4], esi
jl 0x420869
cmp dword [edi + 0x40], ebx
jg 0x420891
cmp dword [edi + 0x64], ebx
jle 0x420898
mov ecx, edi
call fcn.0041edf1
mov dword [ebp - 4], 0x47a288
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041efce
add dword [ebp - 4], 0x3c
cmp dword [ebp - 4], esi
jl 0x42089f
lea ecx, [ebp - 0x2c]
call fcn.00419d9a
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00419f64
lea ecx, [ebp - 0x3c]
call fcn.0041a0ce
lea ecx, [ebp - 0x3c]
call fcn.0041a0ce
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00419e1f
lea eax, [ebp - 0x44]
push ebx
push eax
lea ecx, [ebp - 0x14]
push dword [ebp - 0x14]
call fcn.0041ab9e
mov edi, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
call esi
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x30]
push 4
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
call fcn.00419d9a
jmp 0x420932
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.00419d9a
pop edi
pop esi
mov al, 1
pop ebx
leave
ret