Function at 0x4c55b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5996a8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6121d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
add ecx, 0x30
mov dword [ebp - 0x78], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
call fcn.004abb60
lea eax, [ebp - 0x44]
mov dword [ebp - 4], ebx
push eax
mov edx, str._CLRv_
lea ecx, [ebp - 0x5c]
call fcn.004b5880
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4c5638
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push 0x4c5580
push 4
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
movzx eax, word [ebp + 8]
mov esi, dword [ebp - 0x64]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4c5805
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x4c57f6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x4c57c4
test eax, eax
je 0x4c57c4
mov byte [ebp - 0x60], 0
add eax, ecx
push dword [ebp - 0x60]
mov dword [ebp - 0x74], 0
push eax
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.004c9960
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x84]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
sub edi, esi
push eax
push 1
push 0x11
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push edi
mov edi, dword [ebp - 0x60]
push esi
push dword [edi + 0xc]
call fcn.0056f940
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004c3fd0
mov ecx, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4c5751
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
je 0x4c5776
lea ecx, [ebp - 0x74]
call fcn.004c8840
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c582c
push 0x5e91b4
lea ecx, [ebp - 0x2c]
call fcn.004ab630
mov eax, dword [ebp - 0x18]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4c579d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004c8840
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c582c
push 0x5e91b4
lea ecx, [ebp - 0x2c]
call fcn.004ab630
mov eax, dword [ebp - 0x18]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4c57eb
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004abec0
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c582c
push 0x5e91b4
lea ecx, [ebp - 0x2c]
call fcn.004ab630
jmp 0x4c5812
push 0x5e91b4
lea ecx, [ebp - 0x2c]
call fcn.004ab630
mov eax, dword [ebp - 0x18]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4c582c
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004abec0
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x4c5841
inc ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.004abec0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00540c56
mov esp, ebp
pop ebp
ret 0xc