Function at 0x44de00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a60a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xe
push esi
push ebx
call ebp
test eax, eax
je 0x44dedc
cmp dword [esp + 0x48], 0
je 0x44dedc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44dffc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x44dffc
movzx edi, word [eax + 4]
sub edi, 1
js 0x44dffc
lea ecx, [edi*8]
sub ecx, edi
lea esi, [eax + ecx*2 + 7]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
movzx edx, byte [esi - 1]
cmp edx, ecx
jne 0x44dec3
movzx edx, byte [esi]
cmp edx, eax
jne 0x44dec3
push 0
push eax
movzx eax, word [esi + 0xb]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ebx
call fcn.0044de00
test eax, eax
jne 0x44ded2
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
dec edi
sub esi, 0xe
test edi, edi
jge 0x44de95
xor eax, eax
jmp 0x44e02f
mov eax, 1
jmp 0x44e02f
push 3
push esi
push ebx
call ebp
mov esi, eax
test esi, esi
je 0x44dffc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44dffc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x44dffc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp word [ebp + 0xe], 0x20
jne 0x44e000
lea ecx, [esp + 0x18]
call fcn.0040d22d
push 0
mov dword [esp + 0x34], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d831
push 0x34
call fcn.0042584e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44dfeb
mov ecx, 0xa
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
cdq
sub eax, edx
sar eax, 1
imul ecx, eax
push 0
push 0
lea edx, [esp + 0x44]
push edx
add ecx, ecx
add ecx, ecx
push 0
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], ecx
mov eax, dword [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44dfe2
test esi, esi
je 0x44dfe2
mov ecx, dword [ebx + 0x14]
push ecx
add ebp, 0x28
push ebp
push eax
call fcn.00441060
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
call fcn.0044ddb0
push ebx
call fcn.00425918
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040d8b0
mov edi, dword [esp + 0x14]
jmp 0x44e023
push ebx
call fcn.00425918
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040d8b0
xor eax, eax
jmp 0x44e02f
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0
push edx
push ecx
push 0x30000
push 1
push eax
push ebp
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push eax
mov ecx, edi
call fcn.0044dd70
mov ecx, edi
call fcn.0044c0c0
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14