Function at 0xb27a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push esi
push 0x1819c8
mov ebx, ecx
movq qword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0xb27f7
push str.failed_to_get_kernel32.dll_module
push 0x17bec4
push 0x19
jmp 0xb2813
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0xb285a
push str.failed_to_get_system_information
push 0x17bec4
push 0x1e
push str.fr_mem_win_sys
push str.fr_memory_win32.c
call fcn.000c08e0
add esp, 0x14
test eax, eax
je 0xb2860
push str.failed_to_get_system_architecture_information
push 0x17bec4
push 0x92
push str.fr_mem_win_extract
push str.fr_memory_win32.c
call fcn.000c0810
add esp, 0x14
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
push ecx
call eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.000b24f0
test eax, eax
jne 0xb2829
movzx eax, word [ebp - 0x28]
test eax, eax
je 0xb28dd
cmp eax, 9
je 0xb28d4
push eax
push dword [ebp - 0x38]
push str.mnemosyne_is_not_supported_on__s___u_
push 0x9c
push str.fr_mem_win_extract
push str.fr_memory_win32.c
call fcn.000c0810
add esp, 0x18
test eax, eax
jne 0xb284a
movzx eax, word [ebp - 0x28]
push eax
push dword [ebp - 0x38]
push str.mnemosyne_is_not_found_for__s___u_
push 0xa4
push str.fr_mem_win_extract
push str.fr_memory_win32.c
call fcn.000c08e0
add esp, 0x18
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
push str.driver
push 0x77
jmp 0xb28e4
push str.driver
push 0x76
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0xb28a0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0xb28a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x48], eax
test eax, eax
je 0xb28a0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0xb292f
push dword [ebp - 0x38]
push str.mnemosyne_driver_for__s_is_zero_bytes
push 0xaa
jmp 0xb2838
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], str.Mnemosyne.sys
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0xd
call fcn.000b7270
test eax, eax
je 0xb295d
push str.failed_to_build_Mnemosyne_path
push 0x17bec4
push 0xb0
jmp 0xb2979
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.000b2570
test eax, eax
je 0xb29b3
push dword [ebp - 0x30]
push str.failed_to_write_Mnemosyne_file_to__s
push 0xb2
push str.fr_mem_win_extract
push str.fr_memory_win32.c
call fcn.000c0810
mov esi, eax
add esp, 0x14
test esi, esi
je 0xb29a1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0xb29a1
push eax
call fcn.00158d47
add esp, 4
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret