Function at 0x426680
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 0x45e550
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x471644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push str.___Enter_InitOutsideInfo___location:1____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4668e4
push 0x87
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x426964
push str.___Enter_InitOutsideInfo___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, 0x98
je 0x426713
push str.___Enter_InitOutsideInfo___location:3____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x426983
push str.___Enter_InitOutsideInfo___location:4____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [ebp - 0x5c]
add edi, 0xa4
mov ecx, 0x26
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00429790
push str.___Enter_InitOutsideInfo___location:5____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.HTLicense.cfg
mov ecx, dword [ebp - 0x5c]
add ecx, 0x603c
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00429e40
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4267dc
push 0x466ae4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00429e40
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4c]
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 - 0x4c]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x4c]
call fcn.0042a380
push 1
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x38], 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
mov edx, 0xfeff
mov word [ebp - 0x28], dx
push 0
push 0x80
push 2
lea eax, [ebp - 0x38]
push eax
push 3
push 0xc0000000
lea ecx, [ebp - 0x44]
call fcn.0042a350
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
push str.___Enter_InitOutsideInfo___location:6____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.___Enter_InitOutsideInfo___location:6.1____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42691c
lea ecx, [ebp - 0x50]
call fcn.0042a4e0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00424a80
add esp, 4
push eax
mov edx, dword [ebp - 0x44]
push edx
push 0x466be0
lea eax, [ebp - 0x50]
push eax
call fcn.0042a320
add esp, 0x10
push 0x69
lea ecx, [ebp - 0x54]
push ecx
call fcn.00429af0
add esp, 8
mov dword [ebp - 0x60], eax
push 0
mov ecx, dword [ebp - 0x60]
call fcn.0042a350
push eax
lea ecx, [ebp - 0x50]
call fcn.0042a350
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x54]
call fcn.0042a380
push 0
call fcn.00448b8c
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0042a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0042a380
mov eax, dword [ebp - 0x58]
jmp 0x426983
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.___Enter_InitOutsideInfo___location:6.2____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x5c]
add ecx, 0xec
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x6040
call fcn.004296f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0042a380
jmp 0x426973
push str.___Enter_InitOutsideInfo___location:7____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x426983
push str.___Enter_InitOutsideInfo___location:8____ShellOutside___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret