Function at 0x4c48a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69e325
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x748068]
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 ebx, ecx
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
jne 0x4c48e6
xor al, al
jmp 0x4c4c82
lea esi, [ebx + 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4c4904
mov eax, dword [esi]
test eax, eax
je 0x4c4904
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, 1
jne 0x4c4aa9
lea ecx, [ebx + 8]
call fcn.00405c90
test al, al
jne 0x4c4aa6
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
mov ecx, ebx
push dword [ebp + 8]
push eax
call fcn.004c5390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405c90
test al, al
je 0x4c495f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ce0
jmp 0x4c4b4f
push 4
mov dword [ebp - 0x14], 0
call fcn.0064fb19
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push 0x80
push 3
push 1
push SysReAllocString
push eax
lea ecx, [ebp - 0x14]
call fcn.00455b40
test al, al
jne 0x4c49f8
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4c49e1
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4c49cf
test eax, eax
je 0x4c49cf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.0064fde3
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ce0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4c4b4f
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.00455d20
test al, al
jne 0x4c4a35
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4c4a27
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4c4a27
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c4a27
mov dword [edi], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00455b00
jmp 0x4c49e1
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
push ebx
call fcn.0043a630
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
push ebx
push dword [eax + 8]
call fcn.00455c30
test al, al
je 0x4c4a81
cmp dword [ebp - 0x18], ebx
jne 0x4c4a81
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00455b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ce0
jmp 0x4c4c63
lea ecx, [ebp - 0x14]
call fcn.00455cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00455b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ce0
jmp 0x4c4b4f
mov eax, dword [ebx + 4]
cmp eax, 2
jne 0x4c4b4f
cmp dword [ebx + 0x28], 0
je 0x4c4b4f
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4c4ad7
mov eax, dword [esi]
test eax, eax
je 0x4c4ad7
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
call fcn.00405ca0
push eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4c4b37
push eax
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4c4b37
push dword [ebp - 0x3c]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4c4b37
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4c4c25
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
test esi, esi
je 0x4c4b4f
mov eax, dword [esi]
test eax, eax
je 0x4c4b48
push eax
call edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4c4b6a
mov eax, dword [esi]
test eax, eax
je 0x4c4b6a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
mov eax, dword [0x756760]
test al, 1
jne 0x4c4ba3
or eax, 1
mov dword [0x756760], eax
mov byte [ebp - 4], 6
mov dword [0x756764], 0
call fcn.004b31e0
push 0x6ba7c0
call fcn.0064fdce
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [0x756764]
mov ebx, 0x400000
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + 0x44]
test eax, eax
cmovne ebx, eax
call fcn.00405ca0
push eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4c4bef
mov byte [ebp - 4], 0
test esi, esi
je 0x4c4beb
mov eax, dword [esi]
test eax, eax
je 0x4c4be4
push eax
call edi
mov dword [ebp - 0x14], 0
xor bl, bl
jmp 0x4c4c65
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4c4bd3
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4c4bd3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4c4c25
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4c4bd3
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
call fcn.0043a630
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [eax + 8]
call fcn.00651d10
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
test esi, esi
je 0x4c4c63
mov eax, dword [esi]
test eax, eax
je 0x4c4c5c
push eax
call edi
mov dword [ebp - 0x14], 0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4c4c80
mov eax, dword [esi]
test eax, eax
je 0x4c4c79
push eax
call edi
mov dword [ebp - 0x1c], 0
mov al, bl
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.0064fb08
mov esp, ebp
pop ebp
ret 0xc