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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4423d0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0x6a
push 0x449e58
movzx eax, word [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x402954
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov eax, dword [ebp - 0x68]
jmp 0x402ae2
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402989
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov eax, dword [ebp - 0x6c]
jmp 0x402ae2
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4029be
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov eax, dword [ebp - 0x70]
jmp 0x402ae2
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [sym.imp.KERNEL32.dll_LockResource], 0
jne 0x4029f2
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov eax, dword [ebp - 0x74]
jmp 0x402ae2
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040a240
mov byte [ebp - 4], 1
mov edx, dword [0x44ce20]
push edx
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.0040a450
push eax
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040a470
push 0
lea ecx, [ebp - 0x60]
call fcn.0040a370
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x3c]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
push 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402aa1
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x60]
call fcn.0040a2d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov eax, dword [ebp - 0x78]
jmp 0x402ae2
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x60]
call fcn.0040a2d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret 0x20