Function at 0x4032f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405690
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x409008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x8c], vtable.ATL::CImage.0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov word [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.004014c0
mov esi, eax
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x8c], 0x40660c
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], eax
call fcn.00401210
mov ecx, eax
test ecx, ecx
je 0x403753
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0x406604
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
test eax, 0xffff0000
jne 0x4033f1
movzx eax, ax
push eax
call fcn.00403c00
jmp 0x4033fd
push 3
push 0x406604
call fcn.00403f20
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [ebp - 0x40]
mov edi, eax
push 0x82
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4034b0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4034a9
lea eax, [ebp - 0x44]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x44]
push 0
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x44]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x98], xmm0
push dword [ebp - 0x94]
mov ecx, dword [eax]
push dword [ebp - 0x98]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x54]
push edx
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4034a0
push dword [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.004017a0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4034cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
push 0
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x40]
mov esi, eax
push edi
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x4035d9
lea ecx, [ebp - 0x8c]
call fcn.00401710
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xffffffff
jne 0x40358a
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xffffffff
jne 0x4035b1
cmp byte [ebp - 0x6f], 0
je 0x403567
mov dword [ebp - 0x44], 0x1ff0000
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x40]
push edi
push 0
push 0
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
jmp 0x4035ce
push 0xcc0020
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x40]
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4035ce
lea eax, [ebp - 0x44]
push eax
push 1
push ecx
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
mov eax, dword [ebp - 0x44]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp - 0x42]
shl ecx, 8
or ecx, eax
push ecx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x40]
push edi
push 0
push 0
push esi
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
lea ecx, [ebp - 0x8c]
call fcn.00401d20
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
push 1
push 0
push 0
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.USER32.dll_MonitorFromPoint]
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
push ecx
movups xmmword [ebp - 0x3c], xmm0
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x28
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [ebp - 0x20]
sub eax, edi
mov edi, dword [ebp - 0x58]
sub eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x24]
cdq
sub eax, edx
push 4
sar eax, 1
add eax, dword [ebp - 0x24]
push 0
push 0
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xb4]
push eax
push esi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push eax
push edi
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x94]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], vtable.ATL::CImage.0
test eax, eax
je 0x4036ee
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
push eax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov word [ebp - 0x70], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.004014c0
mov esi, eax
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x1c], 0xffffffff
jne 0x40372a
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
test eax, eax
je 0x403719
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [esi], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call esi
jmp 0x403730
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404342
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80004005
call fcn.004010e0
int3