Function at 0x439440
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x914
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x920], ecx
lea ecx, [ebp - 0x86c]
call fcn.00411d30
mov dword [ebp - 4], 0
mov dword [ebp - 0x42c], 0x200
mov dword [ebp - 0x1c], 0
push str.EST_PACK
push 0x84
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0x439500
cmp dword [ebp + 0x10], 0
je 0x4394d9
cmp dword [ebp + 0xc], 0
je 0x4394d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CEstArchieve::DecodeResource_FindResource_Fail__Error:__d.
mov ecx, dword [ebp + 0xc]
push ecx
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x884], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x884]
jmp 0x4398ca
mov edx, dword [ebp - 0x834]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x870], eax
cmp dword [ebp - 0x870], 0
jne 0x439569
cmp dword [ebp + 0x10], 0
je 0x439542
cmp dword [ebp + 0xc], 0
je 0x439542
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CEstArchieve::DecodeResource_LoadResource_Fail__Error:__d.
mov ecx, dword [ebp + 0xc]
push ecx
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x888], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x888]
jmp 0x4398ca
mov edx, dword [ebp - 0x870]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4395c8
cmp dword [ebp + 0x10], 0
je 0x4395a1
cmp dword [ebp + 0xc], 0
je 0x4395a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CEstArchieve::DecodeResource_LockResource_Fail__Error:__d.
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x88c], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x88c]
jmp 0x4398ca
mov ecx, dword [ebp - 0x834]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x87c], eax
mov edx, dword [ebp - 0x87c]
cmp edx, dword [ebp - 0x42c]
ja 0x439610
cmp dword [ebp - 0x87c], 0
jne 0x439659
cmp dword [ebp + 0x10], 0
je 0x439632
cmp dword [ebp + 0xc], 0
je 0x439632
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CEstArchieve::DecodeResource_GetTempPath_Fail__Error:__d.
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x890], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x890]
jmp 0x4398ca
lea ecx, [ebp - 0x82c]
push ecx
push 0
push 0x4cfb1c
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4396cc
cmp dword [ebp + 0x10], 0
je 0x4396a5
cmp dword [ebp + 0xc], 0
je 0x4396a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CEstArchieve::DecodeResource_GetTempFileName_Fail__Error:__d.
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x894], 5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x894]
jmp 0x4398ca
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x82c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x874], eax
cmp dword [ebp - 0x874], 0xffffffff
jne 0x43974a
cmp dword [ebp + 0x10], 0
je 0x439723
cmp dword [ebp + 0xc], 0
je 0x439723
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x82c]
push edx
push str.CEstArchieve::DecodeResource_Create_File_Fail__File:__s__Error:__d.
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
add esp, 0x10
mov dword [ebp - 0x898], 6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x898]
jmp 0x4398ca
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4397c1
cmp dword [ebp + 0x10], 0
je 0x43979a
cmp dword [ebp + 0xc], 0
je 0x43979a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x82c]
push edx
push str.CEstArchieve::DecodeResource_Write_File_Fail__File:__s__Error:__d.
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
add esp, 0x10
mov dword [ebp - 0x89c], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x89c]
jmp 0x4398ca
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x880], 0
jmp 0x4397f6
mov edx, dword [ebp - 0x880]
add edx, 1
mov dword [ebp - 0x880], edx
cmp dword [ebp - 0x880], 0xa
jge 0x439851
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x900], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x900]
push ecx
lea edx, [ebp - 0x82c]
push edx
lea ecx, [ebp - 0x86c]
call fcn.00413b70
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x878], 0
je 0x43983c
jmp 0x439851
mov eax, dword [ebp - 0x880]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4397e7
lea ecx, [ebp - 0x82c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43989c
cmp dword [ebp + 0x10], 0
je 0x43988b
cmp dword [ebp + 0xc], 0
je 0x43988b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x82c]
push edx
push str.CEstArchieve::DecodeResource_Delete_File_Fail__File:__s__Error:__d.
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 0x10]
add esp, 0x10
push 4
push 0
lea ecx, [ebp - 0x82c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x878]
neg edx
sbb edx, edx
and edx, 0xfffffff7
add edx, 9
mov dword [ebp - 0x8a0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.0043c0b0
mov eax, dword [ebp - 0x8a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 0xc