Function at 0x42cfe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x503828
push eax
mov al, byte [0x54b798]
mov dword fs:[0], esp
sub esp, 0x1b4
test al, al
push ebp
push esi
push edi
mov edi, ecx
jne 0x42d19a
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CRgn.0
mov eax, dword [esp + 0x1d0]
push str.REGION
push eax
push 0
mov dword [esp + 0x1d4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x42d066
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 1
call fcn.004eaa9e
xor eax, eax
jmp 0x42d26d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x42d098
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 2
call fcn.004eaa9e
xor eax, eax
jmp 0x42d26d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x42d0ca
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 3
call fcn.004eaa9e
xor eax, eax
jmp 0x42d26d
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x42d0f8
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 4
call fcn.004eaa9e
xor eax, eax
jmp 0x42d26d
push eax
push esi
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
push eax
lea ecx, [esp + 0x10]
call fcn.004eaa47
test eax, eax
jne 0x42d133
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 5
call fcn.004eaa9e
xor eax, eax
jmp 0x42d26d
lea ecx, [esp + 0xc]
call fcn.004eaa74
mov ecx, dword [edi + 0x1c]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
test eax, eax
jne 0x42d170
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 6
call fcn.004eaa9e
xor eax, eax
jmp 0x42d26d
lea ecx, [esp + 0xc]
call fcn.004eaa9e
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c8], 0xffffffff
mov dword [esp + 0xc], vtable.CRgn.0
call fcn.00403490
jmp 0x42d268
mov ecx, edi
call fcn.0042d8b0
push 0
lea ecx, [esp + 0x1c]
call fcn.0044ccd0
lea edx, [esp + 0x18]
lea ecx, [edi + 0x87f0]
push edx
mov dword [esp + 0x1cc], 7
call fcn.0044e070
lea ecx, [esp + 0x18]
call fcn.0044e6d0
mov al, 0xff
lea ecx, [esp + 0x18]
mov byte [esp + 0xc], al
mov byte [esp + 0xd], al
mov byte [esp + 0xe], al
mov eax, dword [esp + 0xc]
push eax
call fcn.0045f250
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045f3d0
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
test eax, eax
jne 0x42d24c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c8], 0xffffffff
mov dword [esp + 0x18], 0x50d434
call fcn.0044ccf0
xor eax, eax
jmp 0x42d26d
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c8], 0xffffffff
mov dword [esp + 0x18], 0x50d434
call fcn.0044ccf0
mov eax, 1
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c0
ret 4