Function at 0x48d050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0xd7064
call fcn.00532230
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x547570]
push ebp
push esi
mov esi, dword [0x55f48c]
mov dword [esp + 0x6b824], eax
mov dword [esp + 0x6b828], eax
mov dword [esp + 0xd7054], eax
mov dword [esp + 0xd7058], eax
mov eax, dword [esp + 0xd7078]
push edi
push 0x54d500
xor ebx, ebx
mov ecx, 0x5426c8
lea edx, [esp + 0x6b85c]
push eax
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6b840], ebx
mov dword [esp + 0x6b844], ebx
mov dword [esp + 0x6b854], ebx
mov dword [esp + 0x6b858], ebx
mov dword [esp + 0x6b85c], ebx
mov dword [esp + 0x6b860], edx
mov dword [esp + 0x6b850], ecx
mov dword [esp + 0xd7070], ebx
mov dword [esp + 0xd7074], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
push edi
push esi
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov esi, ebp
mov edx, ecx
lea edi, [esp + 0x6b858]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x6b850], eax
mov eax, dword [0x54d15c]
push eax
mov dword [esp + 0x24], 0x6b800
call fcn.00487110
mov ecx, dword [0x54d158]
push ebx
lea edx, [esp + 0x6b848]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00488cb0
call fcn.004870f0
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x18]
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
sub eax, ecx
lea eax, [eax + edx - 0x14]
lea eax, [esp + eax + 0x14]
mov byte [eax + 0x14], bl
mov byte [eax + 0x15], bl
lea eax, [esp + 0x2c]
test eax, eax
je 0x48d1aa
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [esp + 0xd7078]
lea edx, [esp + 0x2c]
push edx
push eax
mov ecx, ebp
call fcn.00405870
mov esi, dword [ebp]
cmp dword [esi - 0xc], 1
jle 0x48d1f5
mov ecx, ebp
call fcn.004124c0
mov eax, dword [esi - 8]
mov ecx, ebp
push eax
call fcn.00405530
test eax, eax
je 0x48d1f5
mov ecx, dword [esi - 8]
mov edi, dword [ebp]
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov word [edx + eax*2], bx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0xd705c]
mov edx, dword [0x547574]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48d24e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x48d24e
mov edx, dword [esp + 0xd705c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0xd7058]
call fcn.00405700
lea ecx, [esp + 0x6b82c]
call fcn.00405700
lea ecx, [esp + 0x6b828]
call fcn.00405700
mov eax, dword [esp + 0xd707c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48d299
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x48d299
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd7064
ret