Function at 0x448d92
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 [0x767e58]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x10
mov eax, 0x670368
call fcn.00629b56
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 0x448deb
push str.Failed:_Path_longer_than_MAX_PATH_r_n
call fcn.00423b53
pop ecx
xor al, al
jmp 0x448f69
push 0xa
push 0x2328
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x448e0f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
push str.Failed_FindResource_r_n
jmp 0x448dde
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 0x448e3a
push str.Failed_Lock_Load_Resource_r_n
call fcn.00423b53
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
jmp 0x448de4
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x448e47
mov eax, dword [esi]
jmp 0x448e49
mov eax, esi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x448e59
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.00442ea9
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], ebx
jae 0x448e84
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 0x448eba
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Failed_CreateFile_with_error:__d_r_n
mov dword [edi], eax
call fcn.00423b53
pop ecx
jmp 0x448f5e
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 0x448ef4
push str.Failed_WriteFile_r_n
call fcn.00423b53
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x448f5f
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 0x448f16
push str.Failed_wrote_too_few_bytes._r_n
call fcn.00423b53
jmp 0x448f5e
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.00442ea9
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.00442f2e
test bl, bl
jne 0x448f52
push str.Failed_Unzip_r_n
call fcn.00423b53
xor ebx, ebx
jmp 0x448f5e
push str.Success_r_n
call fcn.00423b53
mov bl, 1
pop ecx
lea ecx, [ebp + 0x1c]
call fcn.00442f2e
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.00629b0e
lea esp, [ebp + 0x244]
pop ebp
ret 0xc