Function at 0x4014e0
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x120
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
xor ebx, ebx
push ebx
mov ebp, 0x80
push ebp
push 3
push ebx
push 1
mov edi, 0x80000000
push edi
push 0x403500
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x401608
push 0x24ac
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4015fc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x4015f2
push ebx
push ebx
push dword [0x40322c]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [esp + 0x20]
push eax
push 0x24ab
push dword [esp + 0x2c]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401593
push str._____Cant_get_read_access_to_the_application_loader.
push 0x403480
mov dword [esp + 0x18], 0xfffffffb
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov byte [ecx + eax], bl
lea eax, [esp + 0x2c]
push eax
call fcn.00401448
pop ecx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
push dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jg 0x4015de
push str._____Cant_write_loader_data_stream._Is_the_temporary_Windows_folder_accessible_
push 0x403480
mov dword [esp + 0x18], 0xfffffffa
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401620
push str._____Cant_get_read_access_to_the_application_file.
push 0x403480
mov dword [esp + 0x18], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x40170d
push ebx
push ebp
push 3
push ebx
push ebx
push edi
lea eax, [esp + 0x44]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x4016d5
push edi
call sub.LZ32.dll_LZInit
push 0x3c01
push 2
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x4016c3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4016bc
push 0x403240
call fcn.00401448
pop ecx
mov ebx, eax
push ebx
call sub.LZ32.dll_LZInit
mov ebp, eax
push ebp
push dword [esp + 0x18]
call sub.LZ32.dll_LZCopy
test eax, eax
jg 0x4016a8
push str._____Cant_decompress_loader_data_stream.
push 0x403480
mov dword [esp + 0x18], 0xfffffffd
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call sub.LZ32.dll_LZClose
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x14]
call sub.LZ32.dll_LZClose
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4016ed
push str._____Cant_get_read_access_to_the_application_loader.
push 0x403480
mov dword [esp + 0x18], 0xfffffffc
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x2c]
push 0x403620
push eax
call fcn.00401017
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret