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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e703
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4634b0]
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 edi, edx
mov dword [ebp - 0x90], edi
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0x94], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
movzx ecx, bx
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x413549
push 2
push 0x45ac90
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
call fcn.0040c0f0
sub esp, 8
mov dword [ebp - 4], edi
mov edx, ebx
lea ecx, [ebp - 0x74]
push 0x10
call fcn.0040e050
add esp, 0xc
push eax
mov edx, 0x45aca8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0040e260
add esp, 4
push 0x45ac98
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00406ff0
add esp, 4
push dword [ebp - 0x90]
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00406ff0
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x41348b
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 0x4134a8
push dword [ebp - 0x44]
call fcn.00434302
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 0x4134cd
push dword [ebp - 0x5c]
call fcn.00434302
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 0x4134f5
push dword [ebp - 0x8c]
call fcn.00434302
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 0x41351d
push dword [ebp - 0x74]
call fcn.00434302
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 0x413542
push dword [ebp - 0x2c]
call fcn.00434302
add esp, 4
xor al, al
jmp 0x413600
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x9c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp - 0x94]
mov esi, eax
mov dword [ebp - 0x90], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4135a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x413600
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 - 0x90]
mov esi, eax
push dword [ebp - 0x9c]
push esi
call fcn.00436140
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 - 0x98]
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.00434307
mov esp, ebp
pop ebp
ret