Function at 0x4b6b25
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x50b793
call fcn.004ebe6f
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], esi
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 0x1c], ebx
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
call fcn.004edc70
add esp, 0xc
mov dword [ebp - 0x420], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x4b6d64
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4b6b94
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x428]
push eax
call fcn.004b371f
add esp, 0xc
test eax, eax
js 0x4b6d64
mov edi, dword [ebp - 0x428]
cmp edi, 0x400
jg 0x4b6bed
push edi
call fcn.004b7cc5
pop ecx
test al, al
je 0x4b6bed
mov eax, edi
call fcn.004ec300
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x4b6bff
push edi
lea ecx, [ebp - 0x430]
call fcn.004b483b
mov esi, dword [ebp - 0x430]
push 3
push edi
push dword [ebp - 0x424]
push eax
call fcn.004b4bdc
mov dword [ebp - 0x424], eax
test eax, eax
je 0x4b6d5e
push 0x60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x428], edi
test edi, edi
jne 0x4b6c59
push 2
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x428], eax
test edi, edi
jne 0x4b6c59
call fcn.004b4a9b
mov ebx, eax
jmp 0x4b6d32
push dword [ebp - 0x42c]
push dword [ebp - 0x434]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x434], eax
test eax, eax
jne 0x4b6c80
call fcn.004b4a9b
jmp 0x4b6d25
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x4b6c76
push dword [ebp - 0x434]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x424], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x4b6cb3
mov ebx, 0x8007000e
jmp 0x4b6d27
push ecx
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.004b4897
jmp 0x4b6cd9
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
je 0x4b6cac
mov eax, dword [ebp - 0x424]
push eax
push dword [ebp - 0x42c]
push eax
push dword [ebp - 0x420]
call fcn.004b7dea
mov eax, dword [ebp - 0x420]
add esp, 0x10
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.004b69e3
mov ebx, eax
test edi, edi
je 0x4b6d32
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x4b6d56
lea ecx, [ebp - 0x420]
call fcn.004b5659
jmp 0x4b6d56
push esi
mov esi, dword [esi]
call fcn.004eb8b8
pop ecx
test esi, esi
jne 0x4b6d4d
mov eax, ebx
jmp 0x4b6d8d
mov ebx, dword [ebp - 0x420]
lea eax, [ebp - 0x41c]
cmp ebx, eax
je 0x4b6d84
lea ecx, [ebp - 0x420]
call fcn.004b5659
jmp 0x4b6d84
push esi
mov esi, dword [esi]
call fcn.004eb8b8
pop ecx
test esi, esi
jne 0x4b6d7b
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.004ebdc1
ret 0x10