Function at 0x44f780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x49f518
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x34]
push 6
push 0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0
mov dword [eax], 0
call fcn.0044f0d0
push 0x4ab2e4
push eax
call fcn.0044d8c0
mov bl, al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 8
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f7ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44f83a
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x44f824
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], 7
jle 0x44f864
add ecx, 0xe
push 0x5c
push ecx
call fcn.00482ab5
mov ecx, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x44f864
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, ebp
jne 0x44f869
lea eax, [ecx - 0x10]
jmp 0x44f80a
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
call fcn.0044f640
add esi, 0xfffffffa
push esi
push 6
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.0044f0d0
mov byte [esp + 0x28], 2
test edi, edi
jne 0x44f8a6
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44f8c9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44f92c
lea eax, [ebx - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f8ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f90b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44f818
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x44f95b
lea ecx, [esp + 0x14]
call fcn.0040cf00
lea ecx, [esp + 0x18]
call fcn.0040cf00
lea ecx, [esp + 0x30]
call fcn.0040cf00
jmp 0x44f824
mov ebp, dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
call ebp
mov ecx, dword [esp + 0x34]
push eax
mov dword [ecx], eax
call fcn.00465abf
add esp, 4
push esi
push edi
mov ebx, eax
call ebp
mov edx, dword [esp + 0x1c]
push eax
push edx
push ebx
call fcn.00482750
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x14]
call fcn.0040cf00
lea ecx, [esp + 0x18]
call fcn.0040cf00
lea ecx, [esp + 0x30]
call fcn.0040cf00
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret