Function at 0x419ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fdfd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47d144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea esi, [ecx + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x41a03e
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x47f1a4
push 0x47f1c4
push 0
push edi
mov dword [ebp - 4], 0
call fcn.00442326
add esp, 0x14
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x41a06a
xor bl, bl
jmp 0x41a2a7
push 0x14
call fcn.00428263
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
push edi
mov dword [edi], vtable.eset::ResourceStream.0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00419b10
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41a28e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41a28e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi + 8], eax
test eax, eax
je 0x41a28e
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x41a0f4
mov dword [edi + 8], eax
jmp 0x41a28e
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x41a28e
lea eax, [ebp - 0x28]
mov dword [ebx], vtable.Gdiplus::Bitmap.0
push eax
push edi
mov dword [ebp - 0x28], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x24], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x41a145
mov dword [ebx + 8], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x41a160
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 8], 0
test eax, eax
jne 0x41a27c
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
test eax, eax
je 0x41a186
mov dword [ebx + 8], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
mov eax, dword [ebp - 0x28]
push 0
push dword [ebp - 0x24]
push 0
push eax
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
push 8
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x41a273
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, edi
mov dword [edi], eax
call fcn.00419820
mov ecx, ebx
call fcn.004198f0
mov ecx, dword [ebp - 0x2c]
mov ebx, eax
call fcn.004198f0
mov ecx, dword [ebp - 0x2c]
mov edi, eax
call fcn.004198f0
movzx ecx, byte [ebp + 0x18]
push 0
push 0
push 0
push 2
push ebx
mov ebx, dword [ebp - 0x2c]
push edi
mov edi, dword [ebp - 0x34]
push 0
imul eax, ecx
push eax
mov eax, dword [ebp - 0x28]
push eax
push eax
push 0
push 0
push dword [ebx + 4]
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectRectI]
test eax, eax
je 0x41a22c
mov dword [edi + 4], eax
push dword [edi]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push edi
call dword [sym.imp.gdiplus.dll_GdipFree]
mov eax, dword [ebx]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x4623b8]
mov ecx, ebx
call edi
lea edx, [ebp - 0x20]
call fcn.00419e60
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push 0
push eax
push dword [ebp - 0x38]
push edi
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
push edi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov bl, 1
jmp 0x41a290
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov eax, dword [ebx]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x4623b8]
mov ecx, ebx
call edi
xor bl, bl
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
push ecx
mov eax, dword [ecx]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x4623b8]
call edi
test esi, esi
je 0x41a2b2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004281b1
mov esp, ebp
pop ebp
ret 0x14