Function at 0x448b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46b048
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x482410]
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.00448480
push 0x4711d8
push eax
call fcn.00447e70
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 0x448baf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x448bea
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 0x448bd4
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 0x448c14
add ecx, 0xe
push 0x5c
push ecx
call fcn.004502f5
mov ecx, dword [esp + 0x38]
add esp, 8
test eax, eax
je 0x448c14
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, ebp
jne 0x448c19
lea eax, [ecx - 0x10]
jmp 0x448bba
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
call fcn.004489f0
add esi, 0xfffffffa
push esi
push 6
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00448480
mov byte [esp + 0x28], 2
test edi, edi
jne 0x448c56
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 0x448c79
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x448cdc
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 0x448c9a
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 0x448cbb
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 0x448bc8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x448d0b
lea ecx, [esp + 0x14]
call fcn.0040c840
lea ecx, [esp + 0x18]
call fcn.0040c840
lea ecx, [esp + 0x30]
call fcn.0040c840
jmp 0x448bd4
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.0044b156
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.0044ff90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x14]
call fcn.0040c840
lea ecx, [esp + 0x18]
call fcn.0040c840
lea ecx, [esp + 0x30]
call fcn.0040c840
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