Function at 0x411cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x445ba8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45cefc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, 2
mov dword [esp + 0x14], ebp
jne 0x411ddd
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call fcn.00411c40
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
mov dword [esp + 0x24], ebp
jne 0x411d4e
mov ebx, dword [0x464160]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
cmp edi, ebp
jne 0x411d68
call fcn.00401fc0
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebp
je 0x411d97
lea ecx, [esp + 0x34]
push ecx
push edi
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x40], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromResource
mov edx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
jmp 0x411d99
xor esi, esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
add ecx, 0x10
mov dword [esp + 0x18], esi
call fcn.0040f780
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x411ee1
mov edi, dword [esp + 0x34]
cmp edi, ebp
jne 0x411deb
mov edi, dword [0x464160]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebp
jne 0x411e05
xor eax, eax
jmp 0x411ee1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x30], ebx
je 0x411dfe
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x411ed6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jle 0x411ed6
push edi
push 2
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
mov esi, eax
push edx
add ecx, 4
mov dword [esp + 0x30], esi
call fcn.0040f780
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call ebx
push edi
push ebp
push eax
call fcn.004234f0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0xc
push esi
call edi
push esi
call ebx
test eax, eax
je 0x411dfe
lea eax, [esp + 0x34]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x411dfe
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.0040ec50
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x14]
push edx
add ecx, 0x10
mov dword [esp + 0x18], eax
call fcn.0040f780
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call edi
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc