Function at 0x427a50
Capabilities:
Delete file
Extract resource via kernel32 functions
Move file
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x471644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0x46718c
push 0x89
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
push str.InitOfflineInfo___location:1____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x10], 0
je 0x427d9a
push str.InitOfflineInfo___location:2____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x5efc
je 0x427b58
lea ecx, [ebp - 0x4c]
call fcn.0042a4e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x467278
lea eax, [ebp - 0x4c]
push eax
call fcn.0042a320
add esp, 0xc
push str.___ShellOutside___
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00429e40
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x58]
call fcn.0042a380
push str.InitOfflineInfo___location:2.1____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0042a380
mov eax, dword [ebp - 0x5c]
jmp 0x427db9
push str.InitOfflineInfo___location:2.2____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x5efc
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x13c
push ecx
call fcn.00452300
add esp, 0xc
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00429790
push str.HTOfflineInfo.cfg
mov eax, dword [ebp - 0x6c]
add eax, 0x603c
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00429e40
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x44]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x427c2a
push str..dlt
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00429e40
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x50]
call fcn.0042a350
push eax
lea ecx, [ebp - 0x44]
call fcn.0042a350
push eax
call fcn.00448c24
add esp, 8
push 4
push 0
lea ecx, [ebp - 0x50]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x50]
call fcn.0042a380
push 1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x38], 0xc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov ecx, 0xfeff
mov word [ebp - 0x28], cx
push 0
push 0x80
push 2
lea edx, [ebp - 0x38]
push edx
push 0
push 0xc0000000
lea ecx, [ebp - 0x44]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x427d7f
lea ecx, [ebp - 0x54]
call fcn.0042a4e0
mov byte [ebp - 4], 2
push 0x6a
lea ecx, [ebp - 0x60]
push ecx
call fcn.00429af0
add esp, 8
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424a80
add esp, 4
push eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.0042a350
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.0042a320
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0042a380
push 0x69
lea edx, [ebp - 0x64]
push edx
call fcn.00429af0
add esp, 8
mov dword [ebp - 0x7c], eax
push 0
mov ecx, dword [ebp - 0x7c]
call fcn.0042a350
push eax
lea ecx, [ebp - 0x54]
call fcn.0042a350
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x64]
call fcn.0042a380
push 0
call fcn.00448b8c
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0042a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0042a380
mov eax, dword [ebp - 0x68]
jmp 0x427db9
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0042a380
jmp 0x427da9
push str.InitOfflineInfo___location:3____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x427db9
push str.InitOfflineInfo___location:4____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret