Function at 0x47be80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47c0e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffeb
push ebx
call sub.user32.dll_GetWindowLongA
mov edx, dword [eax*4 + 0x5b6cd4]
lea eax, [ebp - 0x444]
call fcn.00403e50
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x10]
mov edx, 0x47c100
call fcn.00403f64
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0x10]
call fcn.004040dc
mov edi, eax
push edi
push esi
call sub.user32.dll_LoadImageA
mov ebx, eax
test ebx, ebx
je 0x47bf25
mov byte [ebp - 5], 1
push 3
push 0
push 0
push 0
push 0
push ebx
push 5
push 5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_DrawIconEx
push ebx
call sub.user32.dll_DestroyIcon
jmp 0x47c0c4
mov byte [ebp - 5], 0
push 2
push edi
push esi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x47c0c4
push ebx
push esi
call sub.kernel32.dll_SizeofResource
cmp eax, 0x428
jne 0x47c0c4
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x47c0c4
push ebx
call sub.kernel32.dll_LockResource
mov esi, eax
lea edx, [ebp - 0x40]
mov eax, esi
mov ecx, 0x28
call fcn.0040282c
add esi, 0x28
lea edx, [ebp - 0x440]
mov eax, esi
mov ecx, 0x400
call fcn.0040282c
mov eax, ebx
call fcn.00407964
push ebx
call sub.kernel32.dll_FreeResource
mov eax, dword [ebp - 4]
and eax, 0xff
shl eax, 0x10
mov edx, dword [ebp - 4]
and edx, 0xff00
add eax, edx
mov edx, dword [ebp - 4]
and edx, 0xff0000
shr edx, 0x10
add eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0x440]
mov ecx, dword [eax]
mov edx, ecx
shr edx, 0x18
inc edx
mov ebx, pe_nt_image_headers32
sub ebx, edx
mov esi, dword [ebp - 4]
and esi, 0xff00ff
imul ebx, esi
mov esi, ecx
and esi, 0xff00ff
imul esi, edx
add ebx, esi
shr ebx, 8
and ebx, 0xff00ff
mov esi, pe_nt_image_headers32
sub esi, edx
mov edi, dword [ebp - 4]
and edi, 0xff00
imul esi, edi
and ecx, 0xff00
imul ecx, edx
add esi, ecx
shr esi, 8
and esi, 0xff00
add ebx, esi
mov dword [eax], ebx
add eax, 4
dec dword [ebp - 0xc]
jne 0x47bfcc
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
test esi, esi
je 0x47c0c4
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push esi
call sub.gdi32.dll_CreateDIBSection
mov ebx, eax
test ebx, ebx
je 0x47c0be
cmp dword [ebp - 0x14], 0
je 0x47c0be
call sub.gdi32.dll_GdiFlush
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x440]
mov ecx, 0x400
call fcn.0040282c
call sub.gdi32.dll_GdiFlush
push ebx
push esi
call sub.gdi32.dll_SelectObject
mov edi, eax
push 0xcc0020
push 0
push 0
push esi
push 0x10
push 0x10
push 5
push 5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
push eax
call sub.gdi32.dll_BitBlt
push edi
push esi
call sub.gdi32.dll_SelectObject
push ebx
call sub.gdi32.dll_DeleteObject
mov byte [ebp - 5], 1
push esi
call sub.gdi32.dll_DeleteDC
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c0ec
lea eax, [ebp - 0x444]
call fcn.00403c9c
lea eax, [ebp - 0x10]
call fcn.00403c9c
ret