Function at 0x422ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 8], eax
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x4232b3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4232a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4232a7
movzx ecx, word [esi + 0xe]
cmp ecx, 8
jbe 0x423060
cmp dword [esi + 0x10], ebx
jne 0x423060
mov eax, dword [esi]
mov dword [ebp - 0xc4], ebx
jmp 0x423076
mov eax, dword [esi]
mov edx, 1
shl edx, cl
mov dword [ebp - 0xc4], 1
lea eax, [eax + edx*4]
push eax
push 0
push dword [0x4b2a38]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0xcc], edi
test edi, edi
je 0x4232a7
mov eax, dword [ebp - 0xc0]
push eax
push esi
push edi
lea ecx, [eax + esi]
mov dword [ebp - 0xd4], ecx
call fcn.0047e060
add esp, 0xc
cmp dword [ebp - 0xc4], ebx
je 0x423198
mov eax, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
add eax, edi
mov dword [ebp - 0xc8], eax
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x4a6ee4]
push dword [esi + 0x4a6ee8]
mov dword [ebp + esi - 0x38], eax
call ebx
mov dword [ebp + esi - 0x34], eax
add esi, 8
cmp esi, 0x30
jb 0x4230e0
xor esi, esi
mov ecx, dword [ebp + esi - 0x34]
movzx edx, cl
shl edx, 8
movzx eax, cx
shr eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
mov ecx, dword [ebp + esi - 0x38]
or edx, eax
mov dword [ebp + esi - 0xb8], edx
movzx edx, cl
shl edx, 8
movzx eax, cx
shr eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [ebp + esi - 0xbc], edx
add esi, 8
cmp esi, 0x30
jl 0x423100
mov ebx, dword [ebp - 0xc8]
xor esi, esi
nop dword [eax + eax]
mov edx, dword [ebx + esi*4]
xor eax, eax
and edx, 0xffffff
nop dword [eax + eax]
lea ecx, [eax*8]
cmp edx, dword [ebp + ecx - 0xbc]
je 0x423188
inc eax
cmp eax, 6
jl 0x423170
jmp 0x423192
mov eax, dword [ebp + ecx - 0xb8]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, 0x10
jl 0x423160
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0xd8], esi
test esi, esi
je 0x423298
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x42328f
mov eax, dword [edi + 4]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xd0], eax
cmp eax, 3
je 0x4231e9
mov dword [edi + 0x10], ebx
push 0
push 0
lea eax, [ebp - 0xe0]
push eax
push 0
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x10], eax
test ebx, ebx
jne 0x423226
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x423283
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push dword [ebp - 0xc0]
call edi
mov ecx, dword [ebp - 0xc4]
mov esi, eax
mov eax, dword [ebp - 0xc8]
push 0xcc0020
push 0
push dword [ebp - 0xcc]
push dword [ebp - 0xd4]
push ecx
push eax
push 0
push 0
push ecx
push eax
push 0
push 0
push dword [ebp - 0xc0]
call dword [sym.imp.GDI32.dll_StretchDIBits]
push esi
push dword [ebp - 0xc0]
call edi
mov esi, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xcc]
push dword [ebp - 0xc0]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
push 0
push dword [0x4b2a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret 0x14