Function at 0x10019820
Capabilities:
Create thread
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc06b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov dword [ebp - 0x12c], ecx
push str.DRIVERZ
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
sub eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
push 0x104
mov edx, dword [ebp - 0x12c]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.DriversEAF
push 0x104
mov eax, dword [ebp - 0x12c]
add eax, 8
push eax
call fcn.10001ec0
mov ecx, dword [ebp + 8]
push ecx
push str.EAF_08x.sys
push 0x64
lea edx, [ebp - 0xec]
push edx
call fcn.10003de0
add esp, 0x10
lea eax, [ebp - 0xec]
push eax
push 0x104
mov ecx, dword [ebp - 0x12c]
add ecx, 8
push ecx
call fcn.10001ec0
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp - 0x12c]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.1009de20
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1009ead1
add esp, 4
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.1009de50
add esp, 0x10
mov dword [ebp - 0xf4], eax
push 0
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xf0], 4
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x12c]
movzx edx, word [ecx + eax*2 + 8]
cmp edx, 0x5c
je 0x100199d5
mov eax, dword [ebp - 0xf0]
add eax, 1
mov dword [ebp - 0xf0], eax
jmp 0x100199ae
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10c]
call fcn.10003e90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.10003f50
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.10004050
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x12c]
lea ecx, [eax + edx*2 + 0xa]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x10c]
call fcn.10004120
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10c]
call fcn.10003fe0
push 0
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
push 0x100197a0
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 0x115], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.10003f20
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc