Function at 0x401250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x436074]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x432364
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push 0x81
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push str.Kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.LoadResource
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov esi, eax
mov dword [esp + 0x18], 0
call fcn.0040c854
add esp, 4
mov ebx, eax
push edi
push esi
push ebx
call fcn.0040e6d0
add esp, 0xc
mov edx, edi
shr edx, 1
push edx
lea ecx, [edx + esi]
push ecx
lea eax, [edx + ebx]
push eax
call fcn.0040e6d0
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
mov edx, edi
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401080
add esp, 8
test al, al
je 0x4014ac
mov esi, dword [esp + 0x14]
sub esp, 0x18
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.004084f0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x40149a
xor eax, eax
mov dword [esp + 0x68], 7
mov word [esp + 0x54], ax
lea eax, [esp + 0x54]
push eax
push 7
mov dword [esp + 0x6c], 0
call fcn.00405630
add esp, 8
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x54]
push eax
call fcn.00402ba0
xor ecx, ecx
mov dword [esp + 0x50], 7
push 0xffffffffffffffff
push ecx
mov word [esp + 0x44], cx
lea ecx, [esp + 0x44]
push eax
mov dword [esp + 0x58], 0
call fcn.004015c0
mov eax, dword [esp + 0x80]
cmp eax, 8
jb 0x4013ab
inc eax
lea ecx, [esp + 0x6c]
push eax
push dword [esp + 0x70]
call fcn.004016e0
xor eax, eax
mov dword [esp + 0x38], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x5c]
mov dword [esp + 0x3c], 0
push eax
call fcn.004015c0
mov ecx, edi
call fcn.00408790
cmp dword [esp + 0x38], 8
lea edx, [esp + 0x24]
lea ecx, [esp + 0x3c]
cmovae edx, dword [esp + 0x24]
cmp dword [esp + 0x50], 8
push edx
cmovae ecx, dword [esp + 0x40]
push ecx
push dword [ebp + 0x14]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x34]
call eax
mov ecx, dword [esp + 0x50]
add esp, 0x18
mov esi, eax
cmp ecx, 8
jb 0x401426
inc ecx
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.004016e0
xor eax, eax
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], 0
cmp eax, 8
jb 0x401455
inc eax
lea ecx, [esp + 0x3c]
push eax
push dword [esp + 0x40]
call fcn.004016e0
xor eax, eax
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], 0
cmp eax, 8
jb 0x401484
inc eax
lea ecx, [esp + 0x54]
push eax
push dword [esp + 0x58]
call fcn.004016e0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0040c806
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.0040c817
add esp, 4
push ebx
call fcn.0040c817
add esp, 4
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040c806
mov esp, ebp
pop ebp
ret 0x10