Function at 0x44da21
Capabilities:
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x7a6168]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x10
mov eax, 0x69e84d
call fcn.00640806
mov esi, dword [ebp + 0x24c]
xor ebx, ebx
mov eax, dword [ebp + 0x250]
mov edi, dword [ebp + 0x254]
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x14], 0x104
mov dword [ebp - 0x14], ebx
jbe 0x44da7a
push str.Failed:_Path_longer_than_MAX_PATH_r_n
call fcn.004284da
pop ecx
xor al, al
jmp 0x44dbf8
push 0xa
push 0x2328
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44da9e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
push str.Failed_FindResource_r_n
jmp 0x44da6d
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x44dac9
push str.Failed_Lock_Load_Resource_r_n
call fcn.004284da
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
jmp 0x44da73
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x44dad6
mov eax, dword [esi]
jmp 0x44dad8
mov eax, esi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x44dae8
mov esi, dword [esi]
push str.hta.zip
push esi
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00447aa9
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], ebx
jae 0x44db13
lea eax, [ebp + 0x20]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44db49
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Failed_CreateFile_with_error:__d_r_n
mov dword [edi], eax
call fcn.004284da
pop ecx
jmp 0x44dbed
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push eax
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x44db83
push str.Failed_WriteFile_r_n
call fcn.004284da
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x44dbee
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp dword [ebp - 0x14], eax
je 0x44dba5
push str.Failed_wrote_too_few_bytes._r_n
call fcn.004284da
jmp 0x44dbed
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.00447aa9
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp]
push edx
lea edx, [ebp + 0x1c]
mov byte [ebp - 4], 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
lea ecx, [ebp]
mov bl, al
call fcn.00447b2e
test bl, bl
jne 0x44dbe1
push str.Failed_Unzip_r_n
call fcn.004284da
xor ebx, ebx
jmp 0x44dbed
push str.Success_r_n
call fcn.004284da
mov bl, 1
pop ecx
lea ecx, [ebp + 0x1c]
call fcn.00447b2e
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.006407be
lea esp, [ebp + 0x244]
pop ebp
ret 0xc