Function at 0x4c1270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593e68
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6071d4]
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.004a99e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
mov edx, str._CLRv_
lea ecx, [ebp - 0x58]
call fcn.004b06d0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4c12f8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004a9d40
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 0x4c1240
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 0x4c14bf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x4c14b0
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 0x4c147e
test eax, eax
je 0x4c147e
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.004c5620
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.0056a220
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.004bfc90
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4c140b
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a143c]
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
je 0x4c1430
lea ecx, [ebp - 0x70]
call fcn.004c4500
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c14e6
push 0x5df834
lea ecx, [ebp - 0x28]
call fcn.004a94b0
mov eax, dword [ebp - 0x14]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4c1457
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a9d40
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004c4500
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c14e6
push 0x5df834
lea ecx, [ebp - 0x28]
call fcn.004a94b0
mov eax, dword [ebp - 0x14]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4c14a5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a9d40
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c14e6
push 0x5df834
lea ecx, [ebp - 0x28]
call fcn.004a94b0
jmp 0x4c14cc
push 0x5df834
lea ecx, [ebp - 0x28]
call fcn.004a94b0
mov eax, dword [ebp - 0x14]
mov ebx, 0xffffffe5
cmp eax, 8
jb 0x4c14e6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a9d40
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4c14fb
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.004a9d40
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.0053b526
mov esp, ebp
pop ebp
ret 0xc