Function at 0x40b3a0
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d53
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x45a5d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x453520
mov esi, eax
push 0xa7
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40b53e
push 2
push 0x45290c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
call fcn.00403d10
sub esp, 0xc
mov dword [ebp - 4], edi
mov edx, 0xa7
lea ecx, [ebp - 0x74]
call fcn.00406a40
add esp, 0xc
push eax
mov edx, 0x452924
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00406c40
add esp, 4
push 0x452914
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00401470
add esp, 4
push 0x453520
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401470
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x40b480
mov eax, dword [eax]
push 0
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x30], 8
jb 0x40b49d
push dword [ebp - 0x44]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40b4c2
push dword [ebp - 0x5c]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x40b4ea
push dword [ebp - 0x8c]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x78], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
jb 0x40b512
push dword [ebp - 0x74]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x40b537
push dword [ebp - 0x2c]
call fcn.0042cfae
add esp, 4
xor al, al
jmp 0x40b5f0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0x94], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x90], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov esi, eax
push ebx
mov dword [ebp - 0x98], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b597
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x40b5f0
push 0
push esi
push 0
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
mov edi, eax
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp - 0x98]
mov esi, eax
push dword [ebp - 0x90]
push esi
call fcn.0042eac0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret