Function at 0x4c5a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4c5a55
xor eax, eax
jmp 0x4c5c88
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4c5a6f
xor eax, eax
jmp 0x4c5c88
mov dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004305e0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c5a9d
xor eax, eax
jmp 0x4c5c88
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042f4d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0
jmp 0x4c5ace
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x10
jge 0x4c5b9e
mov dword [ebp - 0x30], 0
jmp 0x4c5aea
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jae 0x4c5b99
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + ecx*4]
cmp ecx, dword [eax*8 + 0x55be90]
jne 0x4c5b94
cmp dword [ebp + 0x10], 0
je 0x4c5b2f
mov edx, dword [ebp - 0x30]
cmp dword [edx*8 + 0x55be94], 0x12
je 0x4c5b2d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + eax*4], 0xffffff
jmp 0x4c5b92
mov edx, dword [ebp - 0x30]
mov eax, dword [edx*8 + 0x55be94]
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, eax
shr esi, 0x10
and esi, 0xff
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx*8 + 0x55be94]
push edx
call dword [sym.imp.USER32.dll_GetSysColor]
and eax, 0xffff
sar eax, 8
and eax, 0xff
shl eax, 8
or esi, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax*8 + 0x55be94]
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
and eax, 0xff
shl eax, 0x10
or esi, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov dword [eax + edx*4], esi
jmp 0x4c5b99
jmp 0x4c5ae1
jmp 0x4c5ac5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4c5c63
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x2c]
add edx, 0x28
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cx, word [eax + 0xe]
mov edx, 1
shl edx, cl
mov eax, dword [ebp - 0x34]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x34], ecx
push 0xcc0020
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.GDI32.dll_StretchDIBits]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00431050
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x1c]
pop esi
mov esp, ebp
pop ebp
ret 0xc