Function at 0x411f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4462c8
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 0x41207d
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call fcn.00411ee0
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
mov dword [esp + 0x24], ebp
jne 0x411fee
mov ebx, dword [0x464140]
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 0x412008
call fcn.0040ef70
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebp
je 0x412037
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 0x412039
xor esi, esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
add ecx, 0x10
mov dword [esp + 0x18], esi
call fcn.0040fa30
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 0x412076
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x412181
mov edi, dword [esp + 0x34]
cmp edi, ebp
jne 0x41208b
mov edi, dword [0x464140]
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 0x4120a5
xor eax, eax
jmp 0x412181
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x30], ebx
je 0x41209e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x412176
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jle 0x412176
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.0040fa30
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call ebx
push edi
push ebp
push eax
call fcn.00423b90
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0xc
push esi
call edi
push esi
call ebx
test eax, eax
je 0x41209e
lea eax, [esp + 0x34]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41209e
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.0040ef20
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x14]
push edx
add ecx, 0x10
mov dword [esp + 0x18], eax
call fcn.0040fa30
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