Function at 0x41f6bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x40
mov eax, 0x533d81
call fcn.00498d54
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x20], esi
xor ecx, ecx
mov eax, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
push 0x55c1d8
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41f712
xor eax, eax
mov dword [esi], eax
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 4], 1
je 0x41f8a0
jmp 0x41f89b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x41f733
xor eax, eax
mov dword [esi], eax
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 4], 2
jmp 0x41f707
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x41f75b
xor eax, eax
mov dword [esi], eax
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 4], 3
jmp 0x41f707
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x14]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
mov dword [ebp - 0x38], ebx
call fcn.0041f969
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
setne al
test al, al
je 0x41f863
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
push ecx
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push eax
mov dword [ebp - 0x30], ebx
call fcn.0041f9c9
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
test ebx, ebx
mov byte [ebp - 4], 6
setne al
test al, al
je 0x41f84c
push edi
push dword [ebp - 0x1c]
push ebx
call fcn.004d2190
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41f84c
mov ebx, dword [ebp - 0x14]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x41f833
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push ebx
mov dword [edi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
jmp 0x41f835
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041f8ee
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [ebp - 0x28]
jmp 0x41f84f
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41f866
mov ecx, eax
call fcn.0041f5ec
jmp 0x41f866
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
and dword [ebp - 0x2c], 0
mov dword [esi], eax
and dword [esi + 4], 0
mov edi, dword [esi + 4]
mov dword [ebp - 0x28], edi
mov dword [esi + 4], ebx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41f88e
mov ecx, eax
call fcn.0041f5ec
mov dword [ebp - 4], 0xa
test edi, edi
je 0x41f8a0
mov ecx, edi
call fcn.00403526
mov eax, esi
call fcn.00498d1d
ret