Function at 0x48c100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0xd7064
call fcn.00531740
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x546560]
push ebp
push esi
mov esi, dword [0x55e3d4]
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 0x54c490
xor ebx, ebx
mov ecx, 0x5416c8
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 [0x54c0ec]
push eax
mov dword [esp + 0x24], 0x6b800
call fcn.004867e0
mov ecx, dword [0x54c0e8]
push ebx
lea edx, [esp + 0x6b848]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00488380
call fcn.004867c0
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 0x48c25a
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 0x48c2a5
mov ecx, ebp
call fcn.00412670
mov eax, dword [esi - 8]
mov ecx, ebp
push eax
call fcn.00405530
test eax, eax
je 0x48c2a5
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 [0x546564]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48c2fe
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x48c2fe
mov edx, dword [esp + 0xd705c]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48c349
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x48c349
push esi
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd7064
ret