Function at 0x44b8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x49a7e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfa48]
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.0044b230
push 0x4a5e98
push eax
call fcn.0044ac20
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 0x44b95f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44b99a
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 0x44b984
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 0x44b9c4
add ecx, 0xe
push 0x5c
push ecx
call fcn.0047e545
mov ecx, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x44b9c4
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, ebp
jne 0x44b9c9
lea eax, [ecx - 0x10]
jmp 0x44b96a
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
call fcn.0044b7a0
add esi, 0xfffffffa
push esi
push 6
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.0044b230
mov byte [esp + 0x28], 2
test edi, edi
jne 0x44ba06
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 0x44ba29
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44ba8c
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 0x44ba4a
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 0x44ba6b
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 0x44b978
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x44babb
lea ecx, [esp + 0x14]
call fcn.0040d320
lea ecx, [esp + 0x18]
call fcn.0040d320
lea ecx, [esp + 0x30]
call fcn.0040d320
jmp 0x44b984
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.00461746
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.0047e1e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x14]
call fcn.0040d320
lea ecx, [esp + 0x18]
call fcn.0040d320
lea ecx, [esp + 0x30]
call fcn.0040d320
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