Function at 0x4bc470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c748
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5ff1d4]
xor eax, ebp
mov dword [ebp - 0x10], 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 - 0x74], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.004a4df0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
mov edx, str._CLRv_
lea ecx, [ebp - 0x58]
call fcn.004ab990
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4bc4f8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004a5150
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 0x4bc440
push 4
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
movzx eax, word [ebp + 8]
mov esi, dword [ebp - 0x60]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4bc6bf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x4bc6b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4bc67e
test eax, eax
je 0x4bc67e
mov byte [ebp - 0x5c], 0
add eax, ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x70], 0
push eax
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.004c0810
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x80]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x70]
sub edi, esi
push eax
push 1
push 0x11
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push edi
mov edi, dword [ebp - 0x5c]
push esi
push dword [edi + 0xc]
call fcn.00562cb0
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.004bae90
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4bc60b
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x59a43c]
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
je 0x4bc630
lea ecx, [ebp - 0x70]
call fcn.004bf6f0
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4bc6e6
push 0x5d843c
lea ecx, [ebp - 0x28]
call fcn.004a48c0
mov eax, dword [ebp - 0x14]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4bc657
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a5150
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004bf6f0
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4bc6e6
push 0x5d843c
lea ecx, [ebp - 0x28]
call fcn.004a48c0
mov eax, dword [ebp - 0x14]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4bc6a5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a5150
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4bc6e6
push 0x5d843c
lea ecx, [ebp - 0x28]
call fcn.004a48c0
jmp 0x4bc6cc
push 0x5d843c
lea ecx, [ebp - 0x28]
call fcn.004a48c0
mov eax, dword [ebp - 0x14]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4bc6e6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a5150
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4bc6fb
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.004a5150
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 - 0x10]
xor ecx, ebp
call fcn.00533fc6
mov esp, ebp
pop ebp
ret 0xc