Function at 0x44bbd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov byte [ebp - 1], 0
push 2
mov eax, dword [ebp + 0xc]
push eax
push ebx
call sub.KERNEL32.DLL_FindResourceA
mov esi, eax
test eax, eax
je 0x44be4b
push esi
push ebx
call sub.KERNEL32.DLL_LoadResource
push eax
call sub.KERNEL32.DLL_LockResource
mov ebx, eax
push 0x28
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.004bfb94
add esp, 0xc
add ebx, 0x28
cmp word [ebp - 0x32], 8
jne 0x44bdbc
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x44bd95
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44bc42
mov di, word [ebp - 0x20]
jmp 0x44bc46
mov di, 0x100
push 0x400
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
push 0x300
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
push eax
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
test edx, edx
je 0x44bd65
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x44bd65
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44bd65
movzx esi, di
mov eax, esi
shl eax, 2
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.004bfb94
add esp, 0xc
shl esi, 2
add ebx, esi
xor esi, esi
jmp 0x44bcca
mov edx, esi
mov eax, dword [ebp - 8]
shl edx, 2
mov ecx, dword [ebp - 0xc]
add edx, eax
lea eax, [esi + esi*2]
add eax, ecx
call sym.NDA.exe__THyRGB__basg_qqrrx10tagRGBQUAD
inc esi
movzx edx, di
cmp esi, edx
jl 0x44bcb2
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
test edx, edx
jne 0x44bcf1
mov ecx, dword [ebp - 0x3c]
imul ecx, dword [ebp - 0x38]
lea eax, [ecx + ecx*2]
push eax
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0x38]
dec ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x44bd65
mov edx, dword [ebp - 0x3c]
push edx
push ebx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004bfb94
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov edx, eax
add edx, 3
and edx, 0xfffffffc
add ebx, edx
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov edi, dword [edx]
mov edx, dword [ebp - 0x14]
imul edx, eax
lea eax, [edx + edx*2]
add edi, eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x44bd51
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov al, byte [esi]
lea edx, [eax + eax*2]
mov eax, edi
add edx, ecx
call sym.NDA.exe__THyRGB__basg_qqrrx6THyRGB
inc esi
add edi, 3
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
cmp edx, ecx
jl 0x44bd37
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
test eax, eax
jge 0x44bcff
mov edx, dword [ebp - 8]
test edx, edx
je 0x44bd75
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.DLL_GlobalFree
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44bd85
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.DLL_GlobalFree
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x44bd95
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalFree
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x44bda4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x44bdb3
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x38]
mov dword [ecx], eax
mov byte [ebp - 1], 1
jmp 0x44be4b
cmp word [ebp - 0x32], 0x18
jne 0x44be4b
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x44be29
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
test eax, eax
jne 0x44bdee
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x38]
lea ecx, [edx + edx*2]
push ecx
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov esi, dword [ebp - 0x38]
dec esi
test esi, esi
jl 0x44be29
mov eax, dword [ebp - 0x3c]
lea edx, [eax + eax*2]
push edx
push ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, esi
imul ecx, eax
lea eax, [ecx + ecx*2]
add edx, eax
push edx
call fcn.004bfb94
add esp, 0xc
mov eax, dword [ebp - 0x3c]
lea eax, [eax + eax*2]
add eax, 3
and eax, 0xfffffffc
add ebx, eax
dec esi
test esi, esi
jge 0x44bdf6
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x44be38
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x44be47
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x38]
mov dword [ecx], eax
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret