Function at 0x4f6990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dc5d
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.00426620
mov eax, dword [0x54a2f8]
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
push 0x534768
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4f6d8c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4f6d8c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4f6d8c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, esi
mov edi, eax
call fcn.004bd130
test eax, eax
je 0x4f6a38
mov eax, dword [esi + 0x14]
inc eax
push eax
call fcn.00425a0b
mov ebx, eax
add esp, 4
mov edx, esi
mov dword [ebp - 0x1020], ebx
mov ecx, ebx
call fcn.004bd170
mov edi, eax
jmp 0x4f6a54
lea eax, [edi + 1]
push eax
call fcn.00425a0b
push edi
mov ebx, eax
push esi
push ebx
mov dword [ebp - 0x1020], ebx
call fcn.004310c0
add esp, 0x10
mov byte [ebx + edi], 0
call fcn.004f6740
push 0x10
call fcn.004259cd
push 0x18
mov dword [0x5ace50], eax
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004259cd
add esp, 8
mov dword [ebp - 0x1024], eax
mov dword [ebp - 4], 0
mov ecx, eax
push 0
call fcn.004a7490
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [0x5ace50]
mov esi, dword [ebp - 0x1020]
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
call fcn.004f3550
add esp, 4
mov edx, eax
cmp byte [esi], 0
mov edi, esi
mov dword [ebp - 0x1018], edx
je 0x4f6d75
nop
mov al, byte [edi]
cmp al, 0x20
je 0x4f6ae2
cmp al, 9
je 0x4f6ae2
cmp al, 0xd
je 0x4f6ae2
cmp al, 0xa
jne 0x4f6ae5
inc edi
jmp 0x4f6ad0
mov cl, byte [edi]
test al, al
je 0x4f6d6f
cmp al, 0x2f
jne 0x4f6b37
cmp byte [edi + 1], al
jne 0x4f6b37
mov al, byte [edi + 2]
add edi, 2
cmp al, 0xd
je 0x4f6d66
cmp al, 0xa
je 0x4f6d66
test al, al
je 0x4f6d6f
push edx
push edi
xor edx, edx
xor ecx, ecx
call fcn.004f3260
mov edx, dword [ebp - 0x1018]
add edi, eax
add esp, 8
mov al, byte [edi]
cmp al, 0xd
jne 0x4f6b06
jmp 0x4f6d60
mov dword [ebp - 0x101c], 0
cmp al, 0x40
jne 0x4f6b53
mov cl, byte [edi + 1]
inc edi
mov dword [ebp - 0x101c], 1
mov dword [ebp - 0x1024], edi
cmp cl, 0x20
je 0x4f6b8d
nop
cmp cl, 9
je 0x4f6b8d
cmp cl, 0x3d
je 0x4f6b8d
cmp cl, 0x2c
je 0x4f6b8d
push edx
push edi
xor edx, edx
xor ecx, ecx
call fcn.004f3260
mov cl, byte [edi + eax]
add edi, eax
mov edx, dword [ebp - 0x1018]
add esp, 8
cmp cl, 0x20
jne 0x4f6b60
mov byte [edi], 0
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4f6b90
cmp al, 9
je 0x4f6b90
cmp al, 0x3d
je 0x4f6b90
cmp al, 0x2c
je 0x4f6b90
mov dword [ebp - 0x1014], edi
mov esi, edi
cmp al, 0xd
je 0x4f6bda
cmp al, 0xa
je 0x4f6bda
test al, al
je 0x4f6be8
push edx
push edi
xor edx, edx
xor ecx, ecx
call fcn.004f3260
mov edx, dword [ebp - 0x1018]
add edi, eax
add esp, 8
mov dword [ebp - 0x1014], edi
mov al, byte [edi]
cmp al, 0xd
jne 0x4f6bb0
test al, al
je 0x4f6be8
mov byte [edi], 0
inc edi
mov dword [ebp - 0x1014], edi
cmp dword [ebp - 0x101c], 0
je 0x4f6d42
mov ebx, dword [ebp - 0x1024]
push ebx
call fcn.004f36c0
push str.languageid
push ebx
call fcn.004f3680
add esp, 0xc
test eax, eax
jne 0x4f6d52
xor ebx, ebx
mov dword [ebp - 0x101c], ebx
cmp byte [esi], bl
je 0x4f6c7f
mov edi, ebx
push 0xffffffffffffffff
mov edx, 0x2c
mov ecx, esi
call fcn.004f3080
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4f6c3f
mov byte [ebx], 0
push 0x10
push 0
push esi
call fcn.00438c1c
mov dword [ebp + edi*4 - 0x1010], eax
add esp, 0xc
inc edi
test ebx, ebx
je 0x4f6c6d
lea esi, [ebx + 1]
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4f6c6a
cmp al, 9
jne 0x4f6c25
inc esi
jmp 0x4f6c60
mov dword [ebp - 0x101c], edi
mov edi, dword [ebp - 0x1014]
mov ebx, dword [ebp - 0x101c]
mov esi, dword [0x5ace50]
push 0
push ecx
push 0
push ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1014], esi
call fcn.004a71f0
test eax, eax
jne 0x4f6cf1
push 0x10
call fcn.004259cd
mov esi, eax
push 0x18
mov dword [ebp - 0x1014], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004259cd
add esp, 8
mov dword [ebp - 0x1028], eax
mov dword [ebp - 4], 1
mov ecx, eax
push 0
call fcn.004a7490
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [0x5ace50]
mov dword [esi + 0xc], eax
mov dword [0x5ace50], esi
cmp ebx, 1
jb 0x4f6d5a
jne 0x4f6d01
cmp dword [ebp - 0x1010], 0
je 0x4f6d5a
xor ecx, ecx
mov dword [esi], ebx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00425a0b
mov esi, dword [0x5ace50]
mov ecx, eax
lea eax, [ebx*4]
push eax
lea eax, [ebp - 0x1010]
push eax
push ecx
mov dword [esi + 4], ecx
call fcn.004310c0
add esp, 0x10
mov ebx, esi
jmp 0x4f6d60
push ecx
mov ecx, dword [ebx + 8]
push esi
push dword [ebp - 0x1024]
call fcn.004a7350
mov ebx, dword [0x5ace50]
jmp 0x4f6d60
mov ebx, dword [ebp - 0x1014]
mov edx, dword [ebp - 0x1018]
cmp byte [edi], 0
jne 0x4f6ad0
mov esi, dword [ebp - 0x1020]
push esi
call fcn.004259c8
add esp, 4
xor ecx, ecx
call fcn.004f6960
mov eax, 1
jmp 0x4f6d8e
xor eax, eax
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.004259b7
mov esp, ebp
pop ebp
ret