Function at 0x10020260
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebx
mov ebx, esp
push 0xffffffffffffffff
push 0x10023eb6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x34
push ebp
push edi
push esi
mov eax, dword [0x1002b134]
xor eax, ebx
push eax
lea eax, [ebx - 0xc]
mov dword fs:[0], eax
mov dword [ebx - 0x10], esp
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebx - 0x18]
call fcn.10003420
mov dword [ebx - 0x2c], 0
mov dword [ebx - 0x1c], 0
mov dword [ebx - 0x28], 0
mov dword [ebx - 0x24], 0
mov dword [ebx - 0x14], 0
mov ecx, dword [ebx + 0x10]
push ecx
push str.HTML
call fcn.1000c8d0
add esp, 8
test eax, eax
jne 0x100202e6
push 0x17
movzx edx, word [ebx + 0xc]
push edx
mov eax, dword [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebx - 0x14], eax
jmp 0x100202fc
mov ecx, dword [ebx + 0x10]
push ecx
movzx edx, word [ebx + 0xc]
push edx
mov eax, dword [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebx - 0x14], eax
cmp dword [ebx - 0x14], 0
jne 0x10020319
mov dword [ebx - 0x34], 0
lea ecx, [ebx - 0x18]
call fcn.10005cb0
mov eax, dword [ebx - 0x34]
jmp 0x10020477
mov ecx, dword [ebx - 0x14]
push ecx
mov edx, dword [ebx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebx - 0x20], eax
cmp dword [ebx - 0x20], 0
jne 0x10020351
mov eax, dword [ebx - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebx - 0x18]
mov dword [ebx - 0x38], 0
call fcn.10005cb0
mov eax, dword [ebx - 0x38]
jmp 0x10020477
mov ecx, dword [ebx - 0x14]
push ecx
mov edx, dword [ebx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebx - 0x1c], eax
cmp dword [ebx - 0x1c], 0
jne 0x10020393
mov eax, dword [ebx - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebx - 0x18]
mov dword [ebx - 0x3c], 0
call fcn.10005cb0
mov eax, dword [ebx - 0x3c]
jmp 0x10020477
mov edx, dword [ebx - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebx - 0x28], eax
cmp dword [ebx - 0x28], 0
jne 0x100203d1
mov eax, dword [ebx - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebx - 0x18]
mov dword [ebx - 0x40], 0
call fcn.10005cb0
mov eax, dword [ebx - 0x40]
jmp 0x10020477
mov dword [ebx - 4], 0
push 0
lea ecx, [ebx - 0x18]
push 0x80
push 2
push 0
push 1
push 0xc0000000
call fcn.100061c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx - 0x24], eax
cmp dword [ebx - 0x24], 0xffffffff
je 0x1002043c
lea edi, [ebx - 0x30]
mov dword [ebx - 0x30], 0
push 0
push edi
mov eax, dword [ebx - 0x1c]
push eax
mov ecx, dword [ebx - 0x28]
push ecx
mov edx, dword [ebx - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1002042c
mov dword [ebx - 0x2c], 1
cmp dword [ebx - 0x24], 0
je 0x1002043c
mov eax, dword [ebx - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002044b
mov dword [ebx - 4], 0xffffffff
mov ecx, dword [ebx - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebx - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx - 0x2c]
mov dword [ebx - 0x44], eax
lea ecx, [ebx - 0x18]
call fcn.10005cb0
mov eax, dword [ebx - 0x44]
mov edi, dword [ebx - 0xc]
mov dword fs:[0], edi
pop ecx
pop esi
pop edi
pop ebp
mov esp, ebx
pop ebx
ret